var xmlhttp,alerted
try {
	xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")
} catch (e) {
	try {
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
	} catch (E) {
		alert("请安装Microsofts XML parsers")
	}
}
if (!xmlhttp && !alerted) {
	try {
		xmlhttp = new XMLHttpRequest();
	} catch (e) {
		alert("您的浏览器不支持XMLHttpRequest对象,请升级");
	}
}
function getClock()
{
	if (xmlhttp) {
		xmlhttp.Open("GET","/include/logininfo.php",false);
		xmlhttp.onreadystatechange=RSchange;
		xmlhttp.send(null);
	}
}
function RSchange()
{
	if (xmlhttp.readyState==4)
	document.all["includehead"].innerHTML=xmlhttp.responseText;
}
getClock()
