function tick() {
  try {
    var b=getTickBody();
    var a=zXmlHttp.createRequest();
    a.open("post","/tick.ashx",true);
    a.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
    a.onreadystatechange=function(){
      var bOK = false;
      if(a.readyState==4) {
        if(a.status==200) {bOK = (a.responseText == "OK");}
        if(bOK) {startTick();} else {document.location = "/Logout.ashx";}
      }
    };
    a.send(b);
  } catch(e) { }
}
function startTick() { try {setTimeout("tick()",60000);} catch(e) {} }
