document.writeln("<SCRIPT language=javascript>");
document.writeln("todayDate = new Date();");
document.writeln("date = todayDate.getDate();");
document.writeln("month= todayDate.getMonth() +1;");
document.writeln("year= todayDate.getYear();");
document.writeln("document.write(\"&nbsp;&nbsp;\")");
document.writeln("if(navigator.appName == \"Netscape\")");
document.writeln("{");
document.writeln("	document.write(1900+year);");
document.writeln("	document.write(\"年\");");
document.writeln("	document.write(month);");
document.writeln("	document.write(\"月\");");
document.writeln("	document.write(date);");
document.writeln("	document.write(\"日\");");
document.writeln("	}");
document.writeln("if(navigator.appVersion.indexOf(\"MSIE\") != -1)");
document.writeln("{");
document.writeln("document.write(year);");
document.writeln("document.write(\"年\");");
document.writeln("document.write(month);");
document.writeln("document.write(\"月\");");
document.writeln("document.write(date);");
document.writeln("document.write(\"日\");");
document.writeln("document.write(\"&nbsp;\")");
document.writeln("}");
document.writeln("if (todayDate.getDay() == 5) document.write(\"星期五\")");
document.writeln("if (todayDate.getDay() == 6) document.write(\"星期六\")");
document.writeln("if (todayDate.getDay() == 0) document.write(\"星期日\")");
document.writeln("if (todayDate.getDay() == 1) document.write(\"星期一\")");
document.writeln("if (todayDate.getDay() == 2) document.write(\"星期二\")");
document.writeln("if (todayDate.getDay() == 3) document.write(\"星期三\")");
document.writeln("if (todayDate.getDay() == 4) document.write(\"星期四\")");
document.writeln("<\/SCRIPT>")