
<!--                                                 
calendar = new Date();                                                 
day = calendar.getDay();                                                 
month = calendar.getMonth();                                                 
date = calendar.getDate();                                                 
year = calendar.getYear();                                                 
if (year< 100) year = 1900 + year;                                                 
cent = parseInt(year/100);                                                 
g = year % 19;                                                 
k = parseInt((cent - 17)/25);                                                 
i = (cent - parseInt(cent/4) - parseInt((cent - k)/3) + 19*g + 15) % 30;                                                 
i = i - parseInt(i/28)*(1 - parseInt(i/28)*parseInt(29/(i+1))*parseInt((21-g)/11));                                                 
j = (year + parseInt(year/4) + i + 2 - cent + parseInt(cent/4)) % 7;                                                 
l = i - j;                                                 
emonth = 3 + parseInt((l + 40)/44);                                                 
edate = l + 28 - 31*parseInt((emonth/4));                                                 
emonth--;    
var dayname = new Array ("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六");                                                 
document.write(dayname[day]+" ");  
var monthname = 
new Array ("01/","02/","03/","04/","05/","06/","07/","08/","09/","10/","11/","12/" );                                                 
document.write(year +"/");                                                 
document.write(monthname[month]);                                                 
document.write(date + "");                                                 
                                               
// January(1月份节日，以下同。)                                                 
//if ((month == 0) && (date == 1)) document.write("<font color=#0000ff>元旦");
//if ((month == 2) && (date == 8)) document.write("<font color=#0000ff>妇女节");                                                 
//if ((month == 4) && (date == 1)) document.write("<font color=#0000ff>劳动节");                                                 
//if ((month == 4) && (date == 4)) document.write("<font color=#0000ff>青年节");                                                 
//if ((month == 5) && (date == 1)) document.write("<font color=#0000ff>儿童节");
//if ((month == 7) && (date == 1)) document.write("<font color=#0000ff>建军节");
//if ((month == 9) && (date == 1)) document.write("<font color=#0000ff>国庆节");                                               
//if ((month == 11) && (date == 25)) document.write("<font color=#0000ff>圣诞节");                                                  
//document.write("</font>");                                                 
                                          
var time_t = new Date();                                                 
var hour = time_t.getHours();
var Minute=time_t.getMinutes();
document.write(" "+hour+":"+Minute);                                                 
//6:00-11：00：早上 ，11:00-13:00:中午，13:00-17：00：下午，17:00-19：00傍晚，19:00-22：00：晚上，22:00-6：00夜深了//
//if ((hour >6) && (hour <= 11))  document.write("<font color=#0000ff>早上好");
//if ((hour >11) && (hour <= 13))  document.write("<font color=#0000ff>中午好");
//if ((hour >13) && (hour <= 17)) document.write("<font color=#0000ff>下午好");
//if ((hour >17) && (hour <=19)) document.write("<font color=#0000ff>傍晚好");
//if ((hour >19) && (hour <=22)) document.write("<font color=#0000ff>晚上好");
//if ((hour >22) && (hour<=24)) document.write("<font color=#0000ff>夜深了");
//if ((hour >0) && (hour<=6)) document.write("<font color=#0000ff>凌晨了");
//document.write("</font>");                                         
document.write("<br>");                                            
//-->                                                 
