function banner() {
document.write( "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='915px' height='142px'>");
document.write( "<param name=movie value='img/banner.swf'>");
document.write( "<param name=quality value=high />");
document.write( "<param name=quality value =high>");
document.write( "<param name=wmode value=transparent />");
document.write( "<param name=movie value=flash.php />");
document.write( "<embed src='img/banner.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='915px' height='142px' wmode=transparent></embed>");
document.write( "</embed>");
document.write( "</object>");
}

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


function checkform()
{
	with(document.all.New)
	{
		if(productname.value=="")				
		{
			alert("ÇëÌîÐ´²úÆ·Ãû³Æ!");
			bianhao.focus();
			return;
		}

		if(pinpai.value=="")				
		{
			alert("ÇëÌîÐ´Æ·ÅÆ!");
			pinpai.focus();
			return;
		}

		if(xinghao.value=="")				
		{
			alert("ÇëÌîÐ´ÐÍºÅ!");
			xinghao.focus();
			return;
		}

		if(yanse.value=="")				
		{
			alert("ÇëÌîÐ´ÑÕÉ«!");
			yanse.focus();
			return;
		}

		submit();
	}
}
