	//to get the current date
	var today = new Date();
	var hours = today.getHours();
	var minutes = today.getMinutes();
	var seconds = today.getSeconds();
	var timeValue = "<FONT COLOR=white>" + ((hours >12) ? hours -12 :hours); timeValue += ((minutes < 10) ? "<BLINK><FONT COLOR=white>:</FONT></BLINK>0" : "<BLINK><FONT COLOR=white>:</FONT></BLINK>") + minutes+"</FONT></FONT>";
	timeValue += (hours >= 12) ? "<FONT COLOR=white>PM</FONT>" : "<FONT COLOR=white>AM</FONT>";
	 
	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("<font color=RED>星期日","<font color=white>星期一","<font color=white>星期二","<font color=white>星期三","<font color=white>星期四","<font color=white>星期五","<font color=white>星期六"); document.write(today.getYear(),"<font color=red>年","<font color=white>",today.getMonth()+1,"<font color=red>月","<font color=white>",today.getDate(),"<font color=red>日 </FONT>",d[today.getDay()+1]," ",timeValue); 

/*	var today = new Date();
	var hours = today.getHours();
	var minutes = today.getMinutes();
	var seconds = today.getSeconds();
	var timeValue = "<FONT COLOR=white>" + ((hours >12) ? hours -12 :hours); timeValue += ((minutes < 10) ? "<BLINK><FONT COLOR=white>:</FONT></BLINK>0" : "<BLINK><FONT COLOR=white>:</FONT></BLINK>") + minutes+"</FONT></FONT>";
	timeValue += (hours >= 12) ? "<FONT COLOR=white>pm</FONT>" : "<FONT COLOR=white>am</FONT>";

	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("<font color=RED>Sunday","<font color=white>Monday","<font color=white>Tuesday","<font color=white>Wednesday","<font color=white>Thursday","<font color=white>Friday","<font color=white>Saturday");
*/
	//document.write(d[today.getDay()+1]," ","<font color=white>",today.getMonth()+1,"/","<font color=white>",today.getDate(),"/",today.getYear()," </FONT>",timeValue);
	
