home.php is a page it is working on?
both pages have the script attached and added to the onload event ion the body tag:
<script type="text/javascript" src="scripts/timeout.js"></script>
<body onFocus="resetLogoutTime()" onclick="resetLogoutTime()">
looks like it should be working, i cant say why it is not. Double check in the browsers error log to see if there are any errors occurring that will help determine why it is not working.