/*
'	Document:	输出动态系统时间
'	Surport	:	www.easway.net
'	Author	:	亿万互联开发组
'	Update	:	2007-11-26(修正firefox支持)
*/
var enabled = 0; today = new Date();
var day; var date;
if(today.getDay()==0) day = "星期日 ";
if(today.getDay()==1) day = "星期一 ";
if(today.getDay()==2) day = "星期二 ";
if(today.getDay()==3) day = "星期三 ";
if(today.getDay()==4) day = "星期四 ";
if(today.getDay()==5) day = "星期五 ";
if(today.getDay()==6) day = "星期六 ";
var years = today.getYear();
months = today.getMonth() + 1; months = ( (months < 10) ? "0" : "" ) + months;
dates = today.getDate(); dates = ( (dates < 10) ? "0" : "" ) + dates;
document.write( years+ "年" +months + "月" + dates + "日 " + day ); document.write("<span id='clock'></span>");
var now,hours,minutes,seconds,timeValue;
function showtime(){
	now = new Date();
	hours = now.getHours();
	minutes = now.getMinutes();
	seconds = now.getSeconds();
	timeValue  = hours + ":";
	timeValue += ((minutes < 10) ? "0" : "") + minutes + ":";
	timeValue += ((seconds < 10) ? "0" : "") + seconds + "";
	document.getElementById("clock").innerHTML = timeValue;
	setTimeout("showtime()",100);
}
showtime();