var day="";
var month="";
var ampm="";
var ampmhour="";
var myweekday="";
var year="";
mydate=new Date();
myweekday=mydate.getDay();
mymonth=mydate.getMonth()+1;
myday= mydate.getDate();
myyear= mydate.getYear();
year=(myyear > 200) ? myyear : 1900 + myyear;
if(myweekday == 0)
weekday=" 星期日 ";
else if(myweekday == 1)
weekday=" 星期一 ";
else if(myweekday == 2)
weekday=" 星期二 ";
else if(myweekday == 3)
weekday=" 星期三 ";
else if(myweekday == 4)
weekday=" 星期四 ";
else if(myweekday == 5)
weekday=" 星期五 ";
else if(myweekday == 6)
weekday=" 星期六 ";
document.write("<table width='780' border='0' align='center' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td>");
document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"780\" height=\"143\"><param name=\"movie\" value=\"images/top.swf\" /><param name=\"quality\" value=\"high\" /><embed src=\"images/top.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"780\" height=\"143\"></embed></object>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><table width='780' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr>");
document.write("<td><a href='default.aspx'><img src='images/main_02.jpg' border='0'></a></td>");
document.write("<td><a href='classList.aspx?classID=ead'><img src='images/main_03.jpg' border='0'></a></td>");
document.write("<td><a href='classList.aspx?classID=eah'><img src='images/main_04.jpg' border='0'></a></td>");
document.write("<td><a href='guestbook.aspx'><img src='images/main_05.jpg'  border='0'></a></td>");
document.write("<td><a href='classList.aspx?classID=eab'><img src='images/main_06.jpg'  border='0'></a></td>");
document.write("<td><a href='classList.aspx?classID=eag'><img src='images/main_07.jpg'  border='0'></a></td>");
document.write("<td background='images/main_08.jpg' align='center' width='215'><div style='color:#ffffff;margin-top:3px;'>");
document.write(year+"年"+mymonth+"月"+myday+"日"+weekday);
document.write("</div></td>");
document.write("</tr>");
document.write("</table></td>");
document.write("</tr>");
document.write("</table>");