function GetTime()
{
var req = new ActiveXObject("Microsoft.XMLHTTP");
req.open('GET', 'http://localhost/webadmin/DynamicTemplate/TimePage.aspx', true);
req.send();
req.onreadystatechange = function ()
{
if (req.readyState==4 && req.status == 200)
{
var num = timexx(req.responseText,"2010-05-01");
document.getElementById("djs").innerText = num;
}
}
}