refreshSession();
setInterval("refreshSession()", 60000);

var xmlHttp;

//The purpose of the function is to solve the problem of creating different XMLHTTP objects for different browsers.
function GetXmlHttpObject()
{
try
{ // Opera 8.0+, Firefox, Safari
xmlHttp = new XMLHttpRequest();
}
catch (e)
{ // Internet Explorer Browsers
try {
//IE 6 +
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e)
{ //IE 5.5
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
}
return xmlHttp;
}


function stateChanged()
{ 
if (xmlHttp.readyState==4)
{ 
	
	//alert('xmlHttp.responseText: ' + xmlHttp.responseText);
} 


}

function refreshSession()
{
//The user selected a car maker from the menu, so lets rock with some AJAX!!!



//create object via function call
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
{
alert ("Your browser does not support AJAX!");
return;
}



var date = new Date();
var url="/applicants/adminapplicants/app_refreshSession.asp?var=" + date.getMonth + "." + date.getDate + "." + date.getYear + "." + date.getHours + "." + date.getMinutes + "." + date.getSeconds;

//make request, specify response function and send request
xmlHttp.open("GET",url,true); 
xmlHttp.onreadystatechange=stateChanged;
xmlHttp.send(null);

}// JavaScript Document