function flash(fm,w,h) {
	var _data ="";

	_data+="<object classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 ";
	_data+="codebase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0 width="+w+" height="+h+">";
	_data+="	<param name=allowScriptAccess value=sameDomain>";
	_data+="	<param name=movie value=\""+fm+"\">";
	_data+="	<param name=quality value=high>";
	_data+="	<param name=wmode value=transparent>";
	_data+="	<param name=menu value=false>";
	_data+="	<param name=wmode value=transparent/>";
	_data+="	<embed src=\""+fm+"\"";
	_data+="	quality=high pluginspage=http://www.macromedia.com/go/getflashplayer ";
	_data+="	type=application/x-shockwave-flash wmode=transparent allowScriptAccess=sameDomain width="+w+" height="+h+"></embed>";
	_data+="</object>";

	document.write(_data);
}
function duibi(){
if(document.form1.vid.value==""){
   alert("用户名不能为空!");
   return false;
}
else{
    document.form1.action="/House/House_show.asp";
	document.form1.submit();
}
}
function check()
{

	if (document.theForm.name.value=="")
	{
		alert("用户名不能为空!");
		document.theForm.name.focus();
		return false;
	}
	if (document.theForm.Pwd.value=="")
	{
		alert("登陆密码不能为空!");
		document.theForm.Pwd.focus();
		return false;
	}
	if (document.theForm.Pwd2.value=="")
	{
		alert("确认密码不能为空!");
		document.theForm.Pwd2.focus();
		return false;
	}
	if (document.theForm.zsname.value=="")
	{
		alert("真实姓名不能为空!");
		document.theForm.zsname.focus();
		return false;
	}
	if (document.theForm.dwname.value=="")
	{
		alert("公司名称不能为空!");
		document.theForm.dwname.focus();
		return false;
	}
	if (document.theForm.dianhua.value=="")
	{
		alert("联系电话不能为空!");
		document.theForm.dianhua.focus();
		return false;
	}
	if (document.theForm.shouji.value=="")
	{
		alert("手机不能为空!");
		document.theForm.shouji.focus();
		return false;
	}
	if (document.theForm.dizhi.value=="")
	{
		alert("公司地址不能为空!");
		document.theForm.dizhi.focus();
		return false;
	}
	/*if (document.theForm.mail.value=="")
	{
		alert("邮箱不能为空!");
		document.theForm.mail.focus();
		return false;
	}*/
	if (document.theForm.gongsiid.value=="")
	{
		alert("所属公司不能为空!");
		document.theForm.gongsiid.focus();
		return false;
	}
	if (document.theForm.content.value=="")
	{
		alert("公司介绍不能为空!");
		document.theForm.content.focus();
		return false;
	}
	return true;
}