tick();
function tick() {
   var today;
   today = new Date();
   //Clock.innerHTML = today.toLocaleString().replace(/(年|月)/g, "/").replace(/日/, "");
   //Clock.innerHTML = today.toLocaleString();
   //Clock.innerHTML += "<BR>" + today.getYear() + "年" + (today.getMonth() + 1 ) + "月" + today.getDate() + "日　" + today.getHours() +":" + today.getMinutes() + ":" + today.getSeconds();
   Clock.innerHTML = today.getYear() + "年" + (today.getMonth() + 1 ) + "月" + today.getDate() + "日　" + FormatNumber(today.getHours(),2) +":" + FormatNumber(today.getMinutes(),2) + ":" + FormatNumber(today.getSeconds(),2);
   window.setTimeout("tick()", 1000);
}
//格式化数字函数FormatNumber
//在指定数字前面加零 ，补零
//蔡仁豪　2005年6月15日
//srcStr:输入的源字符串
//nAfterBit：输出的的位数
//返回指定位数的字符串，
function FormatNumber(srcStr,nAfterBit){
	var srcStr,nAfterBit,resultStr;
	srcStr += "";
	strLen = srcStr.length;

	resultStr = srcStr;

	while (strLen<nAfterBit)
	{
		resultStr = "0" + resultStr;
		strLen ++;
	}
	return resultStr;
} 