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