  
var now = new Date();
//var ds = 0;
function tick(){
//var hours,minutes,seconds,ap;
//var intHours,intMinutes,intSeconds;
//var today = new Date();
//today.setTime(today.getTime()+ds);
//intHours=today.getHours();
//intMinutes=today.getMinutes();
//intSeconds=today.getSeconds();
//hours=intHours+":";
//if(intMinutes<10){minutes="0"+intMinutes+":";}
//else{minutes=intMinutes+":";}
//if(intSeconds<10){seconds="0"+intSeconds;}
//else{seconds=intSeconds;}
//timeString=hours+minutes+seconds;
//document.getElementById("Clock").innerHTML=timeString;
//window.setTimeout("tick();",100);
}

function createtime(){
var strDate;
var strMonth;
var strYear;
strYear=now.getYear();
if(strYear<=1000){strYear=strYear+1900;}
if(now.getDate()<10){strDate = "0" + now.getDate();}
else{strDate = now.getDate();}
if(now.getMonth()+1<10){strMonth = now.getMonth()+1;strMonth = "0" +strMonth;}
else{strMonth = now.getMonth()+1;}

var grt= new Date("05/01/2010 00:00:00");
now.setTime(now.getTime()+250);
days = (grt - now) / 1000 / 60 / 60 / 24;
dnum = Math.floor(days);
hours = (grt - now) / 1000 / 60 / 60 - (24 * dnum);
hnum = Math.floor(hours);
if(String(hnum).length ==1 ){hnum = "0" + hnum;}
minutes = (grt - now) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum);
mnum = Math.floor(minutes);
if(String(mnum).length ==1 ){mnum = "0" + mnum;}
seconds = (grt - now) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum);
snum = Math.round(seconds);
if(String(snum).length ==1 ){snum = "0" + snum;}
document.getElementById("timeDate").innerHTML = Number(dnum)+1;
//document.getElementById("exDate").innerHTML = strYear+"/"+strMonth+"/"+strDate;
setInterval("createtime()",3600000);
}
//tick();
//createtime();
