function KeepAliveCallback()
{
	try
	{
		var strURL = strAppRoot + "/alive.aspx";
		var oRand = document.getElementById('NavigationHistoryRand');
		if (oRand != null)
		{
			strURL += "?rand=" + oRand.value;
		}
		var xml = new ActiveXObject("Microsoft.XMLHTTP");
		xml.Open( "GET", strURL, false );
		xml.Send()
	}
	catch(ex)
	{
	}
}

var iTimer;

function KeepAlive()
{
	var intMinutesToRefreshRand = 1;
	iTimer = window.setInterval(KeepAliveCallback, intMinutesToRefreshRand * 60 * 1000);
}
