today=new Date();
var hours = today.getHours();
var minutes = today.getMinutes();
var seconds = today.getSeconds();
var timeValue = "<FONT COLOR=white>" + ((hours >12) ? hours -12 :hours); timeValue += ((minutes < 10) ? "<BLINK><FONT COLOR=white>:</FONT></BLINK>0" : "<BLINK><FONT COLOR=white>:</FONT></BLINK>") + minutes+"</FONT></FONT>";
timeValue += (hours >= 12) ? "<FONT COLOR=white><I><B>pm</B></I></FONT>" : "<FONT COLOR=white><B><I>am</I></B></FONT>";
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i]  }
var d=new initArray("<font color=white>星期日","星期一","星期二","星期三","星期四","星期五","星期六"); 
document.write(today.getYear(),"<font color=#FFFFFF>年</font>",today.getMonth()+1,"<font color=#FFFFFF>月</font>",today.getDate(),"<font color=#FFFFFF>日</font>","    ",d[today.getDay()+1]); 