document.write("调用外部JavaScript文件输出的。<br>")
week=new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六")
today= new Date();
weekday =today.getDay();
document.write(today.toLocaleString()+week[weekday]);

