<!--
function sysDate(){
	//today=new Date( y,m,d,h,min,s );
	today = new Date();
	var hour = today.getHours();
	//var minutes = today.getMinutes();
	//var seconds = today.getSeconds();
	var weeks = today.getDay();
	
	var d =new Array('星期日','星期一','星期二','星期三','星期四','星期五','星期六');
	
		//document.write( "〖<a href=date.htm target=_blank>万年历</a>〗&nbsp;" );
		     
		document.write("&nbsp;<font color=blue>",today.getYear(),"年",today.getMonth()+1,"月",today.getDate(),"日</font>&nbsp;")
	
		
		if (weeks==0)
			document.write("<font color=#FF0000>");
		else if (weeks<6)
			document.write("<font color=GREEN>");
		else
			document.write("<font color=#FF0000>");
		
		document.write(d[ weeks ],"</FONT>&nbsp;");     
		
		if (hour < 6)
			{document.write("凌晨好")}
		else if(hour < 12)
		{document.write("上午好")}
		else if(hour < 14)
		{document.write("中午好")}
		else if(hour < 18)
		{document.write("下午好")}
		else if(hour <= 23)
		{document.write("晚上好")}

		
}

sysDate();
	
//-->

