  function chkFormular()
  {
	if(document.Formular.Vorname.value == "")
    {
     alert("Bitte Ihren Vornamen eingeben!");
     document.Formular.Vorname.focus();
     return false;
    }
   if(document.Formular.Nachname.value == "")
    {
     alert("Bitte Ihren Nachnamen eingeben!");
     document.Formular.Nachname.focus();
     return false;
    }
   if(document.Formular.Strasse.value == "")
    {
     alert("Bitte Ihre Straße eingeben!");
     document.Formular.Strasse.focus();
     return false;
    }
   if(document.Formular.PLZ.value == "")
    {
     alert("Bitte geben Sie die 5stellige Postleitzahl eingeben!");
     document.Formular.PLZ.focus();
     return false;
     }
   if(document.Formular.Ort.value == "")
	{
	 alert("Bitte geben Sie Ihren Wohnort an!");
	 document.Formular.Ort.focus();
	 return false;
	}
   
   var chkZ = 1;
   for(i=0;i<document.Formular.PLZ.value.length;++i)
     if(document.Formular.PLZ.value.charAt(i) < "0" || document.Formular.PLZ.value.charAt(i) > "9") chkZ = -1;
   if(chkZ == -1)
   {
     alert("Postleitzahl keine Zahl!");
     document.Formular.PLZ.focus();
     return false;
    }
	
// Festnetz Vorwahl Anfang
	if (document.Formular.fonVorwahl.value == "")
	{
		alert ("Vorwahl unbedingt erforderlich!");
		document.Formular.fonVorwahl.focus();
		return false;
	}
	if (document.Formular.fonVorwahl.value.length < 3)
	{
		alert ("Bitte einge gültige Vorwahl eingeben!");
		document.Formular.fonVorwahl.focus();
		return false;		
	}
	
	if(document.Formular.fonVorwahl.value != "")
	{
		var chkZ = 1;
		for(i=0;i<document.Formular.fonVorwahl.value.length;++i)
		if (document.Formular.fonVorwahl.value.charAt(i) != "0" &&
				document.Formular.fonVorwahl.value.charAt(i) != "1" &&
				document.Formular.fonVorwahl.value.charAt(i) != "2" &&
				document.Formular.fonVorwahl.value.charAt(i) != "3" &&
				document.Formular.fonVorwahl.value.charAt(i) != "4" &&
				document.Formular.fonVorwahl.value.charAt(i) != "5" &&
				document.Formular.fonVorwahl.value.charAt(i) != "6" &&
				document.Formular.fonVorwahl.value.charAt(i) != "7" &&
				document.Formular.fonVorwahl.value.charAt(i) != "8" &&
				document.Formular.fonVorwahl.value.charAt(i) != "9")
				chkZ = - 1;	
				
		if(chkZ == -1)
		{
			alert("Vorwahl nicht korrekt!");
			document.Formular.fonVorwahl.focus();
			return false;			
		} 
		
	//0170, 0171, 0175, 0160, 0151, 01511, 0172, 0173, 0174, 0162, 0152, 01520, 0177, 0178, 0163, 0157, 0176, 0179, 0159
		if (document.Formular.fonVorwahl.value ==  "0170") 
		{
			alert ("'0170' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0171") 
		{
			alert ("'0171' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0175") 
		{
			alert ("'0175' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0160") 
		{
			alert ("'0160' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0151") 
		{
			alert ("'0151' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "01511") 
		{
			alert ("'01511' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0172") 
		{
			alert ("'0172' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0173") 
		{
			alert ("'0173' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0174") 
		{
			alert ("'0174' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0162") 
		{
			alert ("'0162' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0152") 
		{
			alert ("'0152' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "01520") 
		{
			alert ("'01520' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0177") 
		{
			alert ("'0177' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0178") 
		{
			alert ("'0178' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0163") 
		{
			alert ("'0163' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0157") 
		{
			alert ("'0157' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0176") 
		{
			alert ("'0176' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0179") 
		{
			alert ("'0179' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
		else if (document.Formular.fonVorwahl.value == "0159") 
		{
			alert ("'0159' ist keine gültige Festnetzvorwahl");
			document.Formular.fonVorwahl.focus();
			return false;			
		}
 		
	}
// Festnetz Vorwahl Ende

// Festnetz Rest Anfang
	if (document.Formular.fonRest.value == "")
	{
		alert ("Telefonnummer unbedingt erforderlich!");
		document.Formular.fonRest.focus();
		return false;
	}
	if (document.Formular.fonRest.value.length < 3)
	{
		alert ("Bitte einge gültige Telefonnummer eingeben!");
		document.Formular.fonRest.focus();
		return false;		
	}
	if(document.Formular.fonRest.value != "")
	{
		var chkZ = 1;
		for(i=0;i<document.Formular.fonRest.value.length;++i)
		if (document.Formular.fonRest.value.charAt(i) != "0" &&
				document.Formular.fonRest.value.charAt(i) != "1" &&
				document.Formular.fonRest.value.charAt(i) != "2" &&
				document.Formular.fonRest.value.charAt(i) != "3" &&
				document.Formular.fonRest.value.charAt(i) != "4" &&
				document.Formular.fonRest.value.charAt(i) != "5" &&
				document.Formular.fonRest.value.charAt(i) != "6" &&
				document.Formular.fonRest.value.charAt(i) != "7" &&
				document.Formular.fonRest.value.charAt(i) != "8" &&
				document.Formular.fonRest.value.charAt(i) != "9")
				chkZ = - 1;			
		if(chkZ == -1)
		{
			alert("Telefonnummer nicht korrekt!");
			document.Formular.fonRest.focus();
			return false;			
		} 
	}
// Festnetz Rest Ende

// Fax Vorwahl Anfang
	if (document.Formular.faxVorwahl.value == "")
	{
		alert ("Faxvorwahl unbedingt erforderlich!");
		document.Formular.faxVorwahl.focus();
		return false;
	}
	if (document.Formular.faxVorwahl.value.length < 3)
	{
		alert ("Bitte einge gültige Faxvorwahl eingeben!");
		document.Formular.faxVorwahl.focus();
		return false;		
	}
	if(document.Formular.faxVorwahl.value != "")
	{
		var chkZ = 1;
		for(i=0;i<document.Formular.faxVorwahl.value.length;++i)
		if (document.Formular.faxVorwahl.value.charAt(i) != "0" &&
				document.Formular.faxVorwahl.value.charAt(i) != "1" &&
				document.Formular.faxVorwahl.value.charAt(i) != "2" &&
				document.Formular.faxVorwahl.value.charAt(i) != "3" &&
				document.Formular.faxVorwahl.value.charAt(i) != "4" &&
				document.Formular.faxVorwahl.value.charAt(i) != "5" &&
				document.Formular.faxVorwahl.value.charAt(i) != "6" &&
				document.Formular.faxVorwahl.value.charAt(i) != "7" &&
				document.Formular.faxVorwahl.value.charAt(i) != "8" &&
				document.Formular.faxVorwahl.value.charAt(i) != "9")
				chkZ = - 1;			
		if(chkZ == -1)
		{
			alert("Vorwahl nicht korrekt!");
			document.Formular.faxVorwahl.focus();
			return false;			
		} 
	//0170, 0171, 0175, 0160, 0151, 01511, 0172, 0173, 0174, 0162, 0152, 01520, 0177, 0178, 0163, 0157, 0176, 0179, 0159
		if (document.Formular.faxVorwahl.value == "0170") 
		{
			alert ("'0170' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0171") 
		{
			alert ("'0171' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0175") 
		{
			alert ("'0175' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0160") 
		{
			alert ("'0160' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0151") 
		{
			alert ("'0151' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "01511") 
		{
			alert ("'01511' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0172") 
		{
			alert ("'0172' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0173") 
		{
			alert ("'0173' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0174") 
		{
			alert ("'0174' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0162") 
		{
			alert ("'0162' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0152") 
		{
			alert ("'0152' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "01520") 
		{
			alert ("'01520' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0177") 
		{
			alert ("'0177' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0178") 
		{
			alert ("'0178' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0163") 
		{
			alert ("'0163' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0157") 
		{
			alert ("'0157' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0176") 
		{
			alert ("'0176' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0179") 
		{
			alert ("'0179' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
		if (document.Formular.faxVorwahl.value == "0159") 
		{
			alert ("'0159' ist keine gültige Faxvorwahl");
			document.Formular.faxVorwahl.focus();
			return false;			
		}
	}
// Fax Vorwahl Ende

// Fax Rest Anfang
	if (document.Formular.faxRest.value == "")
	{
		alert ("Faxnummer unbedingt erforderlich!");
		document.Formular.faxRest.focus();
		return false;
	}
	if (document.Formular.faxRest.value.length < 3)
	{
		alert ("Bitte einge gültige Faxnummer eingeben!");
		document.Formular.faxRest.focus();
		return false;		
	}
	if(document.Formular.faxRest.value != "")
	{
		var chkZ = 1;
		for(i=0;i<document.Formular.faxRest.value.length;++i)
		if (document.Formular.faxRest.value.charAt(i) != "0" &&
				document.Formular.faxRest.value.charAt(i) != "1" &&
				document.Formular.faxRest.value.charAt(i) != "2" &&
				document.Formular.faxRest.value.charAt(i) != "3" &&
				document.Formular.faxRest.value.charAt(i) != "4" &&
				document.Formular.faxRest.value.charAt(i) != "5" &&
				document.Formular.faxRest.value.charAt(i) != "6" &&
				document.Formular.faxRest.value.charAt(i) != "7" &&
				document.Formular.faxRest.value.charAt(i) != "8" &&
				document.Formular.faxRest.value.charAt(i) != "9")
				chkZ = - 1;			
		if(chkZ == -1)
		{
			alert("Faxnummer nicht korrekt!");
			document.Formular.faxRest.focus();
			return false;			
		} 
	}
// Fax Rest Ende


  }
