﻿todayDate = new Date();
date = todayDate.getDate();
month= todayDate.getMonth() +1;
year= todayDate.getYear();
document.write("&nbsp;");
if(navigator.appName == "Netscape")
{
 document.write(1900+year);
 document.write("年");
 document.write(month);
 document.write("月");
 document.write(date);
 document.write("日");
 document.write("&nbsp;")
}
if(navigator.appVersion.indexOf("MSIE") != -1)
{
document.write(year);
document.write("年");
document.write(month);
document.write("月");
document.write(date);
document.write("日");
document.write("&nbsp;")
}
if (todayDate.getDay() == 5) document.write("星期五　明天可以安心的睡个懒觉啦！");
if (todayDate.getDay() == 6) document.write("星期六　明天可以带上家人去郊游啦！");
if (todayDate.getDay() == 0) document.write("星期日　明天又要回到工作岗位啦！");
if (todayDate.getDay() == 1) document.write("星期一　明天要准备好工作好报告哦！");
if (todayDate.getDay() == 2) document.write("星期二　明天是比较难熬的一天哦！");
if (todayDate.getDay() == 3) document.write("星期三　明天还要继续艰苦奋战哦！");
if (todayDate.getDay() == 4) document.write("星期四　明天可是最轻松的一天哦！");







