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:
<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.