var timeFuncHandler;function keepAlive(maxKeepAlive,interval){if(isNaN(maxKeepAlive)||isNaN(interval)||maxKeepAlive<=0){timeFuncHandler=self.setTimeout("displaySessionExpired()",3540000);return true}if(!(isMac()&&isInternetExplorer())){var xmlhttp=false;var x;/*@cc_on @*//*@if (@_jscript_version >= 5) 
      // JScript gives us Conditional compilation, we can cope with old IE versions. 
      // and security blocked creation of the objects. 
      try {
         xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); 
      } catch (e) {
         try {
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); 
         } catch (E) {
            xmlhttp = false; 
         } 
      } 
      @end @*/if(!xmlhttp&&typeof XMLHttpRequest!="undefined"){xmlhttp=new XMLHttpRequest()}try{xmlhttp.open("POST","/utilities/keepAliveViaSessAttr.jsp");xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4){if(xmlhttp.status==200){x="true";var respStr=xmlhttp.responseText;if(respStr!=null){if(respStr.indexOf("isKeepAlive=true")!=-1){timeFuncHandler=self.setTimeout("keepAlive("+(maxKeepAlive-interval)+","+interval+")",interval)}else{timeFuncHandler=self.setTimeout("displaySessionExpired()",3540000)}}else{timeFuncHandler=self.setTimeout("displaySessionExpired()",3540000)}}else{x="false"}}};xmlhttp.send(null)}catch(e){timeFuncHandler=self.setTimeout("displaySessionExpired()",3540000);return"false"}return x}}