document.writeln("");
document.writeln("<script language=\"javaScript\">");
document.writeln("<!--");
document.writeln("now = new Date(),hour = now.getHours()");
document.writeln("if(hour < 6){document.write(\"凌晨好！\")}");
document.writeln("else if (hour < 9){document.write(\"早上好！\")}");
document.writeln("else if (hour < 12){document.write(\"上午好！\")}");
document.writeln("else if (hour < 14){document.write(\"中午好！\")}");
document.writeln("else if (hour < 17){document.write(\"下午好！\")}");
document.writeln("else if (hour < 19){document.write(\"傍晚好！\")}");
document.writeln("else if (hour < 22){document.write(\"晚上好！\")}");
document.writeln("else {document.write(\"夜里好！\")}");
document.writeln("\/\/ -->");
document.writeln("<\/script>");
document.writeln("<script language=\"JavaScript\">");
document.writeln("<!---");
document.writeln("today=new Date();");
document.writeln("var hours = today.getHours();");
document.writeln("var minutes = today.getMinutes();");
document.writeln("var seconds = today.getSeconds();");
document.writeln("var timeValue = \"<FONT COLOR=black>\" + ((hours >12) ? hours -12 :hours); timeValue += ((minutes < 10) ? \"<BLINK><FONT COLOR=black>:<\/FONT><\/BLINK>0\" : \"<BLINK><FONT COLOR=black>:<\/FONT><\/BLINK>\") + minutes+\"<\/FONT><\/FONT>\";");
document.writeln("timeValue += (hours >= 12) ? \"<FONT COLOR=black>pm<\/FONT>\" : \"<FONT COLOR=black>am<\/FONT>\";");
document.writeln("function initArray(){");
document.writeln("this.length=initArray.arguments.length");
document.writeln("for(var i=0;i<this.length;i++)");
document.writeln("this[i+1]=initArray.arguments[i] }");
document.writeln("var d=new initArray(\"<font color=RED>星期日\",\"<font color=black>星期一\",\"<font color=black>星期二\",\"<font color=black>星期三\",\"<font color=black>星期四\",\"<font color=black>星期五\",\"<font color=RED>星期六\"); document.write(\"<font color=black>\",today.getMonth()+1,\"<font color=black>月\",\"<font color=black>\",today.getDate(),\"<font color=black>日 <\/FONT>\",d[today.getDay()+1],\" \",timeValue); \/\/-->");
document.writeln("<\/script>")

