function chkFormular()
{
   if(document.Formular.Firma.value == "")
  {
   alert("Please fill in the firm field!");
   document.Formular.Firma.focus();
   return false;
  }
 if(document.Formular.Adresse.value == "")
  {
   alert("Please fill in your address!");
   document.Formular.Adresse.focus();
   return false;
  }
 if(document.Formular.Kontaktperson.value == "")
  {
   alert("Please fill in the name of your contact person!");
   document.Formular.Kontaktperson.focus();
   return false;
  }
 if(document.Formular.Telephon.value == "")
  {
   alert("Please fill in your phone number!");
   document.Formular.Telephon.focus();
   return false;
  }
 if(document.Formular.Fax.value == "")
  {
   alert("Please fill in your fax number!");
   document.Formular.Fax.focus();
   return false;
  }
 if(document.Formular.EMail.value == "")
  {
   alert("Please fill in your e-mail address!");
   document.Formular.EMail.focus();
   return false;
  }
 if(document.Formular.EMail.value.indexOf('@') == -1)
  {
   alert("Please fill in a correct e-mail address!");
   document.Formular.EMail.focus();
   return false;
  }
   if(document.Formular.EMail.value.indexOf('.') == -1)
  {
   alert("Please fill in a correct e-mail address!");
   document.Formular.EMail.focus();
   return false;
  }
if(document.Formular.EMail.value == "@.")
  {
   alert("Please fill in a correct e-mail address!");
   document.Formular.EMail.focus();
   return false;
  }
 if(document.Formular.Branche.value == "")
  {
   alert("Please fill in the branch your firm is active in!");
   document.Formular.Branche.focus();
   return false;
  }  
}
