document.write("<table border=\"0\" width=\"500\" cellspacing=\"0\" height=\"30\">");
document.write(" <tr>");
document.write("   <td >");

　　var timedate= new Date("July 3,2010"); 
　　var times="浙大光仪86级毕业20周年同学会"; 
　　var now = new Date(); 
　　var date = timedate.getTime() - now.getTime(); 
　　var time = Math.floor(date / (1000 * 60 * 60 * 24)); 
　　if (time >= 0) ;
document.write("<font style='font-size:12px;line-height:18px;color:#000000'>离"+times+"举行还有:</font><font style='color:#F5A100;line-height:32px;font-family:Verdana;font-size:24px;'><b>"+time +"</b></font><font style='font-size:12px;line-height:18px;color:#000000'>天</font>");


document.write("   </td>");
document.write("   <td align=\"center\">");

today=new Date();
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments[i] }
var d=new initArray(
"星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六");
document.write(
"<font style='color: #F5A100; font-size: 13px;font-weight: bold;font-family:Verdana; '>",
today.getYear(),"</font>","<font style='color: #000000; font-size: 12px; '>年</font>",
"<font style='color: #F5A100; font-size: 13px;font-weight: bold;font-family:Verdana; '>",
today.getMonth()+1,"</font>","<font style='color: #000000; font-size: 12px;'>月</font>",
"<font style='color: #F5A100; font-size: 13px;font-weight: bold;font-family:Verdana; '>",
today.getDate(),"</font>","<font style='color: #000000; font-size: 12px;'>日 ",
d[today.getDay()+1],
"</font>" ); 

document.write("   </td>");
document.write(" </tr>");
document.write("</table>");

