today=new Date(); 
var hours = today.getHours(); 
var minutes = today.getMinutes();
var seconds = today.getSeconds();
var timeValue = "<FONT COLOR=#333333>" + ((hours >12) ? hours -12 :hours); timeValue += ((minutes < 10) ? "<BLINK><FONT COLOR=RED>:</FONT></BLINK>0" : "<BLINK><FONT COLOR=#333333>:</FONT></BLINK>") + minutes+"</FONT></FONT>"; 
timeValue += (hours >= 12) ? "" : "";
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=#333333>星期日","<font color=#333333>星期一","<font color=#333333>星期二","<font color=#333333>星期三","<font color=#333333>星期四","<font color=#333333>星期五","<font color=#333333>星期六"); document.write("<font color=#333333>",today.getYear(),"<font color=#333333>年","<font color=#333333>",today.getMonth()+1,"<font color=#333333>月","<font color=#333333>",today.getDate(),"<font color=#333333>日 </FONT>",d[today.getDay()+1]," ",timeValue);
