
function sessionWindow() {
	win1 = window.open('sessionRefresh.cfm','refresh','width=500,height=200,top=50,left=50,resizable');
	return win1;
}

var increment = 10000;
var timeOutWindow = null;
function watchTime() {

	expire_time -= increment;
	if (expire_time <= 0) {
		document.forms.everpresent.quit.value='yes';
		document.forms.everpresent.submit();
	}
	if (expire_time < thresh) {
		if (!timeOutWindow)
		timeOutWindow = sessionWindow();
		
	}
	timer = setTimeout('watchTime()',increment);
}

