function yanzheng(){
	//验证姓别
  if (document.getElementById("fristname").value==""){
  
  window.alert("fristname not fristname");
  document.getElementById("fristname").focus();
  return false;
  }
  
  //验证姓名
  if (document.getElementById("lastname").value==""){
  
  window.alert("fristname not lastname");
  document.getElementById("lastname").focus();
  return false;
  }
  
  //验证公司名称
  if (document.getElementById("companyname").value==""){
  
  window.alert("fristname not companyname");
  document.getElementById("companyname").focus();
  return false;
  }
  
  //验证公司地址
  if (document.getElementById("address").value==""){
  
  window.alert("fristname not address");
  document.getElementById("address").focus();
  return false;
  }
  
   //验证电话
  if (document.getElementById("phone").value==""){
  
  window.alert("fristname not phone");
  document.getElementById("phone").focus();
  return false;
  }
  
  //城市
  if (document.getElementById("city").value==""){
  
  window.alert("fristname not phone");
  document.getElementById("city").focus();
  return false;
  }
  
  //国家
  if (document.getElementById("country").value==""){
  
  window.alert("fristname not country");
  document.getElementById("country").focus();
  return false;
  }
  
  //街道
  if (document.getElementById("state").value==""){
  
  window.alert("fristname not state");
  document.getElementById("state").focus();
  return false;
  }
  
  
   //验证内容
  if (document.getElementById("zip").value==""){
  
  window.alert("fristname not zip");
  document.getElementById("zip").focus();
  return false;
  }
  
  //验证E-mail
  if (document.getElementById("email").value==""){
  
  window.alert("fristname not email");
  document.getElementById("email").focus();
  return false;
  }
	
	}