document.writeln("<script type=\"text\/javascript\">");
document.writeln("<!--");
document.writeln("function startTime() ");
document.writeln("{ ");
document.writeln("var today=new Date() ");
document.writeln("var years=today.getFullYear(); ");
document.writeln("var months=today.getMonth(); ");
document.writeln("var d=today.getDate() ");
document.writeln("var h=today.getHours() ");
document.writeln("var m=today.getMinutes() ");
document.writeln("var s=today.getSeconds() ");
document.writeln("\/\/ add a zero in front of numbers<10 ");
document.writeln("months=months+1 ");
document.writeln("months=checkTime(months) ");
document.writeln("d=checkTime(d) ");
document.writeln("m=checkTime(m) ");
document.writeln("s=checkTime(s) ");
document.writeln("var weekday=new Array(7) ");
document.writeln("weekday[0]=\"星期日\" ");
document.writeln("weekday[1]=\"星期一\" ");
document.writeln("weekday[2]=\"星期二\" ");
document.writeln("weekday[3]=\"星期三\" ");
document.writeln("weekday[4]=\"星期四\" ");
document.writeln("weekday[5]=\"星期五\" ");
document.writeln("weekday[6]=\"星期六\" ");
document.writeln("var w=weekday[today.getDay()] ");
document.writeln("document.getElementById(\'ShowTime\').innerHTML=\"&nbsp;当前时间:\"+years+\"年\"+months+\"月\"+d+\"日 \"+w+\" \"+h+\":\"+m+\":\"+s; ");
document.writeln("t=setTimeout(\'startTime()\',500) ");
document.writeln("} ");
document.writeln("function checkTime(i) ");
document.writeln("{ ");
document.writeln("if (i<10) ");
document.writeln("{i=\"0\" + i} ");
document.writeln("return i ");
document.writeln("} ");
document.writeln("-->");
document.writeln("<\/script>");
document.writeln("<html>");
document.writeln("<head>");
document.writeln("<\/head>");
document.writeln("<body onload=\"startTime()\"> ");
document.writeln("<div id=\"ShowTime\"><\/div>");
document.writeln("<\/body> ");
document.writeln("<\/html>")