var arrAjaxKeepAlive = new Array();

//--------------------------------------------------------------------
// initiate_ajax()
//--------------------------------------------------------------------
function initiate_ajaxKeepAlive(){
 if(window.XMLHttpRequest){
  arrAjaxKeepAlive[0] = new XMLHttpRequest();
 }
 else if(window.ActiveXObject){
  arrAjaxKeepAlive[0] = new ActiveXObject("MSXML2.XMLHTTP");
 }
}

//--------------------------------------------------------------------
// keepAlive()
//--------------------------------------------------------------------
function keepAlive(strData) {
 initiate_ajaxKeepAlive();
 arrAjaxKeepAlive[0].open("POST","/ajax/keep_alive.asp",true); 
 arrAjaxKeepAlive[0].setRequestHeader("Content-Type","application/x-www-form-urlencoded");
 arrAjaxKeepAlive[0].onreadystatechange = function() {
  if (arrAjaxKeepAlive[0].readyState==4) {
   if (arrAjaxKeepAlive[0].status==200) { 
    void(0);
   }
   else{
    //alert(arrAjaxKeepAlive[0].responseText);
   }
  }
 }
 strData = strData.replace(/ /g,"%20");
 arrAjaxKeepAlive[0].send(strData);
 return false ;
}