Code:
<SCRIPT LANGUAGE=javascript>
<!--
	//The purpose of this code is to save the user's work when they
	//have been inactive for more than one hour and forty-five minutes.
	var minutes = 60
	var TimeOut = ((105 * minutes) * 1000)
	//Saves the user's work
	function SaveUsersInfo(){
		alert("subbed")
		document.form.submit()
	}
	//This is the timer
	self.setTimeout('SaveUsersInfo()', TimeOut)
	//Variables to capture events
	var IE4 = (document.all)
	var NS4 = (document.layers)
	if (NS4) document.captureEvents(Event.KEYPRESS)
	//Capture keyboard and mouse click events
	document.onkeypress = ClearTimer
	document.onclick = ClearTimer
	//Resets the timer after every keyboard or mouse click event
	function ClearTimer(){
		self.clearTimeout('SaveUsersInfo()')
		self.setTimeout('SaveUsersInfo()', TimeOut)
		//alert(TimeOut)
	}

//-->
</SCRIPT>