function alertLogout() {
	timerID = setTimeout("logOut()", 60000);
	Modalbox.show('Your session will timeout in one minute unless you <input type=\'button\' value=\'click here\' onclick=\'activateSession()\' />.', {title: 'Session Timeout', width: 300});
}

function activateSession() {
   if(timerID) {
      clearTimeout(timerID);
   }
   new Ajax.Request('/resource/chocolates/ajax/aj_session.cfm', { onSuccess: function(transport) { return; } });
   Modalbox.hide();
}

function logOut() {
	Modalbox.hide();
	location.href = '/';
}
