function kmdate()
{
	tmpDate=new Date();date=tmpDate.getDate();month=tmpDate.getMonth()+1;year=tmpDate.getYear();document.write(year);document.write("年");document.write(month);document.write("月");document.write(date);document.write("日");document.write("&nbsp;&nbsp;");myArray=new Array(6);myArray[0]="星期日 "
	myArray[1]="星期一 "
	myArray[2]="星期二 "
	myArray[3]="星期三 "
	myArray[4]="星期四 "
	myArray[5]="星期五 "
	myArray[6]="星期六 "
	weekday=tmpDate.getDay();
	document.write(myArray[weekday]);
}

function checkss(so,n)
{
	var preSo = "有什么烦恼？还不快来搜一搜！";
	if (n == 0 && so.value == preSo )
	{
		so.value="";
		return true;
	}
	if (n == 1)
	{
		if(so.value == preSo )
		{
			so.value="";
		}
		return true;
	}
	if (n == 2 && so.value == "")
	{
		so.value = preSo;
		return true;
	}	
	return true;
}
function setheight()
{
	var rightheight=document.getElementById("right").clientHeight;
	var leftheight=document.getElementById("left").clientHeight;     
	if (rightheight>leftheight)
	{
		document.getElementById("left").style.height=rightheight-5+"px";
		return true;
	}	
	return true;
}
function fahuo()
{
	document.writeln("<div style=\"color:#FF6600; text-align:center;\">部分发货记录</div>");
document.writeln("	<marquee height=\"150px\" style=\"overflow:hidden;\" scrolldelay=\"200\" onMouseOut=\"this.start()\" onMouseOver=\"this.stop()\"  direction=\"up\">	");
document.writeln("尹先生　先汇款　　EE6**883568CS<br>");
document.writeln("楚先生　先汇款　　EG0**783190CS<br>");
document.writeln("黄先生　货到付款　678**14531<br>");
document.writeln("周小姐　货到付款　678**14586<br>");
document.writeln("刘小姐　货到付款　678**49240<br>");
document.writeln("刘先生　货到付款　678**49030<br>");
document.writeln("张先生　货到付款　678**49063<br>");
document.writeln("杨先生　先汇款　　EE7**083225CS<br>");
document.writeln("王小姐　货到付款　678**40044<br>");
document.writeln("贺小姐　货到付款　502**47493<br>");
document.writeln("陈小姐　支付宝　　502**47495<br>");
document.writeln("简小姐　先汇款　　502**47496<br>");
document.writeln("陈小姐　货到付款　676**85230<br>");
document.writeln("袁小姐　货到付款　676**85252<br>");
document.writeln("蔡先生　货到付款　676**85333<br>");
document.writeln("代先生　先汇款　　EE7**061595CS<br>");
document.writeln("陈小姐　货到付款　640**16100<br>");
document.writeln("叶小姐　先汇款　　100**2815843<br>");
document.writeln("</marquee>");
}
