<!-- Hide ShowUp 是定义显示时钟的位置 <td id="ShowUp"></td>
<!-- <body onLoad="startclock()"> 载入函数startclock()是执行位置
  var timerID = null
  var timerRunning = false
function MakeArray(size) 
{
	this.length = size;
	for(var i = 1; i <= size; i++)
	{
		this[i] = "";
	}
	return this;
}

function stopclock (){
	if(timerRunning)
  	clearTimeout(timerID);
  	timerRunning = false
}

function showtime () {
	var now = new Date();
	var year = now.getYear();
	var month = now.getMonth() + 1;
	var date = now.getDate();
	var hours = now.getHours();
	var minutes = now.getMinutes();
	var seconds = now.getSeconds();
	var day = now.getDay();
	Day = new MakeArray(7);
	Day[0]="星期天";
	Day[1]="星期一";
	Day[2]="星期二";
	Day[3]="星期三";
	Day[4]="星期四";
	Day[5]="星期五";
	Day[6]="星期六";
	var timeValue = "";
	timeValue += year + "年";
	timeValue += ((month < 10) ? "0" : "") + month + "月";
	timeValue += date + "日  ";
	timeValue += (Day[day]) + "  ";
	timeValue += (hours < 12) ? "上午 " : "下午 ";
	timeValue += ((hours <= 12) ? hours : hours - 12);
	timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
	timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
	document.getElementById('DateTime').innerHTML =timeValue;
	timerID = setTimeout("showtime()",1000);
	timerRunning = true
}

function startclock () {
	stopclock();
	showtime()
}

function DrawImage(ImgD)
{ 
	var image=new Image(); 
	image.src=ImgD.src; 
	if(image.width>0 && image.height>0)
	{ 
		flag=true; 
		if(image.width/image.height>= 80/60)
		{ 
			if(image.width>80)
			{ 
				ImgD.width=80; 
				ImgD.height=(image.height*80)/image.width; 
			}
			else
			{ 
				ImgD.width=image.width; 
				ImgD.height=image.height; 
			} 
		ImgD.alt=image.width+"x"+image.height; 
		} 
		else
		{ 
			if(image.height>60)
			{ 
				ImgD.height=60; 
				ImgD.width=(image.width*60)/image.height; 
			}
			else
			{ 
				ImgD.width=image.width; 
				ImgD.height=image.height; 
			} 
			ImgD.alt=image.width+"x"+image.height; 
		} 
	} 
}
//-->


