function mfk()
{ 
   if(document.form1.name.value=="") {
	document.form1.name.focus();
	document.form1.name.select;
    alert("姓名不能空！");
	return false;
  }
  if(document.form1.sfz.value=="") {
	document.form1.sfz.focus();
	document.form1.sfz.select;
    alert("身份证号不能为空！");
	return false;
  }
   if(document.form1.tel.value=="") {
	document.form1.tel.focus();
	document.form1.tel.select;
    alert("联系电话不能为空！");
	return false;
  }
  if(document.form1.comname.value=="") {
	document.form1.comname.focus();
	document.form1.comname.select;
    alert("单位全称不能为空！");
	return false;
  }
  
   if(document.form1.pwd.value=="") {
	document.form1.pwd.focus();
	document.form1.pwd.select;
    alert("注册密码不能空！");
	return false;
  }
   if(document.form1.pwd.value.length<5) {
	document.form1.pwd.focus();
	document.form1.pwd.select;
    alert("密码不能小于6位！");
	return false;
  }
  if(document.form1.pwd1.value=="") {
	document.form1.pwd1.focus();
	document.form1.pwd1.select;
    alert("确认密码不能为空！");
	return false;
  }
  if(document.form1.pwd1.value!=document.form1.pwd1.value) {
	document.form1.pwd1.focus();
	document.form1.pwd1.select;
    alert("确认密码不能正确！");
	return false;
  }
   if(document.form1.comfr.value=="") {
	document.form1.comfr.focus();
	document.form1.comfr.select;
    alert("企业法人不能为空！");
	return false;
  }
  if(document.form1.comyb.value=="") {
	document.form1.comyb.focus();
	document.form1.comyb.select;
    alert("邮编不能为空！");
	return false;
  }
  
  if(document.form1.comtel.value=="") {
	document.form1.comtel.focus();
	document.form1.comtel.select;
    alert("联系电话不能为空！");
	return false;
  }
   if(document.form1.email.value=="") {
	document.form1.email.focus();
	document.form1.email.select;
    alert("电子信箱不能为空！");
	return false;
  }
form1.submit();
return true;
}


//-->

