var skaRq=null;
function keepAlive() {
    if(!skaRq) {
	try {
	skaRq=new XMLHttpRequest();
	} catch(e) {
	skaRq=new ActiveXObject("Microsoft.XMLHTTP");
	}
	skaRq.onreadystatechange=keepAliveH;
    }
    skaRq.open("GET","/ska.php?uid="+g_uid+"&rnd="+Math.random(),true);
    skaRq.send(null);
}
function keepAliveH() {
    if(skaRq.readyState==4) {
	try {
	document.getElementById('skaClk').innerHTML=skaRq.responseText;
	} catch(e) {}
	skaRq=null;
	setTimeout(keepAlive,60000);
    }
}

