function checklatin(Target) {
var stringlengh=Target.value.length-1;
var teststring = Target.value;
var ergebnis  = teststring.match(/\W+$/);
var ergebnis2 = teststring.match(/\s$/);
var ergebnis3 = teststring.match(/[.'-_öäüÖÄÜßçñÑ@]$/);
var dokulanguage = document.antrag.dokulanguage.value;
if (ergebnis != null && ergebnis2 == null && ergebnis3 == null )	
	{ 
   switch (dokulanguage) {
    case 'eng'	: alert("Only the following special characters (.-_öäüÖÄÜßçñÑ@) and latin letters (a-z) are allowed in this field."); break;
    case 'esp'	: alert("Aparte de las letras especiales (.-_öäüÖÄÜßçñÑ@) solo es permitido utilizar letras del alphabeto latino (a-z).");  break;
    case 'chn'	: text=String.fromCharCode(26412)+String.fromCharCode(31243)+String.fromCharCode(24207)+String.fromCharCode(19981)+String.fromCharCode(25509)+String.fromCharCode(21463)+String.fromCharCode(19979)+String.fromCharCode(21015)+String.fromCharCode(31526)+String.fromCharCode(21495)+String.fromCharCode(32)+String.fromCharCode(91)+String.fromCharCode(32)+String.fromCharCode(45)+String.fromCharCode(32)+String.fromCharCode(95)+String.fromCharCode(246)+String.fromCharCode(32)+String.fromCharCode(228)+String.fromCharCode(32)+String.fromCharCode(252)+String.fromCharCode(32)+String.fromCharCode(79)+String.fromCharCode(32)+String.fromCharCode(196)+String.fromCharCode(32)+String.fromCharCode(220)+String.fromCharCode(32)+String.fromCharCode(223)+String.fromCharCode(32)+String.fromCharCode(209)+String.fromCharCode(32)+String.fromCharCode(241)+String.fromCharCode(32)+String.fromCharCode(39)+String.fromCharCode(32)+String.fromCharCode(93)+String.fromCharCode(32)+String.fromCharCode(35831)+String.fromCharCode(22312)+String.fromCharCode(36755)+String.fromCharCode(20837)+String.fromCharCode(26639)+String.fromCharCode(20869)+String.fromCharCode(36873)+String.fromCharCode(29992)+String.fromCharCode(25289)+String.fromCharCode(19969)+String.fromCharCode(25991)+String.fromCharCode(23383)+String.fromCharCode(27597); alert(text); break;
    case 'trk'	: alert("Asagidakiler disindaki özel isaretler kullanilamaz ((.-_öäüÖÄÜßçñÑ@) Sadece Latin alfabesindeki isaretleri kullaniniz.");  break;
       default	: alert("Die Eingabe von Sonderzeichen ist bis auf die folgenden Zeichen (.-_öäüÖÄÜßçñÑ@) nicht erlaubt. Bitte verwenden Sie nur Zeichen aus dem lateinischen Zeichensatz."); 
  }
	this.value=""; 
	Target.value=Target.value.substring(0,stringlengh); 
	Target.focus();
	return false;
	}

else {return true;} 

} 

function vnzuvp() 
{
var dokulanguage = document.antrag.dokulanguage.value;
		tarifname = document.antrag.tarifname.value;
		   if(tarifname == "Care Travel" 
		   || tarifname == "Care College" 
		   || tarifname == "Care Au-Pair" 
		   || tarifname == "Care Economy" 
		   || tarifname == "Care Visa Protect" 
		   || tarifname == "Haftpflichtversicherung" 
		   || tarifname == "Care Amerika")
			{ 
				if(		document.antrag.vnngebtag.value 	!= '--' 
					&&  document.antrag.vnngebmonat.value 	!= '--' 
					&&	document.antrag.vnngebjahr.value 	!= '--'
					&&	document.antrag.vnanrede.value		!= ''
					&&	document.antrag.vnvorname.value 	!= ''
					&&  document.antrag.vnname.value		!= '') 
						
						{			document.antrag.vpgebtag.selectedIndex 		= document.antrag.vnngebtag.selectedIndex;
									document.antrag.vpgebmonat.selectedIndex 	= document.antrag.vnngebmonat.selectedIndex;
									document.antrag.vpgebjahr.selectedIndex 	= document.antrag.vnngebjahr.selectedIndex;
									document.antrag.vpanrede.selectedIndex 		= document.antrag.vnanrede.selectedIndex;
									document.antrag.vpvorname.value 			= document.antrag.vnvorname.value;
									document.antrag.vpname.value 				= document.antrag.vnname.value;
									document.antrag.vpalter.value 				= document.antrag.vnnalter.value;

    						switch (dokulanguage) 
							{
								case 'eng'	: alert("The data about the policyholder were filled into the insured person's data"); break;
								case 'esp'	: alert('¡Los datos del contratante fueron tranfesridos a los datos de la persona asegurada!'); break;
								case 'trk'	: alert('Sigortayi yapan kisinin verileri sigortalinin alanina aktarilmistir'); break;
								case 'chn'	: text=String.fromCharCode(33258)+String.fromCharCode(21160)+String.fromCharCode(23558)+String.fromCharCode(30003)+String.fromCharCode(35831)+String.fromCharCode(20154)+String.fromCharCode(30340)+String.fromCharCode(20449)+String.fromCharCode(24687)+String.fromCharCode(25220)+String.fromCharCode(24405)+String.fromCharCode(36827)+String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(20449)+String.fromCharCode(24687)+String.fromCharCode(26639); alert(text); break;
								   default	: alert('Die Daten des Versicherungsnehmers wurden in die Felder der versicherten Person übertragen.'); 
							};				

						};
			};
}

function check_allgemein() {	



var dokulanguage = document.antrag.dokulanguage.value;
if(document.antrag.hv_versicherungsbeginntag.value != "" 
&& document.antrag.hv_versicherungsbeginnmonat.value != "" 
&& document.antrag.hv_versicherungsbeginnjahr.value != "") {
	
var heute = new Date();
var hv_versicherungsbeginntag = document.antrag.hv_versicherungsbeginntag.value
var hv_versicherungsbeginnmonat = document.antrag.hv_versicherungsbeginnmonat.value
var hv_versicherungsbeginnjahr = document.antrag.hv_versicherungsbeginnjahr.value

var maxversicherungsbeginndatum = new Date(heute.getFullYear()+1, heute.getMonth(), heute.getDate());
var hv_versicherungsbeginndatum = new Date(hv_versicherungsbeginnjahr, hv_versicherungsbeginnmonat-1, hv_versicherungsbeginntag);
if(hv_versicherungsbeginndatum.getTime() > maxversicherungsbeginndatum.getTime()) 
	{	
    switch (dokulanguage) 
							{
								case 'eng'	: alert('Der Versicherungsbeginn darf nur ein Jahr in die Zukunft gestellt werden. Bitte warten Sie mit dem Vertragsabschluss bis maximal ein Jahr vor dem Versicherungsbeginn. ['+heute.getDate()+'.'+(heute.getMonth()+1)+'.'+(heute.getFullYear()+1)+'].'); break;
								case 'esp'	: alert('Der Versicherungsbeginn darf nur ein Jahr in die Zukunft gestellt werden. Bitte warten Sie mit dem Vertragsabschluss bis maximal ein Jahr vor dem Versicherungsbeginn. ['+heute.getDate()+'.'+(heute.getMonth()+1)+'.'+(heute.getFullYear()+1)+'].');  break;
								case 'chn'	: text=String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(24320)+String.fromCharCode(22987)+String.fromCharCode(26085)+String.fromCharCode(21482)+String.fromCharCode(33021)+String.fromCharCode(26159)+String.fromCharCode(26410)+String.fromCharCode(26469)+String.fromCharCode(30340)+'1'+String.fromCharCode(24180)+String.fromCharCode(20869)+'.'+String.fromCharCode(24744)+String.fromCharCode(29616)+String.fromCharCode(22312)+String.fromCharCode(30003)+String.fromCharCode(35831)+String.fromCharCode(30340)+String.fromCharCode(26102)+String.fromCharCode(38388)+String.fromCharCode(22826)+String.fromCharCode(26089)+','+String.fromCharCode(35831)+String.fromCharCode(31561)+String.fromCharCode(21040)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(24320)+String.fromCharCode(22987)+String.fromCharCode(26085)+String.fromCharCode(21069)+String.fromCharCode(30340)+'1'+String.fromCharCode(24180)+String.fromCharCode(20869)+String.fromCharCode(20877)+String.fromCharCode(30003)+String.fromCharCode(35831)+String.fromCharCode(27492)+String.fromCharCode(20445)+String.fromCharCode(38505); alert(text); break;
								case 'trk'	: alert('Der Versicherungsbeginn darf nur ein Jahr in die Zukunft gestellt werden. Bitte warten Sie mit dem Vertragsabschluss bis maximal ein Jahr vor dem Versicherungsbeginn. ['+heute.getDate()+'.'+(heute.getMonth()+1)+'.'+(heute.getFullYear()+1)+'].');  break;
								   default	: alert('Der Versicherungsbeginn darf nur ein Jahr in die Zukunft gestellt werden. Bitte warten Sie mit dem Vertragsabschluss bis maximal ein Jahr vor dem Versicherungsbeginn. ['+heute.getDate()+'.'+(heute.getMonth()+1)+'.'+(heute.getFullYear()+1)+'].'); 
							  };				
	document.antrag.hv_versicherungsbeginnjahr.className = 'phpfehlermeldung'; 
	document.antrag.hv_versicherungsbeginnjahr.focus();
	return false;    
	}; 
};

if(document.antrag.vnvorname.value.indexOf(",") != "-1") 	{document.antrag.vnvorname.value = document.antrag.vnvorname.value.replace(/\,/g,"\;"); }
if(document.antrag.vnname.value.indexOf(",") != "-1") 		{document.antrag.vnname.value = document.antrag.vnname.value.replace(/\,/g,"\;"); }
if(document.antrag.vnstr.value.indexOf(",") != "-1") 		{document.antrag.vnstr.value = document.antrag.vnstr.value.replace(/\,/g,"\;"); }
if(document.antrag.vnco.value.indexOf(",") != "-1") 		{document.antrag.vnco.value = document.antrag.vnco.value.replace(/\,/g,"\;"); }
if(document.antrag.vnplz.value.indexOf(",") != "-1") 		{document.antrag.vnplz.value = document.antrag.vnplz.value.replace(/\,/g,"\;"); } 
if(document.antrag.vnort.value.indexOf(",") != "-1") 		{document.antrag.vnort.value = document.antrag.vnort.value.replace(/\,/g,"\;"); }
if(document.antrag.institut.value.indexOf(",") != "-1") 	{document.antrag.institut.value = document.antrag.institut.value.replace(/\,/g,"\;"); } 
if(document.antrag.ktoinhaber.value.indexOf(",") != "-1") 	{document.antrag.ktoinhaber.value = document.antrag.ktoinhaber.value.replace(/\,/g,"\;"); }
if(document.antrag.grund.value.indexOf(",") != "-1") 		{document.antrag.grund.value = document.antrag.grund.value.replace(/\,/g,"\;"); } 
if(document.antrag.email.value.indexOf(",") != "-1") 		{document.antrag.email.value = document.antrag.email.value.replace(/\,/g,"\;"); }
if(document.antrag.vnvorwahl.value.indexOf(",") != "-1") 	{document.antrag.vnvorwahl.value = document.antrag.vnvorwahl.value.replace(/\,/g,"\;"); } 
if(document.antrag.vntelefon.value.indexOf(",") != "-1") 	{document.antrag.vntelefon.value = document.antrag.vntelefon.value.replace(/\,/g,"\;"); } 
if(document.antrag.vnfax.value.indexOf(",") != "-1") 		{document.antrag.vnfax.value = document.antrag.vnfax.value.replace(/\,/g,"\;"); } 
if(document.antrag.nachricht.value.indexOf(",") != "-1" ) 	{document.antrag.nachricht.value = document.antrag.nachricht.value.replace(/\,/g,"\;"); } 
if(document.antrag.nachricht.value.indexOf(",") != "-1" ) 	{document.antrag.nachricht.value = document.antrag.nachricht.value.replace(/\,/g,"\;"); } 
if(document.antrag.vnregion.value.indexOf(",") != "-1" ) 	{document.antrag.vnregion.value = document.antrag.vnregion.value.replace(/\,/g,"\;"); } 	

if(typeof document.antrag.altevnr != "undefined") {
	if(document.antrag.altevnr.value.indexOf(",") != "-1" ) {document.antrag.altevnr.value = document.antrag.altevnr.value.replace(/\,/g,"\;"); } ; }
if(typeof document.antrag.vorversicherer != "undefined") {
	if(document.antrag.vorversicherer.value.indexOf(",") != "-1" ) {document.antrag.vorversicherer.value = document.antrag.vorversicherer.value.replace(/\,/g,"\;"); } ; }
if(typeof document.antrag.vmm != "undefined") {
	if(document.antrag.vmm.value.indexOf(",") != "-1" ) 	{document.antrag.vmm.value = document.antrag.vmm.value.replace(/\,/g,"\;"); } ; }
if(typeof document.antrag.vmmx != "undefined") {
	if(document.antrag.vmmx.value.indexOf(",") != "-1" ) 	{document.antrag.vmmx.value = document.antrag.vmmx.value.replace(/\,/g,"\;"); } ; }
	
/* Block für Versicherungsnehmer */

if(document.antrag.vnanrede.value=="--" 
|| document.antrag.vnanrede.value=="")
 {  
   switch (dokulanguage) {
    case 'eng'	: alert("Please select your sex!"); break;
    case 'esp'	: alert("¡Seleccione su sexo!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(36873)+String.fromCharCode(25321)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(24615)+String.fromCharCode(21035); alert(text); break;
    case 'trk'	: alert("Lütfen cinsiyetinizi belirtiniz!");  break;
       default	: alert("Wählen Sie bitte aus, welches Geschlecht Sie haben!"); 
  }
	document.antrag.vnanrede.className = 'phpfehlermeldung'; 
	document.antrag.vnanrede.focus();
	return false;    }

if(document.antrag.vnvorname.value==""
 || document.antrag.vnvorname.value=="Vorname")
{   
   switch (dokulanguage) {
    case 'eng'	: alert("Please enter your first names!"); break;
    case 'esp'	: alert("¡Indique su nombre!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(21517); alert(text); break;
    case 'trk'	: alert("Lütfen ön adinizi giriniz!");  break;
       default	: alert("Geben Sie bitte Ihren Vornamen ein!"); 
  }
	document.antrag.vnvorname.className = 'phpfehlermeldung'; 
	document.antrag.vnvorname.focus();
	return false;    }

if(document.antrag.vnname.value==""
 || document.antrag.vnname.value=="Nachname")
{   
   switch (dokulanguage) {
    case 'eng'	: alert("Please enter your name!"); break;
    case 'esp'	: alert("¡Indique su apellido!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(22995); alert(text); break;
    case 'trk'	: alert("Lütfen soyadinizi giriniz!");  break;
       default	: alert("Geben Sie bitte Ihren Nachnamen ein!"); 
  }

	document.antrag.vnname.className = 'phpfehlermeldung'; 
	document.antrag.vnname.focus();
	return false;    }

if(document.antrag.vnngebtag.value==""
 || document.antrag.vnngebtag.value=="--")
{   
   switch (dokulanguage) {
    case 'eng'	: alert("Your date of birth [day] is incomplete!"); break;
    case 'esp'	: alert("¡Su fecha de nacimiento [día] está incompleta!");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(20986)+String.fromCharCode(29983)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(65288)+String.fromCharCode(22825)+String.fromCharCode(65289)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Dogum tarihiniz [gün] eksik!");  break;
       default	: alert("Ihr Geburtsdatum [Tag] ist unvollständig!"); 
  }
	document.antrag.vnngebtag.className = 'phpfehlermeldung'; 
	document.antrag.vnngebtag.focus();
	return false;    }

if(document.antrag.vnngebmonat.value==""
 || document.antrag.vnngebmonat.value=="--")
{   
   switch (dokulanguage) {
    case 'eng'	: alert("Your date of birth [month] is incomplete!"); break;
    case 'esp'	: alert("¡Su fecha de nacimiento [mes] está incompleta!");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(20986)+String.fromCharCode(29983)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(65288)+String.fromCharCode(26376)+String.fromCharCode(65289)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Dogum tarihiniz [ay] eksik!");  break;
       default	: alert("Ihr Geburtsdatum [Monat] ist unvollständig!"); 
  }
	document.antrag.vnngebmonat.className = 'phpfehlermeldung'; 
	document.antrag.vnngebmonat.focus();
	return false;    }

if(document.antrag.vnngebjahr.value==""
 || document.antrag.vnngebjahr.value=="--")
{   
   switch (dokulanguage) {
    case 'eng'	: alert("Your date of birth [year] is incomplete!"); break;
    case 'esp'	: alert("¡Su fecha de nacimiento [año] está incompleta!");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(20986)+String.fromCharCode(29983)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(65288)+String.fromCharCode(24180)+String.fromCharCode(65289)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Dogum tarihiniz [yin] eksik!");  break;
       default	: alert("Ihr Geburtsdatum [Jahr] ist unvollständig!"); 
  }

	document.antrag.vnngebjahr.className = 'phpfehlermeldung'; 
	document.antrag.vnngebjahr.focus();
	return false;    }

/* Anschrift */

if(document.antrag.vnstr.value==""
 || document.antrag.vnstr.value==" ") {
   switch (dokulanguage) {
    case 'eng'	: alert("The street information is missing!"); break;
    case 'esp'	: alert("¡Falta indicar la calle!");  break;
    case 'chn'	: text=String.fromCharCode(32570)+String.fromCharCode(23569)+String.fromCharCode(34903)+String.fromCharCode(36947)+String.fromCharCode(21517)+String.fromCharCode(31216); alert(text); break;
    case 'trk'	: alert("Cadde belirtilmemistir!");  break;
       default	: alert("Die Straßenangabe fehlt!"); 
  }
	document.antrag.vnstr.className = 'phpfehlermeldung'; 
	document.antrag.vnstr.focus();
	return false;    }
	
if(document.antrag.vnplz.value==""
 || document.antrag.vnplz.value==" ") {
   switch (dokulanguage) {
    case 'eng'	: alert("Please enter your postcode!"); break;
    case 'esp'	: alert("¡Indique su código postal!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(37038)+String.fromCharCode(25919)+String.fromCharCode(32534)+String.fromCharCode(30721); alert(text); break;
    case 'trk'	: alert("Lütfen posta kodunu giriniz!");  break;
       default	: alert("Bitte geben Sie Ihre Postleitzahl ein!"); 
  }
	document.antrag.vnplz.className = 'phpfehlermeldung'; 
    document.antrag.vnplz.focus();
	return false;    }
	
var chkZ5 = 1;
var i =0;	
for(i=0;i<document.antrag.vnplz.value.length;++i) 
 if(document.antrag.vnplz.value.charAt(i) < "0"
 || document.antrag.vnplz.value.charAt(i) > "9") 
 
chkZ5 = -1; 

if(chkZ5 == -1) 
{	
   switch (dokulanguage) {
    case 'eng'	: alert("The postal code may only contain numbers!"); break;
    case 'esp'	: alert("¡En la casilla código postal sólo puede apuntar números!");  break;
    case 'chn'	: text=String.fromCharCode(37038)+String.fromCharCode(25919)+String.fromCharCode(32534)+String.fromCharCode(30721)+String.fromCharCode(21482)+String.fromCharCode(33021)+String.fromCharCode(30001)+String.fromCharCode(25968)+String.fromCharCode(23383)+String.fromCharCode(32452)+String.fromCharCode(25104); alert(text); break;
    case 'trk'	: alert("Posta kodu sadece sayi içermelidir!");  break;
       default	: alert("Die Postleitzahl darf nur Zahlen beinhalten!"); 
  }
	document.antrag.vnplz.className = 'phpfehlermeldung'; 
	document.antrag.vnplz.focus();
	return false;    }
	
if(document.antrag.vnort.value==""
 || document.antrag.vnort.value=="Ort") {
   switch (dokulanguage) {
    case 'eng'	: alert("Please select your place of residence!"); break;
    case 'esp'	: alert("¡Seleccione su lugar de residencia!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(36873)+String.fromCharCode(25321)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(23621)+String.fromCharCode(20303)+String.fromCharCode(22320); alert(text); break;
    case 'trk'	: alert("Lütfen ikametgahinizi seçiniz!");  break;
       default	: alert("Wählen Sie bitte Ihren Wohnort aus!"); 
  }
	document.antrag.vnort.className = 'phpfehlermeldung'; 
	document.antrag.vnort.focus();
	return false; }

if(document.antrag.vnland.value==""
 || document.antrag.vnland.value=="--"
 || document.antrag.vnland.value=="Bitte auswählen"
 || document.antrag.vnland.value=="Bitte auswaehlen"
 || document.antrag.vnland.value=="Bitte Auswaehlen") {
   switch (dokulanguage) {
    case 'eng'	: alert("The country is missing in the contact information. Please complete this information!"); break;
    case 'esp'	: alert("¡Falta indicar el país dentro de las informaciones de contacto. ¡Por favor, complete este dato!");  break;
    case 'chn'	: text=String.fromCharCode(32852)+String.fromCharCode(31995)+String.fromCharCode(20449)+String.fromCharCode(24687)+String.fromCharCode(20013)+String.fromCharCode(32570)+String.fromCharCode(23569)+String.fromCharCode(22269)+String.fromCharCode(23478)+String.fromCharCode(12290)+String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Irtibat bilgileriyle ilgili ülke eksik. Lütfen bu bilgiyi tamamlayiniz!");  break;
       default	: alert("Wählen Sie bitte das Land in den Kontaktangaben aus!"); 
  }
	document.antrag.vnland.className = 'phpfehlermeldung'; 
	document.antrag.vnland.focus();
	return false; }



		if( document.antrag.email.value==""
		    || document.antrag.email.value=="e-Mail"
			|| document.antrag.email.value=="E-Mail"
			|| document.antrag.email.value=="EMail") {
		switch (dokulanguage) {
			case 'eng'	: alert("Please enter an email address!"); break;
			case 'esp'	: alert("¡No es una dirección válida de e-mail!");  break;
			case 'chn'	: text=String.fromCharCode(30005)+String.fromCharCode(23376)+String.fromCharCode(37038)+String.fromCharCode(20214)+String.fromCharCode(22320)+String.fromCharCode(22336)+String.fromCharCode(19981)+String.fromCharCode(27491)+String.fromCharCode(30830)+String.fromCharCode(65281); alert(text); break;
			case 'trk'	: alert("Bu geçerli bir e-posta adresi degildir!");  break;
			default	: alert("Bitte geben sie eine E-Mail Adresse an!"); 
  		}
	document.antrag.email.className = 'phpfehlermeldung'; 
    document.antrag.email.focus();
    return false; }


if( document.antrag.email.value!=""
 && document.antrag.email.value.indexOf('@', 0) == -1) {
   switch (dokulanguage) {
    case 'eng'	: alert("This is not a valid e-mail address!"); break;
    case 'esp'	: alert("¡No es una dirección válida de e-mail!");  break;
    case 'chn'	: text=String.fromCharCode(30005)+String.fromCharCode(23376)+String.fromCharCode(37038)+String.fromCharCode(20214)+String.fromCharCode(22320)+String.fromCharCode(22336)+String.fromCharCode(19981)+String.fromCharCode(27491)+String.fromCharCode(30830)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("Bu geçerli bir e-posta adresi degildir!");  break;
       default	: alert("Das ist keine gültige E-Mail-Adresse!"); 
  }
	document.antrag.email.className = 'phpfehlermeldung'; 
    document.antrag.email.focus();
    return false; }
	
if( document.antrag.email.value!=""
 && document.antrag.email.value.indexOf('.', 0) == -1) {
   switch (dokulanguage) {
    case 'eng'	: alert("This is not a valid e-mail address!"); break;
    case 'esp'	: alert("¡No es una dirección válida de e-mail!");  break;
    case 'chn'	: text=String.fromCharCode(30005)+String.fromCharCode(23376)+String.fromCharCode(37038)+String.fromCharCode(20214)+String.fromCharCode(22320)+String.fromCharCode(22336)+String.fromCharCode(19981)+String.fromCharCode(27491)+String.fromCharCode(30830)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("Bu geçerli bir e-posta adresi degildir!");  break;
       default	: alert("Das ist keine gültige E-Mail-Adresse!"); 
  }
	document.antrag.email.className = 'phpfehlermeldung'; 
    document.antrag.email.focus();
    return false; }

if( document.antrag.email.value!=""){
   var reg = /^[a-zA-Z0-9][\w\.-]*@(?:[a-zA-Z0-9][a-zA-Z0-9_-]+\.)+[A-Z,a-z]{2,5}$/;
   var address = document.antrag.email.value;
   if(reg.test(address) == false) {
   switch (dokulanguage) {
    case 'eng'	: alert("This is not a valid e-mail address!"); break;
    case 'esp'	: alert("¡No es una dirección válida de e-mail!");  break;
    case 'chn'	: text=String.fromCharCode(30005)+String.fromCharCode(23376)+String.fromCharCode(37038)+String.fromCharCode(20214)+String.fromCharCode(22320)+String.fromCharCode(22336)+String.fromCharCode(19981)+String.fromCharCode(27491)+String.fromCharCode(30830)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("Bu geçerli bir e-posta adresi degildir!");  break;
       default	: alert("Das ist keine gültige E-Mail-Adresse!"); 
  }
	document.antrag.email.className = 'phpfehlermeldung'; 
    document.antrag.email.focus();
      return false;
   }
}



	
/* Bedingungscheck */

	
return check_tarif();
;    }	



function check_tarif() {
var dokulanguage = document.antrag.dokulanguage.value;


if(document.antrag.vnvorname.value.indexOf(",") != "-1"
 || document.antrag.vnname.value.indexOf(",") != "-1"
 || document.antrag.vpvorname.value.indexOf(",") != "-1"
 || document.antrag.vpname.value.indexOf(",") != "-1"
 || document.antrag.vnstr.value.indexOf(",") != "-1"
 || document.antrag.vnco.value.indexOf(",") != "-1"
 || document.antrag.vnplz.value.indexOf(",") != "-1"
 || document.antrag.vnort.value.indexOf(",") != "-1"
 || document.antrag.institut.value.indexOf(",") != "-1"
 || document.antrag.ktoinhaber.value.indexOf(",") != "-1"
 || document.antrag.email.value.indexOf(",") != "-1"
 || document.antrag.vnvorwahl.value.indexOf(",") != "-1"
 || document.antrag.vntelefon.value.indexOf(",") != "-1"
 || document.antrag.vnfax.value.indexOf(",") != "-1"
 || document.antrag.nachricht.value.indexOf(",") != "-1") {
    alert("Bitte benutzen Sie anstelle von Kommata \",\" Semikola \";\" zum Trennen von Informationen!");
    return false; }
		
if(document.antrag.vmm) {
	if(document.antrag.vmm.value.indexOf(",") != "-1") {alert("Bitte benutzen Sie anstelle von Kommata \",\" Semikola \";\" zum Trennen von Informationen!");
		return false; } ; }

if(document.antrag.vmmx) {
	if(document.antrag.vmmx.value.indexOf(",") != "-1") {alert("Bitte benutzen Sie anstelle von Kommata \",\" Semikola \";\" zum Trennen von Informationen!");
		return false; } ; }		

	
	
if(document.antrag.vnanrede.value=="") {
	switch (dokulanguage) {
    case 'eng'	: alert("Please select your sex!"); break;
    case 'esp'	: alert("¡Seleccione su sexo!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(36873)+String.fromCharCode(25321)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(24615)+String.fromCharCode(21035); alert(text); break;
    case 'trk'	: alert("Lütfen ön adinizi giriniz!");  break;
       default	: alert("Wählen Sie bitte aus, welches Geschlecht Sie haben!"); 
  }
	document.antrag.vnanrede.className = 'phpfehlermeldung'; 
 	document.antrag.vnanrede.focus(); 
 return false;    }
	
if(document.antrag.vnvorname.value==""
 || document.antrag.vnvorname.value=="Vorname")
{   switch (dokulanguage) {
    case 'eng'	: alert("Please enter your first names!"); break;
    case 'esp'	: alert("¡Indique su nombre!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(21517); alert(text); break;
    case 'trk'	: alert("Lütfen ön adinizi giriniz!");  break;
       default	: alert("Geben Sie bitte Ihren Vornamen ein!"); 
  }

	document.antrag.vnvorname.className = 'phpfehlermeldung'; 
	document.antrag.vnvorname.focus();
	return false;    }

if(document.antrag.vnname.value==""
 || document.antrag.vnname.value=="Nachname")
{   switch (dokulanguage) {
    case 'eng'	: alert("Please enter your name!"); break;
    case 'esp'	: alert("¡Indique su apellido!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(22995); alert(text); break;
    case 'trk'	: alert("Lütfen soyadinizi giriniz!");  break;
       default	: alert("Geben Sie bitte Ihren Nachnamen ein!"); 
  }

	document.antrag.vnname.className = 'phpfehlermeldung'; 
	document.antrag.vnname.focus();
	return false;    }

if(document.antrag.vnngebtag.value==""
 || document.antrag.vnngebtag.value=="--")
{   switch (dokulanguage) {
    case 'eng'	: alert("Your date of birth [day] is incomplete!"); break;
    case 'esp'	: alert("¡Su fecha de nacimiento [día] está incompleta!");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(20986)+String.fromCharCode(29983)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(65288)+String.fromCharCode(22825)+String.fromCharCode(65289)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Dogum tarihiniz [gün] eksik!");  break;
       default	: alert("Ihr Geburtsdatum [Tag] ist unvollständig!"); 
  }
	document.antrag.vnngebtag.className = 'phpfehlermeldung'; 
	document.antrag.vnngebtag.focus();
	return false;   }

if(document.antrag.vnngebmonat.value==""
 || document.antrag.vnngebmonat.value=="--")
{   switch (dokulanguage) {
    case 'eng'	: alert("Your date of birth [month] is incomplete!"); break;
    case 'esp'	: alert("¡Su fecha de nacimiento [mes] está incompleta!");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(20986)+String.fromCharCode(29983)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(65288)+String.fromCharCode(26376)+String.fromCharCode(65289)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Dogum tarihiniz [ay] eksik!");  break;
       default	: alert("Ihr Geburtsdatum [Monat] ist unvollständig!"); 
  }
	document.antrag.vnngebmonat.className = 'phpfehlermeldung'; 
	document.antrag.vnngebmonat.focus();
	return false;    }

if(document.antrag.vnngebjahr.value==""
 || document.antrag.vnngebjahr.value=="--")
{   switch (dokulanguage) {
    case 'eng'	: alert("Your date of birth [year] is incomplete!"); break;
    case 'esp'	: alert("¡Su fecha de nacimiento [año] está incompleta!");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(20986)+String.fromCharCode(29983)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(65288)+String.fromCharCode(24180)+String.fromCharCode(65289)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Dogum tarihiniz [yin] eksik!");  break;
       default	: alert("Ihr Geburtsdatum [Jahr] ist unvollständig!"); 
  }

	document.antrag.vnngebjahr.className = 'phpfehlermeldung'; 
	document.antrag.vnngebjahr.focus();
	return false;    }

if(document.antrag.vpanrede.value=="--"
 || document.antrag.vpanrede.value=="") {
	switch (dokulanguage) {
    case 'eng'	: alert("Please enter the insured’s sex!"); break;
    case 'esp'	: alert("¡Seleccione el sexo de la persona asegurada!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(24744)+String.fromCharCode(36873)+String.fromCharCode(25321)+String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(30340)+String.fromCharCode(24615)+String.fromCharCode(21035); alert(text); break;
    case 'trk'	: alert("Lütfen sigortali sahsin cinsiyetini belirtiniz!");  break;
       default	: alert("Wählen Sie bitte aus, welches Geschlecht die zu versichernde Person hat!"); 
  }

	document.antrag.vpanrede.className = 'phpfehlermeldung'; 
	document.antrag.vpanrede.focus();
	return false; }

if(document.antrag.vpvorname.value==""
 || document.antrag.vpvorname.value=="Vorname") {
	switch (dokulanguage) {
    case 'eng'	: alert("Please enter the insured’s first names!"); break;
    case 'esp'	: alert("¡Indique el nombre de la persona asegurada!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(24744)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(30340)+String.fromCharCode(21517); alert(text); break;
    case 'trk'	: alert("Lütfen sigortali sahsin ön adini giriniz!");  break;
       default	: alert("Geben Sie bitte den Vornamen der zu versichernde Person ein!"); 
  }

	document.antrag.vpvorname.className = 'phpfehlermeldung'; 
	document.antrag.vpvorname.focus();
	return false; }

if(document.antrag.vpname.value==""
 || document.antrag.vpname.value=="Nachname") {
    switch (dokulanguage) {
    case 'eng'	: alert("Please enter the insured’s name!"); break;
    case 'esp'	: alert("¡Indique el apellido de la persona asegurada!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(24744)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(30340)+String.fromCharCode(21517)+String.fromCharCode(23383); alert(text); break;
    case 'trk'	: alert("Lütfen sigortali sahsin soyadini giriniz!");  break;
       default	: alert("Geben Sie bitte den Namen der zu versichernde Person ein!"); 
  }
 	document.antrag.vpname.className = 'phpfehlermeldung'; 
    document.antrag.vpname.focus();
    return false;    }

if(document.antrag.vpgebtag.value==""
 || document.antrag.vpgebtag.value=="--")
{	switch (dokulanguage) {
    case 'eng'	: alert("The date of birth [day] of the insured person is incomplete!"); break;
    case 'esp'	: alert("¡Su fecha de nacimiento [día] está incompleta!");  break;
    case 'chn'	: text=String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(30340)+String.fromCharCode(20986)+String.fromCharCode(29983)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(65288)+String.fromCharCode(22825)+String.fromCharCode(65289)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Sigortali kisinin dogum tarihi (gün) eksik.");  break;
       default	: alert("Das Geburtsdatum [Tag] der zu versichernden Person ist unvollständig!"); 
  }
	document.antrag.vpgebtag.className = 'phpfehlermeldung'; 
	document.antrag.vpgebtag.focus();
	return false;    }

if(document.antrag.vpgebmonat.value==""
 || document.antrag.vpgebmonat.value=="--")
{   switch (dokulanguage) {
    case 'eng'	: alert("The date of birth [month] of the insured person is incomplete!"); break;
    case 'esp'	: alert("¡Su fecha de nacimiento [mes] está incompleta!");  break;
    case 'chn'	: text=String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(30340)+String.fromCharCode(20986)+String.fromCharCode(29983)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(65288)+String.fromCharCode(26376)+String.fromCharCode(65289)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Sigortali kisinin dogum tarihi (ay) eksik.");  break;
       default	: alert("Das Geburtsdatum [Monat] der zu versichernden Person ist unvollständig!"); 
  }

	document.antrag.vpgebmonat.className = 'phpfehlermeldung'; 
	document.antrag.vpgebmonat.focus();
	return false;    }

if(document.antrag.vpgebjahr.value==""
 || document.antrag.vpgebjahr.value=="--")
{   switch (dokulanguage) {
    case 'eng'	: alert("The date of birth [year] of the insured person is incomplete!"); break;
    case 'esp'	: alert("¡Su fecha de nacimiento [año] está incompleta!");  break;
    case 'chn'	: text=String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(30340)+String.fromCharCode(20986)+String.fromCharCode(29983)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(65288)+String.fromCharCode(24180)+String.fromCharCode(65289)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Sigortali kisinin dogum tarihi (sene) eksik.");  break;
       default	: alert("Das Geburtsdatum [Jahr] der zu versichernden Person ist unvollständig!"); 
  }
	document.antrag.vpgebjahr.className = 'phpfehlermeldung'; 
	document.antrag.vpgebjahr.focus();
	return false;    }
	
if(document.antrag.vpalter.value==""
 || document.antrag.vpalter.value=="--")
{   alert("Der Versicherungsbeginn vor Geburt der versicherten Person ist nicht möglich!");
	document.antrag.vpalter.focus();
	return false;    }
	


if(document.antrag.nationalitaet.value==""
 || document.antrag.nationalitaet.value=="Bitte auswählen"
 || document.antrag.nationalitaet.value=="--" )
{   switch (dokulanguage) {
    case 'eng'	: alert("Please enter the insured's nationality!"); break;
    case 'esp'	: alert("¡Indique la nacionalidad de la persona asegurada!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(24744)+String.fromCharCode(36873)+String.fromCharCode(25321)+String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(30340)+String.fromCharCode(22269)+String.fromCharCode(31821)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("Lütfen sigortali sahsin uyrugunu giriniz!");  break;
       default	: alert("Geben Sie bitte an, welcher Nationalität die zu versichernde Person ist!"); 
  }

	document.antrag.nationalitaet.className = 'phpfehlermeldung'; 
    document.antrag.nationalitaet.focus();
    return false;    }
		
if(document.antrag.heimatland.value=="") {
    switch (dokulanguage) {
    case 'eng'	: alert("The information on the insured's home country in the last two years is missing!"); break;
    case 'esp'	: alert("¡Falta la indicación de su nacionalidad o del país de origen!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(20154)+String.fromCharCode(20986)+String.fromCharCode(22269)+String.fromCharCode(21069)+String.fromCharCode(20004)+String.fromCharCode(24180)+String.fromCharCode(23621)+String.fromCharCode(20303)+String.fromCharCode(22269)+String.fromCharCode(30340)+String.fromCharCode(21517)+String.fromCharCode(31216); alert(text); break;
    case 'trk'	: alert("Uyruk veya anavatanla ilgili bilgileriniz eksik! Lütfen sigortali kisinin son iki senedeki oturma yerini bildiriniz!");  break;
       default	: alert("Geben Sie bitte den Wohnsitz der versicherten Person in den letzten zwei Jahren an!"); 
  }
	document.antrag.heimatland.className = 'phpfehlermeldung'; 
	document.antrag.heimatland.focus();
	return false;    }
	
if(document.antrag.aufenthalt.value=="")
{   switch (dokulanguage) {
    case 'eng'	: alert("Please select the country of stay!"); break;
    case 'esp'	: alert("¡Por favor eligá el país de estancia durante la vigencia del seguro!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(27880)+String.fromCharCode(26126)+String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(20154)+String.fromCharCode(22312)+String.fromCharCode(22269)+String.fromCharCode(22806)+String.fromCharCode(20854)+String.fromCharCode(38388)+String.fromCharCode(23621)+String.fromCharCode(20303)+String.fromCharCode(22269)+String.fromCharCode(23478)+String.fromCharCode(30340)+String.fromCharCode(21517)+String.fromCharCode(31216); alert(text); break;
    case 'trk'	: alert("Lütfen bilgilerinizi, sigorta süresi içinde bulunacaginiz ülkeyi belirterek tamamlayiniz!");  break;
       default	: alert("Wählen Sie bitte das Aufenthaltsland aus!"); 
  }
	document.antrag.aufenthalt.className = 'phpfehlermeldung'; 
	document.antrag.aufenthalt.focus();
	return false;    }

if(document.antrag.grund.value=="")
 {  switch (dokulanguage) {
    case 'eng'	: alert("Please fill in the main reason for the stay abroad. Falls Sie zum Reisegrund keine Angaben machen können, tragen Sie bitte 'keine Angabe' ein."); break;
    case 'esp'	: alert("¡Por favor elija la razón del viaje! Falls Sie zum Reisegrund keine Angaben machen können, tragen Sie bitte 'keine Angabe' ein.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(36824)+String.fromCharCode(27809)+String.fromCharCode(26377)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(20986)+String.fromCharCode(34892)+String.fromCharCode(21407)+String.fromCharCode(22240)+String.fromCharCode(12290)+String.fromCharCode(22914)+String.fromCharCode(26524)+String.fromCharCode(24744)+String.fromCharCode(26080)+String.fromCharCode(27861)+String.fromCharCode(35828)+String.fromCharCode(26126)+String.fromCharCode(20986)+String.fromCharCode(34892)+String.fromCharCode(21407)+String.fromCharCode(22240)+String.fromCharCode(65292)+String.fromCharCode(35831)+String.fromCharCode(24744)+String.fromCharCode(22635)+String.fromCharCode(20889) + " Keine Angabe.";	alert(text); break;
    case 'trk'	: alert("Lisan okulu ile ilgili alani malesef doldurmamissiniz! Falls Sie zum Reisegrund keine Angaben machen können, tragen Sie bitte 'keine Angabe' ein.");  break;
       default	: alert("Sie haben das Feld Reisegrund nicht ausgefüllt! Falls Sie zum Reisegrund keine Angaben machen können, tragen Sie bitte 'keine Angabe' ein."); 
  }
	document.antrag.grund.className = 'phpfehlermeldung'; 
 	document.antrag.grund.focus();
	return false;    }
	
if(document.antrag.einreisetag.value==""
 || document.antrag.einreisetag.value=="--") {
	switch (dokulanguage) {
    case 'eng'	: alert("The date of the arrival [day] in the country is incomplete!"); break;
    case 'esp'	: alert("¡La fecha de su entrada al país está incompleta!");  break;
    case 'chn'	: text=String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(30340)+String.fromCharCode(20837)+String.fromCharCode(22659)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("Ülkeye giris tarihiniz eksik!");  break;
       default	: alert("Das Datum der Einreise [Tag] der zu versichernden Person ist unvollständig!"); 
  }
	document.antrag.einreisetag.className = 'phpfehlermeldung'; 
	document.antrag.einreisetag.focus();
	return false;    }
	
if(document.antrag.einreisemonat.value==""
 || document.antrag.einreisemonat.value=="--") {
	switch (dokulanguage) {
    case 'eng'	: alert("The date of the arrival [month] in the country is incomplete!"); break;
    case 'esp'	: alert("¡La fecha de su entrada al país está incompleta!");  break;
    case 'chn'	: text=String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(30340)+String.fromCharCode(20837)+String.fromCharCode(22659)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("Ülkeye giris tarihiniz eksik!");  break;
       default	: alert("Das Datum der Einreise [Monat] der zu versichernden Person ist unvollständig!"); 
  }
	document.antrag.einreisemonat.className = 'phpfehlermeldung'; 
	document.antrag.einreisemonat.focus();
	return false;    }
	
if(document.antrag.einreisejahr.value==""
 || document.antrag.einreisejahr.value=="--") {
	switch (dokulanguage) {
    case 'eng'	: alert("The date of the arrival [year] in the country is incomplete!"); break;
    case 'esp'	: alert("¡La fecha de su entrada al país está incompleta!");  break;
    case 'chn'	: text=String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(30340)+String.fromCharCode(20837)+String.fromCharCode(22659)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("Ülkeye giris tarihiniz eksik!");  break;
       default	: alert("Das Datum der Einreise [Jahr] der zu versichernden Person ist unvollständig!"); 
  }
	document.antrag.einreisejahr.className = 'phpfehlermeldung'; 
	document.antrag.einreisejahr.focus();
	return false;    }		
	
if(document.antrag.vnstr.value==""
 || document.antrag.vnstr.value=="Straße"
  || document.antrag.vnstr.value=="Straße") {
	switch (dokulanguage) {
    case 'eng'	: alert("The street information is missing!"); break;
    case 'esp'	: alert("¡Falta indicar la calle!");  break;
    case 'chn'	: text=String.fromCharCode(32570)+String.fromCharCode(23569)+String.fromCharCode(34903)+String.fromCharCode(36947)+String.fromCharCode(21517)+String.fromCharCode(31216); alert(text); break;
    case 'trk'	: alert("Cadde belirtilmemistir!");  break;
       default	: alert("Die Straßenangabe fehlt!"); 
  }
	document.antrag.vnstr.className = 'phpfehlermeldung'; 
	document.antrag.vnstr.focus();
	return false;    }

if(document.antrag.vnplz.value==""
 || document.antrag.vnplz.value==" ") {
	switch (dokulanguage) {
    case 'eng'	: alert("Please enter your postcode!"); break;
    case 'esp'	: alert("¡Indique su código postal!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(37038)+String.fromCharCode(25919)+String.fromCharCode(32534)+String.fromCharCode(30721); alert(text); break;
    case 'trk'	: alert("Lütfen posta kodunu giriniz!");  break;
       default	: alert("Bitte geben Sie Ihre Postleitzahl ein!"); 
  }
	document.antrag.vnplz.className = 'phpfehlermeldung'; 
    document.antrag.vnplz.focus();
	return false;    }
	
var chkZ = 1;
for(i=0;i<document.antrag.vnplz.value.length;++i) if(document.antrag.vnplz.value.charAt(i) < "0"
 || document.antrag.vnplz.value.charAt(i) > "9") chkZ = -1; if(chkZ == -1) {
	switch (dokulanguage) {
    case 'eng'	: alert("The postal code may only contain numbers!"); break;
    case 'esp'	: alert("¡En la casilla código postal sólo puede apuntar números!");  break;
    case 'chn'	: text=String.fromCharCode(37038)+String.fromCharCode(25919)+String.fromCharCode(32534)+String.fromCharCode(30721)+String.fromCharCode(21482)+String.fromCharCode(33021)+String.fromCharCode(30001)+String.fromCharCode(25968)+String.fromCharCode(23383)+String.fromCharCode(32452)+String.fromCharCode(25104); alert(text); break;
    case 'trk'	: alert("Posta kodu sadece sayi içermelidir!");  break;
       default	: alert("Die Postleitzahl darf nur Zahlen beinhalten!"); 
  }
	document.antrag.vnplz.className = 'phpfehlermeldung'; 
	document.antrag.vnplz.focus();
	return false;    }

if(document.antrag.hv_tarif.value=="--"
 || document.antrag.hv_tarif.value==""
 || document.antrag.hv_tarif.value=="Bitte auswählen"
 || document.antrag.hv_tarif.value=="Bitte auswählen")
{	switch (dokulanguage) {
    case 'eng'	: alert("Please select wether you want to contract the insurance with a liability (type S) insurance or with a liability/accident insurance (type M/XL)."); break;
    case 'esp'	: alert("Por favor indique cual tarifa quiere escoger. Seguro de responsabilidad civil [S] o seguro de responsabilidad civil con seguro de accidentes [M o XL].");  break;
    case 'chn'	: text=String.fromCharCode(5831)+String.fromCharCode(36873)+String.fromCharCode(25321)+String.fromCharCode(24744)+String.fromCharCode(25152)+String.fromCharCode(35201)+String.fromCharCode(30340)+String.fromCharCode(38468)+String.fromCharCode(21152)+String.fromCharCode(20445)+String.fromCharCode(38505)+ "," +String.fromCharCode(26159)+String.fromCharCode(21333)+String.fromCharCode(29420)+String.fromCharCode(30340)+String.fromCharCode(31532)+String.fromCharCode(19977)+String.fromCharCode(20154)+String.fromCharCode(36131)+String.fromCharCode(20219)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(36824)+String.fromCharCode(26159)+String.fromCharCode(31532)+String.fromCharCode(19977)+String.fromCharCode(20154)+String.fromCharCode(36131)+String.fromCharCode(20219)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(21152)+String.fromCharCode(24847)+String.fromCharCode(22806)+String.fromCharCode(20107)+String.fromCharCode(25925)+String.fromCharCode(20445)+String.fromCharCode(38505); alert(text); break;
    case 'trk'	: alert("Lütfen hangi ferdi mesuliyet veya mesuliyet ve ferdi kaza sigortasini yapmak istediginizi bildiriniz.");  break;
       default	: alert("Geben Sie bitte an, welchen Tarif Sie in der Haftpflichtversicherung bzw. Unfall- Haftpflichtversicherung abschließen wollen."); 
  }
	document.antrag.hv_tarif.className = 'phpfehlermeldung'; 
	document.antrag.hv_tarif.focus();
	return false;    }

if(document.antrag.vnort.value==""
 || document.antrag.vnort.value=="Ort") {
	switch (dokulanguage) {
    case 'eng'	: alert("Please select your place of residence!"); break;
    case 'esp'	: alert("¡Seleccione su lugar de residencia!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(36873)+String.fromCharCode(25321)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(23621)+String.fromCharCode(20303)+String.fromCharCode(22320); alert(text); break;
    case 'trk'	: alert("Lütfen ikametgahinizi seçiniz!");  break;
       default	: alert("Wählen Sie bitte Ihren Wohnort aus!"); 
  }
	document.antrag.vnort.className = 'phpfehlermeldung'; 
	document.antrag.vnort.focus();
	return false; }

if(document.antrag.vnland.value=="--"
 || document.antrag.vnland.value==""
 || document.antrag.vnland.value=="Bitte auswählen"
 || document.antrag.vnland.value=="Bitte auswählen") {
	switch (dokulanguage) {
    case 'eng'	: alert("The country is missing in the contact information. Please complete this information!"); break;
    case 'esp'	: alert("¡Falta indicar el país dentro de las informaciones de contacto. ¡Por favor, complete este dato!");  break;
    case 'chn'	: text=String.fromCharCode(32852)+String.fromCharCode(31995)+String.fromCharCode(20449)+String.fromCharCode(24687)+String.fromCharCode(20013)+String.fromCharCode(32570)+String.fromCharCode(23569)+String.fromCharCode(22269)+String.fromCharCode(23478)+String.fromCharCode(12290)+String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Irtibat bilgileriyle ilgili ülke eksik. Lütfen bu bilgiyi tamamlayiniz!");  break;
       default	: alert("Wählen Sie bitte das Land in den Kontaktangaben aus!"); 
  }
	document.antrag.vnland.className = 'phpfehlermeldung'; 
	document.antrag.vnland.focus();
	return false; }

if( document.antrag.hv_versicherungsbeginntag.value==""
 || document.antrag.hv_versicherungsbeginntag.value=="--") {
	switch (dokulanguage) {
    case 'eng'	: alert("Please indicate when coverage [day] (liability/accident-insurance) should begin!"); break;
    case 'esp'	: alert("¡Seleccione a partir de cuándo el seguro (de responsabilidad civil / de responsabilidad civil y de accidentes) debe empecar![día]");  break;
    case 'chn'	: text=String.fromCharCode(31532)+String.fromCharCode(19977)+String.fromCharCode(20154)+String.fromCharCode(36131)+String.fromCharCode(20219)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(30340)+String.fromCharCode(24320)+String.fromCharCode(22987)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972)+ "," +String.fromCharCode(35831)+String.fromCharCode(20889)+String.fromCharCode(26126)+String.fromCharCode(21738)+String.fromCharCode(19968)+String.fromCharCode(22825)+String.fromCharCode(36215); alert(text); break;
    case 'trk'	: alert("Ferdi mesuliyet sigortasinin baslangiç tarihi (gün) eksik!");  break;
       default	: alert("Der Versicherungsbeginn [Tag] der Haftpflichtversicherung ist unvollständig!"); 
  }

  
	document.antrag.hv_versicherungsbeginntag.className = 'phpfehlermeldung'; 
	document.antrag.hv_versicherungsbeginntag.focus();
	return false;    }
	
if(document.antrag.hv_versicherungsbeginnmonat.value==""
 || document.antrag.hv_versicherungsbeginnmonat.value=="--") {
	switch (dokulanguage) {
    case 'eng'	: alert("Please indicate when coverage [month] (liability/accident-insurance) should begin!"); break;
    case 'esp'	: alert("¡Seleccione a partir de cuándo el seguro (de responsabilidad civil / de responsabilidad civil y de accidentes) debe empecar![mes]");  break;
    case 'chn'	: text=String.fromCharCode(31532)+String.fromCharCode(19977)+String.fromCharCode(20154)+String.fromCharCode(36131)+String.fromCharCode(20219)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(30340)+String.fromCharCode(24320)+String.fromCharCode(22987)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972)+ "," +String.fromCharCode(35831)+String.fromCharCode(20889)+String.fromCharCode(26126)+String.fromCharCode(21738)+String.fromCharCode(19968)+String.fromCharCode(26376); alert(text); break;
    case 'trk'	: alert("Ferdi mesuliyet sigortasinin baslangiç tarihi (ay) eksik!");  break;
       default	: alert("Der Versicherungsbeginn [Monat] der Haftpflichtversicherung ist unvollständig!"); 
  }
	document.antrag.hv_versicherungsbeginnmonat.className = 'phpfehlermeldung'; 
	document.antrag.hv_versicherungsbeginnmonat.focus();
	return false;    }

if(document.antrag.hv_versicherungsbeginnjahr.value==""
 || document.antrag.hv_versicherungsbeginnjahr.value=="--") {
	switch (dokulanguage) {
    case 'eng'	: alert("Please indicate when coverage [year] (liability/accident-insurance) should begin!"); break;
    case 'esp'	: alert("¡Seleccione a partir de cuándo el seguro (de responsabilidad civil / de responsabilidad civil y de accidentes) debe empecar![año]");  break;
    case 'chn'	: text=String.fromCharCode(31532)+String.fromCharCode(19977)+String.fromCharCode(20154)+String.fromCharCode(36131)+String.fromCharCode(20219)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(30340)+String.fromCharCode(24320)+String.fromCharCode(22987)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972)+ "," +String.fromCharCode(35831)+String.fromCharCode(20889)+String.fromCharCode(26126)+String.fromCharCode(21738)+String.fromCharCode(19968)+String.fromCharCode(24180); alert(text); break;
    case 'trk'	: alert("Ferdi mesuliyet sigortasinin baslangiç tarihi (sene) eksik!");  break;
       default	: alert("Der Versicherungsbeginn [Jahr] der Haftpflichtversicherung ist unvollständig!"); 
  }
	document.antrag.hv_versicherungsbeginnjahr.className = 'phpfehlermeldung'; 
	document.antrag.hv_versicherungsbeginnjahr.focus();
	return false;    }
	
if( document.antrag.hv_versicherungsdauer.value=="0.00"
 || document.antrag.hv_versicherungsdauer.value=="0"
 || document.antrag.hv_versicherungsdauer.value==""
 || document.antrag.hv_versicherungsdauer.value=="--"
 || document.antrag.hv_versicherungsdauer.value=="Bitte auswählen"
 || document.antrag.hv_versicherungsdauer.value=="Bitte auswählen"
 || document.antrag.hv_versicherungsdauer.value=="") { 
switch (dokulanguage) {
    case 'eng'	: alert("Please select the term of insurance (liability/accident-insurance)!"); break;
    case 'esp'	: alert("Por favor eligá la vigencia del seguro de responsabilidad civil o del seguro de responsabilidad civil y seguro de accidentes.");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(27880)+String.fromCharCode(26126)+String.fromCharCode(31532)+String.fromCharCode(19977)+String.fromCharCode(20154)+String.fromCharCode(36131)+String.fromCharCode(20219)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(30340)+String.fromCharCode(26399)+String.fromCharCode(38480); alert(text); break;
    case 'trk'	: alert("Lütfen mesuliyet sigortasi süresini bildiriniz.");  break;
       default	: alert("Bitte geben Sie an, wie lange Sie sich versichern möchten!"); 
  }
	document.antrag.hv_versicherungsdauer.className = 'phpfehlermeldung'; 
	document.antrag.hv_versicherungsdauer.focus();
	return false;  
	 }		

var pm2='';
/* Zahlung */
if( document.antrag.paymentmethod2[1].checked== true){ pm2='Lastschrifteinmalig'}
if( document.antrag.paymentmethod2[3].checked== true){ pm2='creditcard'}
if( document.antrag.paymentmethod2[4].checked== true){ pm2='Lastschriftmonatlich'}
//alert(pm2);

if( pm2!="Lastschrifteinmalig" && pm2!="Lastschriftmonatlich" && pm2!="creditcard") {	
   switch (dokulanguage) {
    case 'eng'	: alert("Please select how to pay!"); break;
    case 'esp'	: alert("¡Por favor elija el modo de pago!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(24744)+String.fromCharCode(36873)+String.fromCharCode(25321)+String.fromCharCode(19968)+String.fromCharCode(31181)+String.fromCharCode(20184)+String.fromCharCode(27454)+String.fromCharCode(26041)+String.fromCharCode(24335)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("Lütfen ödeme türünü seçin, para çekme müsadesi ile, kredi karti ile veya banka havalesi ile!");  break;
       default	: alert("Geben Sie bitte ein, wie Sie die Versicherungsprämien begleichen wollen."); 
  }
	document.antrag.paymentmethod2[1].className = 'phpfehlermeldung'; 
	document.antrag.paymentmethod2[1].focus();
	return false; 
}

if(pm2=="Lastschriftmonatlich" || pm2=="Lastschrifteinmalig"){
	var chkZ = 1;
	for(i=0;i<document.antrag.ktonr.value.length;++i)
	if(document.antrag.ktonr.value.charAt(i) < "0"
	|| document.antrag.ktonr.value.charAt(i) > "9")
	chkZ = -1;
	if(chkZ == -1 || document.antrag.ktonr.value=='')
	{
		switch (dokulanguage) {
		case 'eng'	: alert("The account number may only contain numbers!"); break;
		case 'esp'	: alert("¡Falta el número de cuenta!¡En el número de cuenta sólo puede apuntar números!");  break;
		case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(36134)+String.fromCharCode(21495)+String.fromCharCode(65281)+String.fromCharCode(36134)+String.fromCharCode(21495)+String.fromCharCode(21482)+String.fromCharCode(33021)+String.fromCharCode(30001)+String.fromCharCode(25968)+String.fromCharCode(23383)+String.fromCharCode(32452)+String.fromCharCode(25104)+String.fromCharCode(65281); alert(text); break;
		case 'trk'	: alert("Banka hesap numarasi sadece rakamlar içerebilir!");  break;
		   default	: alert("Geben Sie bitte eine gültige Kontonummer (darf nur Zahlen beinhalten) an!"); 
	  }
		document.antrag.ktonr.className = 'phpfehlermeldung'; 
		document.antrag.ktonr.focus();
		return false;    }
	
	var chkZ = 1;
	for(i=0;i<document.antrag.blz.value.length;++i)
	if(document.antrag.blz.value.charAt(i) < "0"
	|| document.antrag.blz.value.charAt(i) > "9")
	chkZ = -1;
	if(chkZ == -1 || document.antrag.blz.value=='')
	{
		switch (dokulanguage) {
		case 'eng'	: alert("The bank sort code may only contain 5 numbers for bank accounts in Austria or 8 numbers for bank accounts in Germany!"); break;
		case 'esp'	: alert("¡La clave bancaria tiene que contener 5 numeros para cuentas de banco en Austria y 8 para cuentas en Alemania. Por favor rellene los datos que faltan!");  break;
		case 'chn'	: text=String.fromCharCode(38134)+String.fromCharCode(34892)+String.fromCharCode(20195)+String.fromCharCode(30721)+String.fromCharCode(19981)+String.fromCharCode(33021)+String.fromCharCode(23569)+String.fromCharCode(20110)+'5'+String.fromCharCode(20301)+String.fromCharCode(25968); alert(text); break;
		case 'trk'	: alert("Lütfen geçerli bir banka kodu belirtiniz (Avusturya için 5 haneyi veya Almanya için 8 haneyi geçemez)!");  break;
		   default	: alert("Die Bankleitzahl muss mindestens fünf Ziffern lang sein. Bitte vervollständigen Sie ihre Angaben!"); 
	  }
		document.antrag.blz.className = 'phpfehlermeldung'; 
		document.antrag.blz.focus();
		return false;    }
	
	if(document.antrag.institut.value=="") {
		switch (dokulanguage) {
		case 'eng'	: alert("Please enter the name of the bank!"); break;
		case 'esp'	: alert("¡Falta el nombre de banco!");  break;
		case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(24744)+String.fromCharCode(38134)+String.fromCharCode(34892)+String.fromCharCode(30340)+String.fromCharCode(21517)+String.fromCharCode(31216)+String.fromCharCode(65281); alert(text); break;
		case 'trk'	: alert("Lütfen bankanizin adini yaziniz!");  break;
		   default	: alert("Bitte geben Sie den Namen Ihrer Bank an!"); 
	  }
		document.antrag.institut.className = 'phpfehlermeldung'; 
		document.antrag.institut.focus();
		return false; }
		
	if( document.antrag.ktoinhaber.value=="") {
		switch (dokulanguage) {
		case 'eng'	: alert("Please enter the name of the account holder!"); break;
		case 'esp'	: alert("¡Falta el titular de la cuenta!");  break;
		case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(36134)+String.fromCharCode(21495)+String.fromCharCode(25345)+String.fromCharCode(26377)+String.fromCharCode(20154)+String.fromCharCode(21517)+String.fromCharCode(23383)+String.fromCharCode(65281); alert(text); break;
		case 'trk'	: alert("Lütfen hesap sahibinin adini yaziniz!");  break;
		   default	: alert("Bitte geben Sie den Namen des Kontoinhabers an!"); 
	  }
		document.antrag.ktoinhaber.className = 'phpfehlermeldung'; 
		document.antrag.ktoinhaber.focus();
		return false;  }
;}

if( document.antrag.email.value==""
 || document.antrag.email.value=="e-Mail"
 || document.antrag.email.value=="E-Mail"
 || document.antrag.email.value=="EMail") {
    switch (dokulanguage) {
			case 'eng'	: alert("Please enter an email address!"); break;
			case 'esp'	: alert("¡No es una dirección válida de e-mail!");  break;
			case 'chn'	: text=String.fromCharCode(30005)+String.fromCharCode(23376)+String.fromCharCode(37038)+String.fromCharCode(20214)+String.fromCharCode(22320)+String.fromCharCode(22336)+String.fromCharCode(19981)+String.fromCharCode(27491)+String.fromCharCode(30830)+String.fromCharCode(65281); alert(text); break;
			case 'trk'	: alert("Bu geçerli bir e-posta adresi degildir!");  break;
			default	: alert("Bitte geben sie eine E-Mail Adresse an!"); 
  		}
	document.antrag.email.className = 'phpfehlermeldung'; 
    document.antrag.email.focus();
    return false; }

if( document.antrag.email.value!=""
 && document.antrag.email.value!="e-Mail"
 && document.antrag.email.value.indexOf('@', 0) == -1) {
    switch (dokulanguage) {
    case 'eng'	: alert("This is not a valid e-mail address!"); break;
    case 'esp'	: alert("¡No es una dirección válida de e-mail!");  break;
    case 'chn'	: text=String.fromCharCode(30005)+String.fromCharCode(23376)+String.fromCharCode(37038)+String.fromCharCode(20214)+String.fromCharCode(22320)+String.fromCharCode(22336)+String.fromCharCode(19981)+String.fromCharCode(27491)+String.fromCharCode(30830)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("Bu geçerli bir e-posta adresi degildir!");  break;
       default	: alert("Das ist keine gültige E-Mail-Adresse!"); 
  }
	document.antrag.email.className = 'phpfehlermeldung'; 
    document.antrag.email.focus();
    return false; }
	
if( document.antrag.email.value!=""
 && document.antrag.email.value!="e-Mail"
 && document.antrag.email.value.indexOf('.', 0) == -1) {
    switch (dokulanguage) {
    case 'eng'	: alert("This is not a valid e-mail address!"); break;
    case 'esp'	: alert("¡No es una dirección válida de e-mail!");  break;
    case 'chn'	: text=String.fromCharCode(30005)+String.fromCharCode(23376)+String.fromCharCode(37038)+String.fromCharCode(20214)+String.fromCharCode(22320)+String.fromCharCode(22336)+String.fromCharCode(19981)+String.fromCharCode(27491)+String.fromCharCode(30830)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("Bu geçerli bir e-posta adresi degildir!");  break;
       default	: alert("Das ist keine gültige E-Mail-Adresse!"); 
  }
	document.antrag.email.className = 'phpfehlermeldung'; 
    document.antrag.email.focus();
    return false; }




/* Bedingungscheck */

if(document.antrag.allebedingungen_hv.checked) 				var chkHV = 1;

if(chkHV != 1)
{   		
   switch (dokulanguage) {
    case 'eng'	: alert("To send the application you must acknowledge the Conditions liability/accident insurance by clicking on the box!"); break;
    case 'esp'	: alert("¡Para poder enviar la proposición, debe reconocer las condiciónes contractuales del seguro de responsabilidad civil y de accidentes marcando la casilla!");  break;
  case 'chn' : text=String.fromCharCode(20026)+String.fromCharCode(20102)+String.fromCharCode(33021)+String.fromCharCode(22815)+String.fromCharCode(31614)+String.fromCharCode(23450)+String.fromCharCode(31532)+String.fromCharCode(19977)+String.fromCharCode(20154)+String.fromCharCode(36131)+String.fromCharCode(20219)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(65292)+String.fromCharCode(35831)+String.fromCharCode(22312)+String.fromCharCode(23567)+String.fromCharCode(26041)+String.fromCharCode(26684)+String.fromCharCode(19978)+String.fromCharCode(30011)+String.fromCharCode(21449)+String.fromCharCode(65292)+String.fromCharCode(34920)+String.fromCharCode(26126)+String.fromCharCode(24744)+String.fromCharCode(25509)+String.fromCharCode(25910)+String.fromCharCode(31532)+String.fromCharCode(19977)+String.fromCharCode(20154)+String.fromCharCode(36131)+String.fromCharCode(20219)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(25110)+String.fromCharCode(31532)+String.fromCharCode(19977)+String.fromCharCode(20154)+String.fromCharCode(36131)+String.fromCharCode(20219)+String.fromCharCode(20445)+String.fromCharCode(21152)+String.fromCharCode(24847)+String.fromCharCode(22806)+String.fromCharCode(20107)+String.fromCharCode(25925)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(30340)+String.fromCharCode(26465)+String.fromCharCode(20363); alert(text); break;
    case 'trk'	: alert("Ferdi mesuliyet sigortasini yapabilmek için kutucugu tiklayarak, ferdi mesuliyet veya ferdi mesuliyet ve ferdi kaza sigortasi ile ilgili sigorta sartlarini kabul etmeniz gerekmektedir.");  break;
       default	: alert("Um die Haftpflichtversicherung abschließen zu können, müssen Sie die Versicherungsbedingungen zur Haftpflichtversicherung bzw. zur Unfall und Haftpflichtversicherung durch Anklicken des Kästchens anerkennen!"); 
  }
	document.antrag.allebedingungen_hv.className = 'phpfehlermeldung'; 
    document.antrag.allebedingungen_hv.focus();    
	return false;    }



if(document.antrag.verbraucherinfos.checked) var chkVB = 1;
if(chkVB != 1)
{   alert("Um den Antrag abzuschicken, müssen Sie die Kentnnisnahme der Verbraucherinformationen durch Anklicken des Kästchens anerkennen!");
    document.antrag.verbraucherinfos.focus();    
	return false;    }

if(document.antrag.fernabsatz.checked) 			var chkFA = 1; 
if(chkFA != 1)
{   alert("Um den Antrag abzuschicken, müssen Sie die Informationen zum Fernabsatzgesetz durch Anklicken des Kästchens anerkennen!");
    document.antrag.fernabsatz.focus();    
	return false;    }

if(document.antrag.ausdrueckliche.checked) 			var chkAE = 1; 
if(chkAE != 1)
{   alert("Um den Antrag abzuschicken, müssen Sie die Ausdrücklichen Erklärungen durch Anklicken des Kästchens anerkennen!");
    document.antrag.ausdrueckliche.focus();    
	return false;    }

	
if(document.antrag.hv_avb.checked) var chkVB3 = 1;
if(chkVB3 != 1)
{      switch (dokulanguage) {
 case 'eng'	: alert("To send the application you must acknowledge the Conditions liability/accident insurance by clicking on the box!"); break;
    case 'esp'	: alert("¡Para formalizar el contrato, tiene que reconocer las condiciónes contractuales del seguro de responsabilidad civil y de accidentes marcando la casilla!");  break;
    case 'chn'	: text=String.fromCharCode(20026)+String.fromCharCode(20102)+String.fromCharCode(33021)+String.fromCharCode(22815)+String.fromCharCode(31614)+String.fromCharCode(23450)+String.fromCharCode(31532)+String.fromCharCode(19977)+String.fromCharCode(20154)+String.fromCharCode(36131)+String.fromCharCode(20219)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(65292)+String.fromCharCode(35831)+String.fromCharCode(22312)+String.fromCharCode(23567)+String.fromCharCode(26041)+String.fromCharCode(26684)+String.fromCharCode(19978)+String.fromCharCode(30011)+String.fromCharCode(21449)+String.fromCharCode(65292)+String.fromCharCode(34920)+String.fromCharCode(26126)+String.fromCharCode(24744)+String.fromCharCode(25509)+String.fromCharCode(25910)+String.fromCharCode(31532)+String.fromCharCode(19977)+String.fromCharCode(20154)+String.fromCharCode(36131)+String.fromCharCode(20219)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(25110)+String.fromCharCode(31532)+String.fromCharCode(19977)+String.fromCharCode(20154)+String.fromCharCode(36131)+String.fromCharCode(20219)+String.fromCharCode(20445)+String.fromCharCode(21152)+String.fromCharCode(24847)+String.fromCharCode(22806)+String.fromCharCode(20107)+String.fromCharCode(25925)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(30340)+String.fromCharCode(26465)+String.fromCharCode(20363); alert(text); break;
    case 'trk'	: alert("Ferdi mesuliyet sigortasini yapabilmek için kutucugu tiklayarak, ferdi mesuliyet veya ferdi mesuliyet ve ferdi kaza sigortasi ile ilgili sigorta sartlarini kabul etmeniz gerekmektedir.");  break;
       default	: alert("Um die Haftpflichtversicherung abschließen zu können, müssen Sie die Versicherungsbedingungen zur Haftpflichtversicherung bzw. zur Unfall und Haftpflichtversicherung durch Anklicken des Kästchens anerkennen!"); 
  }    
  document.antrag.hv_avb.focus();    
	return false;    }

if(document.antrag.heimatland.value==document.antrag.aufenthalt.value) {
    switch (dokulanguage) {
    case 'eng'	: alert("Residence before starting the trip/nationality and the country you are staying in during the insured period may not be identical!"); break;
    case 'esp'	: alert("El país de estancia durante el viaje y el domicilio antes del viaje no deben ser idénticos!");  break;
    case 'chn'	: text=String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(26399)+String.fromCharCode(38480)+String.fromCharCode(37324)+String.fromCharCode(20986)+String.fromCharCode(29983)+String.fromCharCode(22269)+String.fromCharCode(22269)+String.fromCharCode(31821)+String.fromCharCode(25152)+String.fromCharCode(22312)+String.fromCharCode(22269)+String.fromCharCode(21644)+String.fromCharCode(36887)+String.fromCharCode(30041)+String.fromCharCode(22269)+String.fromCharCode(19981)+String.fromCharCode(21487)+String.fromCharCode(20197)+String.fromCharCode(26159)+String.fromCharCode(21516)+String.fromCharCode(19968)+String.fromCharCode(22269)+String.fromCharCode(12290); alert(text); break;
    case 'trk'	: alert("Sigorta süresi içinde anavatan ve ikamet edilen ülke ayni olamaz!");  break;
       default	: alert("Heimatland vor der Reise und Aufenthaltsland während der Versicherungslaufzeit dürfen nicht identisch sein!"); 
  }

	document.antrag.aufenthalt.className = 'phpfehlermeldung'; 
	document.antrag.aufenthalt.focus();
	return false;    }

if(document.antrag.heimatland.value=="Deutschland" 
|| document.antrag.heimatland.value=="Oesterreich" 
|| document.antrag.heimatland.value=="Österreich" ) 
var chkland = 1;

if(document.antrag.aufenthalt.value=="Belgien" 
|| document.antrag.aufenthalt.value=="Bulgarien" 
|| document.antrag.aufenthalt.value=="Dänemark" 
|| document.antrag.aufenthalt.value=="Deutschland" 
|| document.antrag.aufenthalt.value=="Estland" 
|| document.antrag.aufenthalt.value=="Finnland" 
|| document.antrag.aufenthalt.value=="Frankreich" 
|| document.antrag.aufenthalt.value=="Griechenland" 
|| document.antrag.aufenthalt.value=="Irland" 
|| document.antrag.aufenthalt.value=="Italien" 
|| document.antrag.aufenthalt.value=="Lettland" 
|| document.antrag.aufenthalt.value=="Liechtenstein" 
|| document.antrag.aufenthalt.value=="Litauen" 
|| document.antrag.aufenthalt.value=="Luxemburg" 
|| document.antrag.aufenthalt.value=="Malta" 
|| document.antrag.aufenthalt.value=="Niederlande" 
|| document.antrag.aufenthalt.value=="Polen" 
|| document.antrag.aufenthalt.value=="Österreich" 
|| document.antrag.aufenthalt.value=="Oesterreich" 
|| document.antrag.aufenthalt.value=="Portugal" 
|| document.antrag.aufenthalt.value=="Rumänien" 
|| document.antrag.aufenthalt.value=="Schweden" 
|| document.antrag.aufenthalt.value=="Schweiz" 
|| document.antrag.aufenthalt.value=="Slowakei" 
|| document.antrag.aufenthalt.value=="Slowenien" 
|| document.antrag.aufenthalt.value=="Spanien" 
|| document.antrag.aufenthalt.value=="Tschechische Republik" 
|| document.antrag.aufenthalt.value=="Ungarn" 
|| document.antrag.aufenthalt.value=="United Kingdom" 
|| document.antrag.aufenthalt.value=="Großbritannien" 
|| document.antrag.aufenthalt.value=="Zypern" )
var chkland2 = 1;

if(chkland != 1 && chkland2 != 1 ) {
   switch (dokulanguage) {
    case 'eng'	: alert("Außerhalb Europas dürfen Sie sich in diesem Tarif nur versichern, wenn Sie zuvor Ihren festen Wohnsitz in Deutschland oder Österreich hatten."); break;
    case 'esp'	: alert("Außerhalb Europas dürfen Sie sich in diesem Tarif nur versichern, wenn Sie zuvor Ihren festen Wohnsitz in Deutschland oder Österreich hatten.");  break;
    case 'chn'	: alert("Außerhalb Europas dürfen Sie sich in diesem Tarif nur versichern, wenn Sie zuvor Ihren festen Wohnsitz in Deutschland oder Österreich hatten.");  break;
    case 'trk'	: alert("Außerhalb Europas dürfen Sie sich in diesem Tarif nur versichern, wenn Sie zuvor Ihren festen Wohnsitz in Deutschland oder Österreich hatten.");  break;
       default	: alert("Außerhalb Europas dürfen Sie sich in diesem Tarif nur versichern, wenn Sie zuvor Ihren festen Wohnsitz in Deutschland oder Österreich hatten."); 
  }
document.antrag.aufenthalt.className = 'phpfehlermeldung'; 
document.antrag.aufenthalt.focus(); 
return false; }

;  }
