function CheckPost()
{
 if(document.myform.Company.value=="")
 {
  alert("Please enter the Company Name, thanks!");
  document.myform.Company.focus();
  return false;
  }
 if(document.myform.Name.value=="")
 {
  alert("Please enter the Contact Name, thanks! ");
  document.myform.Name.focus();
  return false;
  }
 if(document.myform.Add.value=="")
 {
  alert("Please enter Address, thanks! ");
  document.myform.Add.focus();
  return false;
  }
   if(document.myform.Frommail.value=="")
 {
  alert("Please enter the E-mail, thanks! ");
  document.myform.Frommail.focus();
  return false;
  }
  return true;
}