//function will go off after [timeOut] minutes
var timeOut = 55;
setTimeout("warnOfTimeout()",1000 * 60 * timeOut);
//pops up a confirm dialog to alert user of impending timeout and give
//them the option to stay logged in.
function warnOfTimeout(){
	//pop up confirm dialog - a new window:
	//if they click cancel, or do nothing they are logged out.
	//by the new window changing this windows contents to logout.
	open("warning.cfm","Warning","width=200,height=200");
	//reset the timer - this page will be replaced with logout 
	//if they do nothing or click log out button on the child page.
	setTimeout("warnOfTimeout()",1000 * 60 * timeOut);
}