function getFlashObject(flashSrc, objWidth, objHeight, etcParam) {
	var tag = "";
	var baseFlashDir="";
	flashSrc = baseFlashDir + flashSrc;

	if ( etcParam != "" || etcParam != null ) {
		if ( etcParam.substr(0, 1) == "?" )
			flashSrc += etcParam;
		else
			flashSrc += "?" + etcParam;
	}

	tag += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" ";
	tag += "codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" ";
	tag += "width=\"" + objWidth + "\" height=\"" + objHeight + "\">";
	tag += "<param name=\"movie\" value=\"" + flashSrc + "\" />";
	tag += "<param name=\"quality\" value=\"high\" />";
	tag += "<param name=\"wmode\" value=\"transparent\" />";
	tag += "<embed src=\"" + flashSrc + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" ";
	tag += "type=\"application/x-shockwave-flash\" width=\"" + objWidth + "\" height=\"" + objHeight + "\" ";
	tag += "wmode=\"transparent\"></embed>";
	tag += "</object>";

	document.write(tag);
}// JavaScript Document

function Welcome()
{
	
	var nowTime = new Date();
	t = nowTime.getHours();
	t = parseInt(t);
	if(t>=6 && t<= 11)
	{
		document.write("上午：祝您上午工作愉快！");
	} 
	else if(t>=11 && t<= 14)
	{
		document.write("中午：人是铁饭是钢，午餐时间到啦！");
	}
	else if(t>=14 && t<= 19)
	{
		document.write("下午：办公室外透透气，精神好！");
	}
	else if(t>=20 && t<= 23)
	{
		document.write("晚上：结束了一天的疲惫，轻松一下！");
	}
	else if(t>=0 && t<= 5)
	{
		document.write("凌晨：现在夜已深了,您要注意休息！");
	}
}