function chkFormular()
  {
if(document.FormName.NameKunde.value == "")
  {
   alert("Please enter your name!");
   document.FormName.NameKunde.select();
   document.FormName.NameKunde.focus();
   return false;
  }
if(document.FormName.NameKategorie.value != "a" && document.FormName.NameKategorie.value != "a")
 if(document.FormName.NameKategorie.value != "b" && document.FormName.NameKategorie.value != "b")
  if(document.FormName.NameKategorie.value != "c" && document.FormName.NameKategorie.value != "c")
   if(document.FormName.NameKategorie.value != "d" && document.FormName.NameKategorie.value != "d")
    if(document.FormName.NameKategorie.value != "m" && document.FormName.NameKategorie.value != "m")
      if(document.FormName.NameKategorie.value != "s1" && document.FormName.NameKategorie.value != "s1")
      if(document.FormName.NameKategorie.value != "s2" && document.FormName.NameKategorie.value != "s2")
       if(document.FormName.NameKategorie.value != "t1" && document.FormName.NameKategorie.value != "t1")
        if(document.FormName.NameKategorie.value != "t2" && document.FormName.NameKategorie.value != "t2")
	if(document.FormName.NameKategorie.value != "A" && document.FormName.NameKategorie.value != "A")
	 if(document.FormName.NameKategorie.value != "B" && document.FormName.NameKategorie.value != "B")
	  if(document.FormName.NameKategorie.value != "C" && document.FormName.NameKategorie.value != "C")
	   if(document.FormName.NameKategorie.value != "D" && document.FormName.NameKategorie.value != "D")
	    if(document.FormName.NameKategorie.value != "M" && document.FormName.NameKategorie.value != "M")
	      if(document.FormName.NameKategorie.value != "S1" && document.FormName.NameKategorie.value != "S1")
	      if(document.FormName.NameKategorie.value != "S2" && document.FormName.NameKategorie.value != "S2")
	       if(document.FormName.NameKategorie.value != "T1" && document.FormName.NameKategorie.value != "T1")
	        if(document.FormName.NameKategorie.value != "T2" && document.FormName.NameKategorie.value != "T2")
  {
   alert ("Please enter a letter for the category");
   document.FormName.NameKategorie.select();
   document.FormName.NameKategorie.focus();
   return false;
  }
if(isNaN(document.FormName.AnzahlMinuten.value) || document.FormName.AnzahlMinuten.value == "" || document.FormName.AnzahlMinuten.value > 60)
  {
   alert("Please enter the number of minutes!");
   document.FormName.AnzahlMinuten.select();
   document.FormName.AnzahlMinuten.focus();
   return false;
  }
if(document.FormName.PassNachname.value == "")
  {
   alert("Please enter the Last Name (Passenger)!");
   document.FormName.PassNachname.select();
   document.FormName.PassNachname.focus();
   return false;
  }
if(document.FormName.PassVorname.value == "")
  {
   alert("Please enter the First Name (Passenger)!");
   document.FormName.PassVorname.select();
   document.FormName.PassVorname.focus();
   return false;
  }
if(document.FormName.PassStrasse.value == "")
  {
   alert("Please enter the street (Passenger)!");
   document.FormName.PassStrasse.select();
   document.FormName.PassStrasse.focus();
   return false;
  }
if(document.FormName.PassPlz.value == "")
  {
   alert("Please enter the Zip/Post Code (Passenger)");
   document.FormName.PassPlz.select();
   document.FormName.PassPlz.focus();
   return false;
  }
if(document.FormName.PassOrt.value == "")
  {
   alert("Please enter the city (Passenger)!");
   document.FormName.PassOrt.select();
   document.FormName.PassOrt.focus();
   return false;
  }
if(document.FormName.PassTelPrivat.value == "")
  {
   alert("Please enter the private telephone number (Passenger)!");
   document.FormName.PassTelPrivat.select();
   document.FormName.PassTelPrivat.focus();
   return false;
  }
 
if(document.FormName.PassGewicht.value == "" || isNaN(document.FormName.PassGewicht.value)|| document.FormName.PassGewicht.value.length >= 4)
  {
   alert("Please enter the Weight (kg)(Passenger)");
   document.FormName.PassGewicht.select();
   document.FormName.PassGewicht.focus();
   return false;
  }
if(document.FormName.GutNachname.value == "")
  {
   alert("Please enter a Last Name!");
   document.FormName.GutNachname.select();
   document.FormName.GutNachname.focus();
   return false;
  }
if(document.FormName.GutVorname.value == "")
  {
   alert("Please enter a First Name!");
   document.FormName.GutVorname.select();
   document.FormName.GutVorname.focus();
   return false;
  }
if(document.FormName.GutStrasse.value == "")
  {
   alert("Please enter the street!");
   document.FormName.GutStrasse.select();
   document.FormName.GutStrasse.focus();
   return false;
  }
if(document.FormName.GutPlz.value == "")
  {
   alert("Please enter your Zip/Post Code!");
   document.FormName.GutPlz.select();
   document.FormName.GutPlz.focus();
   return false;
  }
if(document.FormName.GutOrt.value == "")
  {
   alert("Please enter your city!");
   document.FormName.GutOrt.select();
   document.FormName.GutOrt.focus();
   return false;
  }
if(document.FormName.GutTelPrivat.value == "")
  {
   alert("Please enter your telephone number!");
   document.FormName.GutTelPrivat.select();
   document.FormName.GutTelPrivat.focus();
   return false;
  }
if ((document.FormName.GutMail.value == "") || (document.FormName.GutMail.value.indexOf('@') == -1) || (document.FormName.GutMail.value.indexOf('.') == -1) )
  {
   alert("Please enter your Email-addresse !");
   document.FormName.GutMail.select();
   document.FormName.GutMail.focus();
   return false;
  }
if(document.FormName.AGB.value != "yes" && document.FormName.AGB.value != "yes")
  {
   alert ("You read and accept the Terms and Conditions? Please enter a 'yes' !");
   document.FormName.AGB.select();
   document.FormName.AGB.focus();
   return false;
  }
if(document.FormName.ruektritt.value != "yes" && document.FormName.ruektritt.value != "yes")
  {
   alert("You read the right to withdraw from the contract according to § 355 BGB.? Please enter a 'yes' !");
   document.FormName.ruektritt.select();
   document.FormName.ruektritt.focus();
   return false;
  }
}
