function check_allgemein() {
var dokulanguage = document.antrag.dokulanguage.value;

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.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(typeof document.antrag.vnregion != "undefined") {
	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,"\;"); } ; }
if(document.antrag.vpvorname.value.indexOf(",")  != "-1") {
	document.antrag.vpvorname.value = document.antrag.vpvorname.value.replace(/\,/g,"\;"); }
if(document.antrag.vpname.value.indexOf(",")     != "-1") {
 	document.antrag.vpname.value = document.antrag.vpname.value.replace(/\,/g,"\;"); }
if(document.antrag.geburtsort.value.indexOf(",")  != "-1") {
	document.antrag.geburtsort.value = document.antrag.geburtsort.value.replace(/\,/g,"\;"); }
if(document.antrag.geburtsname.value.indexOf(",")     != "-1") {
 	document.antrag.geburtsname.value = document.antrag.geburtsname.value.replace(/\,/g,"\;"); }
if(document.antrag.uni.value.indexOf(",")     != "-1") {
 	document.antrag.uni.value = document.antrag.uni.value.replace(/\,/g,"\;"); }
if(document.antrag.arbeitgeber.value.indexOf(",")     != "-1") {
 	document.antrag.arbeitgeber.value = document.antrag.arbeitgeber.value.replace(/\,/g,"\;"); }
if(document.antrag.ansprechpartner.value.indexOf(",")     != "-1") {
 	document.antrag.ansprechpartner.value = document.antrag.ansprechpartner.value.replace(/\,/g,"\;"); }
if(document.antrag.ansprechpartner_tel.value.indexOf(",")     != "-1") {
 	document.antrag.ansprechpartner_tel.value = document.antrag.ansprechpartner_tel.value.replace(/\,/g,"\;"); }
if(document.antrag.vorversicherungsnummer.value.indexOf(",")     != "-1") {
 	document.antrag.vorversicherungsnummer.value = document.antrag.vorversicherungsnummer.value.replace(/\,/g,"\;"); }

if(document.antrag.familienversicherung[0].checked  	  	|| document.antrag.familienversicherung[1].checked)				{var test_familienversicherung = 1;}
if(document.antrag.kinder[0].checked  					  	|| document.antrag.kinder[1].checked)	   						{var test_kinder = 1;}
if(document.antrag.erstesfachsemester[0].checked 		  	|| document.antrag.erstesfachsemester[1].checked)				{var test_erstesfachsemester = 1;}
if(document.antrag.berufstaetig[0].checked  			  	|| document.antrag.berufstaetig[1].checked)	   					{var test_berufstaetig = 1;}
if(document.antrag.beteiligung[0].checked  				  	|| document.antrag.beteiligung[1].checked)	   					{var test_beteiligung = 1;}
if(document.antrag.selbststaendig[0].checked 			  	|| document.antrag.selbststaendig[1].checked)					{var test_selbststaendig = 1;}
if(document.antrag.versicherungspflichtigbefreit[0].checked || document.antrag.versicherungspflichtigbefreit[1].checked) 	{var test_versicherungspflichtigbefreit = 1;}
if(document.antrag.versicherungspflichtig[0].checked  	  	|| document.antrag.versicherungspflichtig[1].checked)   		{var test_versicherungspflichtig = 1;}
if(document.antrag.privatversichert[0].checked  		  	|| document.antrag.privatversichert[1].checked)					{var test_privatversichert = 1;}
if(document.antrag.vorversichertausland[0].checked  	  	|| document.antrag.vorversichertausland[1].checked)				{var test_vorversichertausland = 1;}
if(document.antrag.vorversichertccag[0].checked  		  	|| document.antrag.vorversichertccag[1].checked)				{var test_vorversichertccag = 1;}

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=="-1")
{   switch (dokulanguage) {
    case 'eng'	: alert("The date of birth of the insured person is not possible. Please enter again the date of birth!"); break;
    case 'esp'	: alert("La fecha de nacimiento de la persona asegurada no est valido. Por favor corrija la fecha de nacimiento.");  break;
    case 'chn'	: text=String.fromCharCode(31532)+String.fromCharCode(19968)+String.fromCharCode(20010)+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(19981)+String.fromCharCode(27491)+String.fromCharCode(30830)+String.fromCharCode(65292)+String.fromCharCode(35831)+String.fromCharCode(24744)+String.fromCharCode(37325)+String.fromCharCode(26032)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(27491)+String.fromCharCode(30830)+String.fromCharCode(30340)+String.fromCharCode(20986)+String.fromCharCode(29983)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(12290); alert(text); break;
    case 'trk'	: alert("Sigortalanacak birinci kisinin dogum tarihi yanlis. Dogum tarihini tekrar veriniz.");  break;
       default	: alert("Das Geburtsdatum der zu versichernden Person ist nicht möglich. Geben Sie bitte das Geburtsdatum neu ein!"); 
  }
	document.antrag.vpgebjahr.className = 'phpfehlermeldung'; 
    document.antrag.vpgebjahr.focus();
    return false;  } 

if(document.antrag.nationalitaet.value=="Bitte Auswählen" || document.antrag.nationalitaet.value=="Bitte auswählen") {
    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.familienstand.value==""
 || document.antrag.familienstand.value=="Bitte Auswählen"
 || document.antrag.familienstand.value=="--") {
    switch (dokulanguage) {
    case 'eng'	: alert("Please select the insured's marital status!"); break;
    case 'esp'	: alert("Wählen Sie den Familienstand der zu versichernden Person aus!");  break;
    case 'chn'	: alert("Wählen Sie den Familienstand der zu versichernden Person aus!"); break;
    case 'trk'	: alert("Lütfen sigortali sahsin medeni hali giriniz!");  break;
       default	: alert("Wählen Sie den Familienstand der zu versichernden Person aus!"); 
  }

	document.antrag.familienstand.className = 'phpfehlermeldung'; 
	document.antrag.familienstand.focus();
	return false;    }
	
if( document.antrag.rentenversicherungsnummer.value==""
 || document.antrag.rentenversicherungsnummer.value=="Rentenversicherungsnummer"
 || document.antrag.rentenversicherungsnummer.value=="--") {
    switch (dokulanguage) {
    case 'eng'	: alert("Please enter the pensions insurance number for the person to be insured. You will find this on your “Rentenversicherungsausweis” and normally also on your payslip. If you still have no pensions insurance number, please enter “Neuantrag” in this field.  Hamburg Münchener will then apply for a pension ID for you."); break;
    case 'esp'	: alert("Geben Sie bitte die Rentenversicherungsnummer der zu versichernden Person ein. Diese finden Sie auf Ihren Rentenversicherungsausweis und für gewöhnlich auch auf Ihrer Lohnabrechnung. Sollten Sie noch keine Rentenversicherungsnummer haben, tragen Sie bitte 'Neuantrag' in das Feld ein. Die Hamburg Münchener Krankenkasse wird dann einen Rentenausweis für Sie beantragen.");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(27880)+String.fromCharCode(26126)+String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(30340)+String.fromCharCode(31038)+String.fromCharCode(20250)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(21495)+String.fromCharCode(12290)+String.fromCharCode(36825)+String.fromCharCode(20010)+String.fromCharCode(21495)+String.fromCharCode(30721)+String.fromCharCode(24744)+String.fromCharCode(21487)+String.fromCharCode(20197)+String.fromCharCode(22312)+String.fromCharCode(31038)+String.fromCharCode(20250)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(35777)+String.fromCharCode(26126)+String.fromCharCode(21644)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(31246)+String.fromCharCode(21345)+String.fromCharCode(19978)+String.fromCharCode(25214)+String.fromCharCode(21040)+String.fromCharCode(12290)+String.fromCharCode(22914)+String.fromCharCode(26524)+String.fromCharCode(24744)+String.fromCharCode(29616)+String.fromCharCode(22312)+String.fromCharCode(36824)+String.fromCharCode(27809)+String.fromCharCode(26377)+String.fromCharCode(31038)+String.fromCharCode(20250)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(21495)+String.fromCharCode(65292)+String.fromCharCode(35831)+String.fromCharCode(36873)+String.fromCharCode(25321)+"')"+String.fromCharCode(26032)+String.fromCharCode(30003)+String.fromCharCode(35831)+"')"+String.fromCharCode(12290)+"HMK"+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20844)+String.fromCharCode(21496)+String.fromCharCode(23558)+String.fromCharCode(20250)+String.fromCharCode(20026)+String.fromCharCode(24744)+String.fromCharCode(30003)+String.fromCharCode(35831)+String.fromCharCode(19968)+String.fromCharCode(20010)+String.fromCharCode(31038)+String.fromCharCode(20250)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(35777)+String.fromCharCode(26126)+String.fromCharCode(12290); alert(text); break;
    case 'trk'	: alert("Lütfen sigorta edilecek kisinin emeklilik sigortasinin numarasini bildirin. Bu numara emeklilik kartinda veya genelde maas bordrosunun üstünde bulunuyor. Eger henüz emeklilik sigorta numaraniz yoksa, lütfen ilgili alana ‘Neuantrag’ yaziniz. Bu durumda Hamburg Münchener saglik sigortasi sizin emeklilik kartiniz için basvuracaktir.");  break;
       default	: alert("Geben Sie bitte die Rentenversicherungsnummer der zu versichernden Person ein. Diese finden Sie auf Ihren Rentenversicherungsausweis und für gewöhnlich auch auf Ihrer Lohnabrechnung. Sollten Sie noch keine Rentenversicherungsnummer haben, tragen Sie bitte 'Neuantrag' in das Feld ein. Die Hamburg Münchener Krankenkasse wird dann einen Rentenausweis für Sie beantragen."); 
  }

	document.antrag.rentenversicherungsnummer.className = 'phpfehlermeldung'; 
	document.antrag.rentenversicherungsnummer.focus();
	return false;    }
	
if( document.antrag.rentenversicherungsnummer.value=="Neuantrag") { var rente = 'neu' }
if( document.antrag.rentenversicherungsnummer.value=="Neuantrag"
&& (document.antrag.geburtsname.value==""
 || document.antrag.geburtsname.value==" "
 || document.antrag.geburtsname.value=="--"
 || document.antrag.geburtsname.value=="Geburtsname")) {
        switch (dokulanguage) {
    case 'eng'	: alert("Please enter the insured’s birth name (name)!"); break;
    case 'esp'	: alert("Geben Sie den Geburtsnamen (Nachname) der zu versichernden Person an!");  break;
    case 'chn'	: alert("Geben Sie den Geburtsnamen (Nachname) der zu versichernden Person an!"); break;
    case 'trk'	: alert("Lütfen sigortali sahsin kizlik soyadi(soyadini) giriniz!");  break;
       default	: alert("Geben Sie den Geburtsnamen (Nachname) der zu versichernden Person an!"); 
  }

	document.antrag.geburtsname.className = 'phpfehlermeldung'; 
	document.antrag.geburtsname.focus();
	return false;   }
	
	 
if( document.antrag.rentenversicherungsnummer.value=="Neuantrag"
&& (document.antrag.geburtsort.value==""
 || document.antrag.geburtsort.value==" "
 || document.antrag.geburtsort.value=="--"
 || document.antrag.geburtsort.value=="Geburtsort")) {
    switch (dokulanguage) {
    case 'eng'	: alert("Please enter the insured’s birthplace!"); break;
    case 'esp'	: alert("Geben Sie den Geburtsort der zu versichernden Person an!");  break;
    case 'chn'	: alert("Geben Sie den Geburtsort der zu versichernden Person an!"); break;
    case 'trk'	: alert("Lütfen sigortali sahsin dogum yeri giriniz!");  break;
       default	: alert("Geben Sie den Geburtsort der zu versichernden Person an!"); 
  }

	document.antrag.geburtsort.className = 'phpfehlermeldung'; 
	document.antrag.geburtsort.focus();
	return false;   }

	
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;
	
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;}

var chkZ2 = 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")
chkZ2 = -1;

var chkZ1 = 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")
chkZ1 = -1;

if(chkZ2 == -1)
{   switch (dokulanguage) {
    case 'eng'	: alert("The bank sorting code may only contain numbers!"); break;
    case 'esp'	: alert("¡Falta la clave bancaria!¡En la casilla clave bancaria 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(38134)+String.fromCharCode(34892)+String.fromCharCode(32534)+String.fromCharCode(30721)+String.fromCharCode(38134)+String.fromCharCode(34892)+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)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("Banka kodu sadece rakamlar içerebilir!");  break;
       default	: alert("Geben Sie bitte eine gültige Bankleitzahl (darf nur Zahlen beinhalten) an!"); 
  }
	document.antrag.blz.className = 'phpfehlermeldung'; 
    document.antrag.blz.focus();
    return false;    }
	
if(chkZ1 == -1)
{   switch (dokulanguage) {
    case 'eng'	: alert("Please enter your bank account number!"); break;
    case 'esp'	: alert("¡Falta el número de cuenta!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(24080)+String.fromCharCode(21495); alert(text); break;
    case 'trk'	: alert("Lütfen hesap numaranizi belirtiniz!");  break;
       default	: alert("Bitte geben Sie Ihre Kontonummer ein!"); 
  }
	document.antrag.ktonr.className = 'phpfehlermeldung'; 
	document.antrag.ktonr.focus();
	return false;    }
	
	if(document.antrag.ktonr.value == "" || document.antrag.ktonr.value < 1000) 
{   
   switch (dokulanguage) {
    case 'eng'	: alert("The account number must contain at least 4 numbers."); break;
    case 'esp'	: alert("¡El número de cuenta tiene que contener al minimo 4 numeros. Por favor rellene los datos que faltas!");  break;
    case 'chn'	: text=String.fromCharCode(24080)+String.fromCharCode(21495)+String.fromCharCode(19981)+String.fromCharCode(33021)+String.fromCharCode(23569)+String.fromCharCode(20110)+'4'+String.fromCharCode(20301)+String.fromCharCode(25968)+'.'+String.fromCharCode(35831)+String.fromCharCode(34917)+String.fromCharCode(20805)+String.fromCharCode(24182)+String.fromCharCode(23436)+String.fromCharCode(21892)+String.fromCharCode(25152)+String.fromCharCode(32473)+String.fromCharCode(20449)+String.fromCharCode(24687)+'!'; alert(text); break;
    case 'trk'	: alert("Hesap numaraniz en az dört rakamli olamali. Lütfen verilerinizi tamamlayin!");  break;
       default	: alert("Die Kontonummer muss mindestens vier Ziffern lang sein. Bitte vervollständigen Sie ihre Angaben!"); 
  }
	document.antrag.ktonr.className = 'phpfehlermeldung'; 
	document.antrag.ktonr.focus();
	return false;    }
	
if(document.antrag.blz.value == "" || document.antrag.blz.value < 10000) 
{   
   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.versicherungsbeginntag.value==""
 || document.antrag.versicherungsbeginntag.value=="--")
  { switch (dokulanguage) {
    case 'eng'	: alert("Please indicate when coverage [day] should begin!"); break;
    case 'esp'	: alert("¡Seleccione a partir de cuándo el seguro debe empecar![día]");  break;
    case 'chn'	: text=String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(24320)+String.fromCharCode(22987)+String.fromCharCode(26102)+String.fromCharCode(38388)+String.fromCharCode(65288)+String.fromCharCode(22825)+String.fromCharCode(65289)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Lütfen sigortanin ne zaman baslamasini istediginizi seçiniz!");  break;
       default	: alert("Versicherungsbeginn [Tag] ist unvollständig!"); 
  }
	document.antrag.versicherungsbeginntag.className = 'phpfehlermeldung'; 
	document.antrag.versicherungsbeginntag.focus();
	return false;    }

if(document.antrag.versicherungsbeginnmonat.value==""
 || document.antrag.versicherungsbeginnmonat.value=="--")
 {  switch (dokulanguage) {
    case 'eng'	: alert("Please indicate when coverage [month] should begin!"); break;
    case 'esp'	: alert("¡Seleccione a partir de cuándo el seguro debe empecar![mes]");  break;
    case 'chn'	: text=String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(24320)+String.fromCharCode(22987)+String.fromCharCode(26102)+String.fromCharCode(38388)+String.fromCharCode(65288)+String.fromCharCode(26376)+String.fromCharCode(65289)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Lütfen sigortanin ne zaman baslamasini istediginizi seçiniz!");  break;
       default	: alert("Versicherungsbeginn [Monat] ist unvollständig!"); 
  }

	document.antrag.versicherungsbeginnmonat.className = 'phpfehlermeldung'; 
	document.antrag.versicherungsbeginnmonat.focus();
	return false;    }

if(document.antrag.versicherungsbeginnjahr.value==""
 || document.antrag.versicherungsbeginnjahr.value=="--")
{    switch (dokulanguage) {
    case 'eng'	: alert("Please indicate when coverage [year] should begin!"); break;
    case 'esp'	: alert("¡Seleccione a partir de cuándo el seguro debe empecar![año]");  break;
    case 'chn'	: text=String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(24320)+String.fromCharCode(22987)+String.fromCharCode(26102)+String.fromCharCode(38388)+String.fromCharCode(65288)+String.fromCharCode(24180)+String.fromCharCode(65289)+String.fromCharCode(19981)+String.fromCharCode(23436)+String.fromCharCode(25972); alert(text); break;
    case 'trk'	: alert("Lütfen sigortanin ne zaman baslamasini istediginizi seçiniz!");  break;
       default	: alert("Versicherungsbeginn [Jahr] ist unvollständig!"); 
  }
	document.antrag.versicherungsbeginnjahr.className = 'phpfehlermeldung'; 
	document.antrag.versicherungsbeginnjahr.focus();
	return false;    }

if(document.antrag.vpalter.value < 18 )
{   
    switch (dokulanguage) {
    case 'eng'	: alert("Taking out an inurancey is possible from an age of 18 years. Please phone us for advice. You can reach our Sales department at +49 228 97735-44."); break;
    case 'esp'	: alert("Um einen Versicherungsvertrag abschließen zu können müssen Sie mindestens 18 Jahre alt sein. Bitte setzen Sie sich zwecks Beratung telefonisch mit uns in Verbindung. Sie erreichen unsere Vertriebsabteilung unter +49 228 97735-44.");  break;
    case 'chn'	: alert("Um einen Versicherungsvertrag abschließen zu können müssen Sie mindestens 18 Jahre alt sein. Bitte setzen Sie sich zwecks Beratung telefonisch mit uns in Verbindung. Sie erreichen unsere Vertriebsabteilung unter +49 228 97735-44."); break;
    case 'trk'	: alert("Um einen Versicherungsvertrag abschließen zu können müssen Sie mindestens 18 Jahre alt sein. Bitte setzen Sie sich zwecks Beratung telefonisch mit uns in Verbindung. Sie erreichen unsere Vertriebsabteilung unter +49 228 97735-44.");  break;
       default	: alert("Um einen Versicherungsvertrag abschließen zu können müssen Sie mindestens 18 Jahre alt sein. Bitte setzen Sie sich zwecks Beratung telefonisch mit uns in Verbindung. Sie erreichen unsere Vertriebsabteilung unter +49 228 97735-44."); 
  }

    return false;    }
	
if(document.antrag.vpalter.value >= 29 )
{   
    switch (dokulanguage) {
    case 'eng'	: alert("Statutory health insurance can only be taken out up to the age of 30. Please phone us for advice. You can reach our Sales department at +49 228 97735-44."); break;
    case 'esp'	: alert("Die gesetzliche Krankenversicherung kann nur bis zum 30sten Lebensjahr abgeschlossen werden. Bitte setzen Sie sich zwecks Beratung telefonisch mit uns in Verbindung. Sie erreichen unsere Vertriebsabteilung unter +49 228 97735-44.");  break;
    case 'chn'	: text=String.fromCharCode(21482)+String.fromCharCode(26377)+String.fromCharCode(24180)+String.fromCharCode(40836)+String.fromCharCode(26410)+String.fromCharCode(28385)+"30"+String.fromCharCode(21608)+String.fromCharCode(23681)+String.fromCharCode(30340)+String.fromCharCode(22823)+String.fromCharCode(23398)+String.fromCharCode(29983)+String.fromCharCode(65292)+String.fromCharCode(25165)+String.fromCharCode(21487)+String.fromCharCode(20197)+String.fromCharCode(30003)+String.fromCharCode(35831)+String.fromCharCode(27861)+String.fromCharCode(23450)+String.fromCharCode(21307)+String.fromCharCode(30103)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(12290)+String.fromCharCode(26377)+String.fromCharCode(20219)+String.fromCharCode(20309)+String.fromCharCode(38382)+String.fromCharCode(39064)+String.fromCharCode(65292)+String.fromCharCode(24744)+String.fromCharCode(21487)+String.fromCharCode(20197)+String.fromCharCode(30005)+String.fromCharCode(35805)+String.fromCharCode(32852)+String.fromCharCode(31995)+String.fromCharCode(25105)+String.fromCharCode(20204)+String.fromCharCode(12290)+String.fromCharCode(24744)+String.fromCharCode(21487)+String.fromCharCode(20197)+String.fromCharCode(25320)+String.fromCharCode(25171)+"123"+String.fromCharCode(32852)+String.fromCharCode(31995)+String.fromCharCode(25105)+String.fromCharCode(20204)+String.fromCharCode(30340)+String.fromCharCode(38144)+String.fromCharCode(21806)+String.fromCharCode(37096)+String.fromCharCode(38376)+String.fromCharCode(12290); alert(text); break;
    case 'trk'	: alert("Resmi saglik sigortasi sadece 30 yasina kadar yapilabilir. Daha fazla bilgi almak için lütfen  +49 228 97735-44 nolu telefondan satis departmanimiz ile temasa geçininiz.");  break;
       default	: alert("Die gesetzliche Krankenversicherung kann nur bis zum 30sten Lebensjahr abgeschlossen werden. Bitte setzen Sie sich zwecks Beratung telefonisch mit uns in Verbindung. Sie erreichen unsere Vertriebsabteilung unter +49 228 97735-44."); 
  }

	return false;   }
	
/* zusätzliche Kontaktangaben */

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; }

if(document.antrag.rentenversicherungsnummer.value != "Neuantrag") {
var rv_rechnung = document.antrag.rentenversicherungsnummer.value ;
var rvnr_bereich = rv_rechnung.slice(0, 2);
var rvnr_gebtag = rv_rechnung.slice(2, 4);
var rvnr_gebmon = rv_rechnung.slice(4, 6);
var rvnr_gebjahr = rv_rechnung.slice(6, 8);
var rvnr_char = rv_rechnung.slice(8, 9);
var gebtagcheck = document.antrag.vpgebtag.value;
var gebmoncheck = document.antrag.vpgebmonat.value;
var gebjahrcheck = document.antrag.vpgebjahr.value.slice(2,4);
if(document.antrag.geburtsname.value != "Geburtsname") { 
var gebnamecheck = document.antrag.geburtsname.value.slice(0,1); }
else { var gebnamecheck = document.antrag.vpname.value.slice(0,1); };

if(rvnr_gebtag != gebtagcheck || rvnr_gebmon != gebmoncheck || rvnr_gebjahr != gebjahrcheck) {
    switch (dokulanguage) {
    case 'eng'	: alert("The pensions insurance number you entered is incorrect. The 3rd to 8th digits represent the insured’s date of birth in the format DDMMYY."); break;
    case 'esp'	: alert("Die eingegebene Rentenversicherungsnummmer ist fehlerhaft. Die 3. - 8. Stelle entspricht dem Geburtsdatum der versicherten Person im Format TTMMJJ! Bitte geben Sie nur eine gültige Rentenversicherungsnummer an!");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(30340)+String.fromCharCode(31038)+String.fromCharCode(20250)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(21495)+String.fromCharCode(30721)+String.fromCharCode(26377)+String.fromCharCode(38169)+String.fromCharCode(35823)+String.fromCharCode(12290)+String.fromCharCode(31532)+"3"+String.fromCharCode(21040)+"8"+String.fromCharCode(20301)+String.fromCharCode(30340)+String.fromCharCode(25968)+String.fromCharCode(23383)+String.fromCharCode(24212)+String.fromCharCode(35813)+String.fromCharCode(19982)+String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(30340)+String.fromCharCode(29983)+String.fromCharCode(26085)+String.fromCharCode(65288)+String.fromCharCode(26085)+"/"+String.fromCharCode(26376)+"/"+String.fromCharCode(24180)+String.fromCharCode(65289)+String.fromCharCode(24819)+String.fromCharCode(31526)+String.fromCharCode(21512)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("Verdiginiz emeklilik sigorta numarasi yanlis. 3cü ve 8inci haneler gün/ ay/ sene formatinda sigortalanankisinin dogum tarihine tekabul etmektedir.");  break;
       default	: alert("Die eingegebene Rentenversicherungsnummmer ist fehlerhaft. Die 3. - 8. Stelle entspricht dem Geburtsdatum der versicherten Person im Format TTMMJJ! Bitte geben Sie nur eine gültige Rentenversicherungsnummer an!"); 
  }

	document.antrag.rentenversicherungsnummer.className = 'phpfehlermeldung'; 
	document.antrag.rentenversicherungsnummer.focus();
	return false;};

if(gebnamecheck != rvnr_char) {	
    switch (dokulanguage) {
    case 'eng'	: alert("The pensions insurance number you entered is incorrect.31. The 9th digit represents the first letter of the insured’s maiden name. Please enter a valid pensions insurance number and remember that the field is case-sensitive."); break;
    case 'esp'	: alert("Die eingegebene Rentenversicherungsnummer ist fehlerhaft. Die 9te Stelle entspricht dem Anfangsbuchstaben des Geburtsnamens des Versicherten. Bitte geben Sie nur eine gültige Rentenversicherungsnummer an und achten Sie auf Groß- bzw. Kleinschreibung!");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(30340)+String.fromCharCode(31038)+String.fromCharCode(20250)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(21495)+String.fromCharCode(30721)+String.fromCharCode(26377)+String.fromCharCode(38169)+String.fromCharCode(35823)+String.fromCharCode(12290)+String.fromCharCode(31532)+"9"+String.fromCharCode(20301)+String.fromCharCode(30340)+String.fromCharCode(25968)+String.fromCharCode(23383)+String.fromCharCode(24212)+String.fromCharCode(35813)+String.fromCharCode(19982)+String.fromCharCode(34987)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20154)+String.fromCharCode(22995)+String.fromCharCode(30340)+String.fromCharCode(31532)+String.fromCharCode(19968)+String.fromCharCode(20010)+String.fromCharCode(23383)+String.fromCharCode(27597)+String.fromCharCode(24819)+String.fromCharCode(31526)+String.fromCharCode(21512)+String.fromCharCode(12290)+String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(26377)+String.fromCharCode(25928)+String.fromCharCode(30340)+String.fromCharCode(31038)+String.fromCharCode(20250)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(21495)+String.fromCharCode(30721)+String.fromCharCode(65292)+String.fromCharCode(35831)+String.fromCharCode(27880)+String.fromCharCode(24847)+String.fromCharCode(22823)+String.fromCharCode(23567)+String.fromCharCode(20889)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("9uncu hane sigortalinin kizlik soyadinin basharifine tekabül ediyor. Lütfen sadece bir dogru emeklilik sigorta numarasi veriniz ve büyük veya küçük harfle yazilislara dikkat ediniz.");  break;
       default	: alert("Die eingegebene Rentenversicherungsnummer ist fehlerhaft. Die 9te Stelle entspricht dem Anfangsbuchstaben des Geburtsnamens des Versicherten. Bitte geben Sie nur eine gültige Rentenversicherungsnummer an und achten Sie auf Groß- bzw. Kleinschreibung!"); 
  }

	document.antrag.rentenversicherungsnummer.className = 'phpfehlermeldung'; 
	document.antrag.rentenversicherungsnummer.focus();
	return false;
};
};

if(document.antrag.studiumbeginntag.value==""
 || document.antrag.studiumbeginntag.value=="--")
  { 
     switch (dokulanguage) {
    case 'eng'	: alert("Please choose when your course begins. The day has not been selected"); break;
    case 'esp'	: alert("Bitte wählen Sie aus, wann Ihr Studium beginnt. Der Tag ist nicht ausgewählt!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(36873)+String.fromCharCode(25321)+String.fromCharCode(65292)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(23398)+String.fromCharCode(19994)+String.fromCharCode(20309)+String.fromCharCode(26102)+String.fromCharCode(24320)+String.fromCharCode(22987)+String.fromCharCode(12290)+String.fromCharCode(24744)+String.fromCharCode(27809)+String.fromCharCode(26377)+String.fromCharCode(36873)+String.fromCharCode(25321)+String.fromCharCode(20855)+String.fromCharCode(20307)+String.fromCharCode(30340)+String.fromCharCode(26085)+String.fromCharCode(26399)+String.fromCharCode(65281); alert(text); break;
    case 'trk'	: alert("Lütfen üniversite ögreniminizin ne zaman basladigini seçiniz. Gün seçmemissiniz!");  break;
       default	: alert("Bitte wählen Sie aus, wann Ihr Studium beginnt. Der Tag ist nicht ausgewählt!"); 
  }
	document.antrag.studiumbeginntag.className = 'phpfehlermeldung'; 
	document.antrag.studiumbeginntag.focus();
	return false;   }

if(document.antrag.studiumbeginnmonat.value==""
 || document.antrag.studiumbeginnmonat.value=="--")
  { 
      switch (dokulanguage) {
    case 'eng'	: alert("Please choose when your course begins. The month has not been selected."); break;
    case 'esp'	: alert("Bitte wählen Sie aus, wann Ihr Studium beginnt. Der Monat ist nicht ausgewählt!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(36873)+String.fromCharCode(25321)+String.fromCharCode(65292)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(23398)+String.fromCharCode(19994)+String.fromCharCode(20309)+String.fromCharCode(26102)+String.fromCharCode(24320)+String.fromCharCode(22987)+String.fromCharCode(12290); alert(text); break;
    case 'trk'	: alert("Lütfen üniversite ögreniminizin ne zaman basladigini seçiniz. Ay seçmemissiniz!");  break;
       default	: alert("Bitte wählen Sie aus, wann Ihr Studium beginnt. Der Monat ist nicht ausgewählt!"); 
  }

	document.antrag.studiumbeginnmonat.className = 'phpfehlermeldung'; 
	document.antrag.studiumbeginnmonat.focus();
	return false;    }

if(document.antrag.studiumbeginnjahr.value==""
 || document.antrag.studiumbeginnjahr.value=="--")
  { 
      switch (dokulanguage) {
    case 'eng'	: alert("Please choose when your course begins. The year has not been selected!"); break;
    case 'esp'	: alert("Bitte wählen Sie aus, wann Ihr Studium beginnt. Das Jahr ist nicht ausgewählt!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(36873)+String.fromCharCode(25321)+String.fromCharCode(65292)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(23398)+String.fromCharCode(19994)+String.fromCharCode(20309)+String.fromCharCode(26102)+String.fromCharCode(24320)+String.fromCharCode(22987)+String.fromCharCode(12290); alert(text); break;
    case 'trk'	: alert("Lütfen üniversite ögreniminizin ne zaman basladigini seçiniz. Sene seçmemissiniz!");  break;
       default	: alert("Bitte wählen Sie aus, wann Ihr Studium beginnt. Das Jahr ist nicht ausgewählt!"); 
  }

	document.antrag.studiumbeginnjahr.className = 'phpfehlermeldung'; 
	document.antrag.studiumbeginnjahr.focus();
	return false;  }	
if(document.antrag.uni.value==""
 || document.antrag.uni.value=="--")
  { 
  
      switch (dokulanguage) {
    case 'eng'	: alert("Please enter the name of the college or university!"); break;
    case 'esp'	: alert("Bitte geben Sie an, an welcher (Fach-)Hochschule Sie studieren bzw. studieren werden!");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(22312)+String.fromCharCode(27492)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(32473)+String.fromCharCode(20986)+String.fromCharCode(24744)+String.fromCharCode(25152)+String.fromCharCode(22312)+String.fromCharCode(23398)+String.fromCharCode(26657)+String.fromCharCode(30340)+String.fromCharCode(21517)+String.fromCharCode(31216)+String.fromCharCode(65306); alert(text); break;
    case 'trk'	: alert("Lütfen üniversitenizin adini bildiriniz!");  break;
       default	: alert("Bitte geben Sie an, an welcher (Fach-)Hochschule Sie studieren bzw. studieren werden!"); 
  }

	document.antrag.uni.className = 'phpfehlermeldung'; 
	document.antrag.uni.focus();
	return false;    }
	
if(test_familienversicherung != 1) 		  		{
	switch (dokulanguage) {
    case 'eng'	: alert("Do you need free family insurance for your dependents?"); break;
    case 'esp'	: alert("Bitte geben Sie an, ob Sie die kostenlose Familienversicherung benötigen.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(38656)+String.fromCharCode(35201)+String.fromCharCode(19968)+String.fromCharCode(20221)+String.fromCharCode(20813)+String.fromCharCode(36153)+String.fromCharCode(23478)+String.fromCharCode(24237)+String.fromCharCode(25104)+String.fromCharCode(21592)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(21527)+String.fromCharCode(65311); alert(text); break;
    case 'trk'	: alert("Aile üyeleriniz için ücretsiz aile sigortasina ihtiyaciniz var mi?");  break;
       default	: alert("Bitte geben Sie an, ob Sie die kostenlose Familienversicherung benötigen."); 
  }

	document.antrag.familienversicherung[0].className = 'phpfehlermeldung'; 
	document.antrag.familienversicherung[0].focus();
	return false; }
if(test_kinder != 1) 					  		{
	switch (dokulanguage) {
    case 'eng'	: alert("Do you have children?"); break;
    case 'esp'	: alert("Bitte geben sie an, ob Sie Kinder haben.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(26377)+String.fromCharCode(23376)+String.fromCharCode(22899)+String.fromCharCode(21527)+String.fromCharCode(65311); alert(text); break;
    case 'trk'	: alert("Çocugunuz var mi?");  break;
       default	: alert("Bitte geben sie an, ob Sie Kinder haben."); 
  }

	document.antrag.kinder[0].className = 'phpfehlermeldung'; 
	document.antrag.kinder[0].focus();
	return false; }
if(test_erstesfachsemester != 1) 		  		{
	switch (dokulanguage) {
    case 'eng'	: alert("Are you applying for this insurance for your first semester (in Germany)?"); break;
    case 'esp'	: alert("Bitte geben Sie an, ob die Krankenversicherung zum ersten Fachsemester beginnen soll.");  break;
    case 'chn'	: text=String.fromCharCode(30003)+String.fromCharCode(35831)+String.fromCharCode(36825)+String.fromCharCode(20221)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(26102)+","+String.fromCharCode(24744)+String.fromCharCode(26159)+String.fromCharCode(21018)+String.fromCharCode(21018)+String.fromCharCode(24320)+String.fromCharCode(22987)+String.fromCharCode(24744)+String.fromCharCode(22312)+String.fromCharCode(24503)+String.fromCharCode(22269)+String.fromCharCode(23398)+String.fromCharCode(19994)+String.fromCharCode(21527)+String.fromCharCode(65311); alert(text); break;
    case 'trk'	: alert("Sigorta basvurunuzu (Almanyada) ilk yariyil için mi yapiyorsunuz?");  break;
       default	: alert("Bitte geben Sie an, ob die Krankenversicherung zum ersten Fachsemester beginnen soll."); 
  }

	document.antrag.erstesfachsemester[0].className = 'phpfehlermeldung'; 
	document.antrag.erstesfachsemester[0].focus();
	return false; }
if(test_berufstaetig != 1) 				  		{
	switch (dokulanguage) {
    case 'eng'	: alert("Do you perform paid work for more than 20 hours a week?"); break;
    case 'esp'	: alert("Bitte geben Sie an, ob Sie mehr als 20 Stunden pro Monat beschäftigt bzw. erwerbstätig sind.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(27599)+String.fromCharCode(21608)+String.fromCharCode(25171)+String.fromCharCode(24037)+String.fromCharCode(26102)+String.fromCharCode(38388)+String.fromCharCode(25110)+String.fromCharCode(22788)+String.fromCharCode(29702)+String.fromCharCode(26412)+String.fromCharCode(20844)+String.fromCharCode(21496)+String.fromCharCode(19994)+String.fromCharCode(21153)+String.fromCharCode(30340)+String.fromCharCode(26102)+String.fromCharCode(38388)+String.fromCharCode(36229)+String.fromCharCode(36807)+"20"+String.fromCharCode(23567)+String.fromCharCode(26102)+String.fromCharCode(21527)+String.fromCharCode(65311); alert(text); break;
    case 'trk'	: alert("Bir iste haftada 20 saaten fazla çalisiyormusunuz?");  break;
       default	: alert("Bitte geben Sie an, ob Sie mehr als 20 Stunden pro Monat beschäftigt bzw. erwerbstätig sind."); 
  }

	document.antrag.berufstaetig[0].className = 'phpfehlermeldung'; 
	document.antrag.berufstaetig[0].focus();
	return false;}

if(document.antrag.berufstaetig[0].checked  
&& document.antrag.arbeitgeber.value == "")  {
	    switch (dokulanguage) {
    case 'eng'	: alert("You have indicated that you work more than 20 hours per week, but have given no employer information. Please complete all the fields concerning your employer."); break;
    case 'esp'	: alert("Sie haben angegeben, dass Sie mehr als 20 Stunden pro Woche arbeiten, aber keinen Arbeitgeber angegeben. Bitte füllen Sie alle Felder zum Arbeitgeber aus.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(21069)+String.fromCharCode(38754)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(24744)+String.fromCharCode(27599)+String.fromCharCode(21608)+String.fromCharCode(24037)+String.fromCharCode(20316)+String.fromCharCode(26102)+String.fromCharCode(38388)+String.fromCharCode(36229)+String.fromCharCode(36807)+"20"+String.fromCharCode(23567)+String.fromCharCode(26102)+String.fromCharCode(65292)+String.fromCharCode(20294)+String.fromCharCode(26159)+String.fromCharCode(24744)+String.fromCharCode(27809)+String.fromCharCode(26377)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(20844)+String.fromCharCode(21496)+String.fromCharCode(30340)+String.fromCharCode(21517)+String.fromCharCode(31216)+String.fromCharCode(12290)+String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(24744)+String.fromCharCode(25152)+String.fromCharCode(22312)+String.fromCharCode(20844)+String.fromCharCode(21496)+String.fromCharCode(30340)+String.fromCharCode(26377)+String.fromCharCode(20851)+String.fromCharCode(20449)+String.fromCharCode(24687); alert(text); break;
    case 'trk'	: alert("Haftada 20 saaten fazla calisdiginizi belirtmissiniz, ama maalesef is verenin adini yazmamissiniz. Lütfen is veren ile ilgili tüm alanlari doldurunuz.");  break;
       default	: alert("Sie haben angegeben, dass Sie mehr als 20 Stunden pro Woche arbeiten, aber keinen Arbeitgeber angegeben. Bitte füllen Sie alle Felder zum Arbeitgeber aus."); 
  }

	document.antrag.arbeitgeber.className = 'phpfehlermeldung'; 
	document.antrag.arbeitgeber.focus();
	return false; }

if(document.antrag.berufstaetig[0].checked  
&& document.antrag.ansprechpartner.value == "")  {
	    switch (dokulanguage) {
    case 'eng'	: alert("You have ticked that you work more than 20 hours per week, but have not entered a contact person. Please complete all the fields concerning your employer."); break;
    case 'esp'	: alert("Sie haben angekreuzt, dass Sie mehr als 20 Stunden pro Woche arbeiten, aber keinen Ansprechpartner eingetragen. Bitte füllen Sie alle Felder zum Arbeitgeber aus.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(21069)+String.fromCharCode(38754)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(24744)+String.fromCharCode(27599)+String.fromCharCode(21608)+String.fromCharCode(24037)+String.fromCharCode(20316)+String.fromCharCode(26102)+String.fromCharCode(38388)+String.fromCharCode(36229)+String.fromCharCode(36807)+"20"+String.fromCharCode(23567)+String.fromCharCode(26102)+String.fromCharCode(65292)+String.fromCharCode(20294)+String.fromCharCode(26159)+String.fromCharCode(24744)+String.fromCharCode(27809)+String.fromCharCode(26377)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(20844)+String.fromCharCode(21496)+String.fromCharCode(30340)+String.fromCharCode(21517)+String.fromCharCode(31216)+String.fromCharCode(12290)+String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(24744)+String.fromCharCode(25152)+String.fromCharCode(22312)+String.fromCharCode(20844)+String.fromCharCode(21496)+String.fromCharCode(30340)+String.fromCharCode(26377)+String.fromCharCode(20851)+String.fromCharCode(20449)+String.fromCharCode(24687); alert(text); break;
    case 'trk'	: alert("Haftada 20 saaten fazla çalisdiginizi belirtmissiniz, ama maalesef isverenin yetkili kisisinin adini yazmamissiniz.");  break;
       default	: alert("Sie haben angekreuzt, dass Sie mehr als 20 Stunden pro Woche arbeiten, aber keinen Ansprechpartner eingetragen. Bitte füllen Sie alle Felder zum Arbeitgeber aus."); 
  }

	document.antrag.ansprechpartner.className = 'phpfehlermeldung'; 
	document.antrag.ansprechpartner.focus();
	return false; }

if(document.antrag.berufstaetig[0].checked  
&& document.antrag.ansprechpartner_tel.value == "")  {
	    switch (dokulanguage) {
    case 'eng'	: alert("You have ticked that you work more than 20 hours per week, but have not entered a phone number. Please complete all the fields concerning your employer."); break;
    case 'esp'	: alert("Sie haben angekreuzt, dass Sie mehr als 20 Stunden pro Woche arbeiten, aber keine Telefonnummer des Arbeitgebers eingetragen. Bitte füllen Sie alle Felder zum Arbeitgeber aus.");  break;
    case 'chn'	: alert("Sie haben angekreuzt, dass Sie mehr als 20 Stunden pro Woche arbeiten, aber keine Telefonnummer des Arbeitgebers eingetragen. Bitte füllen Sie alle Felder zum Arbeitgeber aus.");  break;
    case 'trk'	: alert("Haftada 20 saaten fazla çalisdiginizi belirtmissiniz, ama maalesef telefon numarasi yazmamissiniz.");  break;
       default	: alert("Sie haben angekreuzt, dass Sie mehr als 20 Stunden pro Woche arbeiten, aber keine Telefonnummer des Arbeitgebers eingetragen. Bitte füllen Sie alle Felder zum Arbeitgeber aus."); 
  }

	document.antrag.ansprechpartner_tel.className = 'phpfehlermeldung'; 
	document.antrag.ansprechpartner_tel.focus();
	return false;}

if(test_beteiligung != 1) 				  {
	    switch (dokulanguage) {
    case 'eng'	: alert("Please indicate whether you are a shareholder, partner or owner of a company in Germany. "); break;
    case 'esp'	: alert("Bitte geben Sie an, ob Sie Teilhaber, Gesellschafter oder Inhaber eines Unternehmens in Deutschland sind.");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(35828)+String.fromCharCode(26126)+String.fromCharCode(65292)+String.fromCharCode(24744)+String.fromCharCode(26159)+String.fromCharCode(21542)+String.fromCharCode(23646)+String.fromCharCode(20110)+String.fromCharCode(24503)+String.fromCharCode(22269)+String.fromCharCode(26576)+String.fromCharCode(23478)+String.fromCharCode(20844)+String.fromCharCode(21496)+String.fromCharCode(30340)+String.fromCharCode(32929)+String.fromCharCode(19996)+String.fromCharCode(12289)+String.fromCharCode(21512)+String.fromCharCode(20249)+String.fromCharCode(20154)+String.fromCharCode(25110)+String.fromCharCode(26159)+String.fromCharCode(25152)+String.fromCharCode(26377)+String.fromCharCode(20154)+String.fromCharCode(12290); alert(text); break;
    case 'trk'	: alert("Lütfen Almanyada bir sirket sahibi, sirket ortagi veya hissedari olup olmadigini belirtiniz.");  break;
       default	: alert("Bitte geben Sie an, ob Sie Teilhaber, Gesellschafter oder Inhaber eines Unternehmens in Deutschland sind."); 
  }

	document.antrag.beteiligung[0].className = 'phpfehlermeldung'; 
	document.antrag.beteiligung[0].focus();
	return false; }
if(test_selbststaendig != 1) 			  {
	    switch (dokulanguage) {
    case 'eng'	: alert("Please indicate whether you are a shareholder, partner or owner of a company in Germany. "); break;
    case 'esp'	: alert("Bitte geben Sie an, ob Sie Teilhaber, Gesellschafter oder Inhaber eines Unternehmens in Deutschland sind.");  break;
    case 'chn'	: text=String.fromCharCode(35831)+String.fromCharCode(35828)+String.fromCharCode(26126)+String.fromCharCode(65292)+String.fromCharCode(24744)+String.fromCharCode(26159)+String.fromCharCode(21542)+String.fromCharCode(23646)+String.fromCharCode(20110)+String.fromCharCode(24503)+String.fromCharCode(22269)+String.fromCharCode(26576)+String.fromCharCode(23478)+String.fromCharCode(20844)+String.fromCharCode(21496)+String.fromCharCode(30340)+String.fromCharCode(32929)+String.fromCharCode(19996)+String.fromCharCode(12289)+String.fromCharCode(21512)+String.fromCharCode(20249)+String.fromCharCode(20154)+String.fromCharCode(25110)+String.fromCharCode(26159)+String.fromCharCode(25152)+String.fromCharCode(26377)+String.fromCharCode(20154)+String.fromCharCode(12290); alert(text); break;
    case 'trk'	: alert("Lütfen Almanyada bir sirket sahibi, sirket ortagi veya hissedari olup olmadigini belirtiniz.");  break;
       default	: alert("Bitte geben Sie an, ob Sie Teilhaber, Gesellschafter oder Inhaber eines Unternehmens in Deutschland sind."); 
  }

	document.antrag.selbststaendig[0].className = 'phpfehlermeldung'; 
	document.antrag.selbststaendig[0].focus();
	return false; }
if(test_versicherungspflichtigbefreit != 1) {
	    switch (dokulanguage) {
    case 'eng'	: alert("Have you been exempted from compulsory insurance?"); break;
    case 'esp'	: alert("Bitte kreuzen Sie an, ob Sie von der Versicherungspflicht befreit sind.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(26159)+String.fromCharCode(21542)+String.fromCharCode(26366)+String.fromCharCode(22312)+String.fromCharCode(21738)+String.fromCharCode(23478)+String.fromCharCode(20844)+String.fromCharCode(31435)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20844)+String.fromCharCode(21496)+String.fromCharCode(30003)+String.fromCharCode(35831)+String.fromCharCode(36807)+String.fromCharCode(20813)+String.fromCharCode(38500)+String.fromCharCode(27861)+String.fromCharCode(23450)+String.fromCharCode(20445)+String.fromCharCode(65311);	 alert(text); break;
    case 'trk'	: alert("Sigorta yapmamecburiyetinden muafmisiniz?");  break;
       default	: alert("Bitte kreuzen Sie an, ob Sie von der Versicherungspflicht befreit sind."); 
  }

	document.antrag.versicherungspflichtigbefreit[0].className = 'phpfehlermeldung'; 
	document.antrag.versicherungspflichtigbefreit[0].focus();
	return false;  }
if(test_versicherungspflichtig != 1) 	  {
	    switch (dokulanguage) {
    case 'eng'	: alert("Are you required to have health insurance as a student?"); break;
    case 'esp'	: alert("Bitte geben Sie an, ob sie als Student versicherungspflichtig sind.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(26159)+String.fromCharCode(21542)+String.fromCharCode(23646)+String.fromCharCode(20110)+String.fromCharCode(20844)+String.fromCharCode(31435)+String.fromCharCode(20041)+String.fromCharCode(21153)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(30340)+String.fromCharCode(22823)+String.fromCharCode(23398)+String.fromCharCode(29983)+String.fromCharCode(20154)+String.fromCharCode(21592)+String.fromCharCode(65311); alert(text); break;
    case 'trk'	: alert("Üniversite ögrencisi olarak saglik sigortasi yaptirmak zorunlulugundamisiniz?");  break;
       default	: alert("Bitte geben Sie an, ob sie als Student versicherungspflichtig sind."); 
  }

	document.antrag.versicherungspflichtig[0].className = 'phpfehlermeldung'; 
	document.antrag.versicherungspflichtig[0].focus();
	return false;   }
if(document.antrag.vorversicherer.value == "") 	
{	
    switch (dokulanguage) {
    case 'eng'	: alert("With which health insurance fund have you been insured in the last 18 months?"); break;
    case 'esp'	: alert("Bitte geben Sie an, wo Sie in den letzten 18 Monaten versichert waren.");  break;
    case 'chn'	: text=String.fromCharCode(22312)+String.fromCharCode(36807)+String.fromCharCode(21435)+String.fromCharCode(30340)+"18"+String.fromCharCode(20010)+String.fromCharCode(26376)+String.fromCharCode(65292)+String.fromCharCode(24744)+String.fromCharCode(22312)+String.fromCharCode(21738)+String.fromCharCode(23478)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(20844)+String.fromCharCode(21496)+String.fromCharCode(25237)+String.fromCharCode(20445)+String.fromCharCode(65311); alert(text); break;
    case 'trk'	: alert("Son 18 ayda hangi sigorta sirketinde sigortaliydiniz?");  break;
       default	: alert("Bitte geben Sie an, wo Sie in den letzten 18 Monaten versichert waren."); 
  }

	document.antrag.vorversicherer.className = 'phpfehlermeldung'; 
	document.antrag.vorversicherer.focus();
	return false; }
if(test_privatversichert != 1) 			  {
	    switch (dokulanguage) {
    case 'eng'	: alert("Were you previously insured privately?"); break;
    case 'esp'	: alert("Bitte geben Sie an, ob Sie vorher privatversichert waren.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(20043)+String.fromCharCode(21069)+String.fromCharCode(26159)+String.fromCharCode(20445)+String.fromCharCode(30340)+String.fromCharCode(31169)+String.fromCharCode(31435)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(21527)+String.fromCharCode(65311); alert(text); break;
    case 'trk'	: alert("Daha önce özel sigortalimiydiniz?");  break;
       default	: alert("Bitte geben Sie an, ob Sie vorher privatversichert waren."); 
  }

	document.antrag.privatversichert[0].className = 'phpfehlermeldung'; 
	document.antrag.privatversichert[0].focus();
	return false;  }
if(test_vorversichertausland != 1) 		  {
	    switch (dokulanguage) {
    case 'eng'	: alert("Have you previously been insured abroad?"); break;
    case 'esp'	: alert("Bitte geben Sie an, ob Sie vorher im Ausland waren.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(20043)+String.fromCharCode(21069)+String.fromCharCode(22312)+String.fromCharCode(22659)+String.fromCharCode(22806)+String.fromCharCode(26377)+String.fromCharCode(36807)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(21527)+String.fromCharCode(65311); alert(text); break;
    case 'trk'	: alert("Daha önce yurt disinda sigortalimiydiniz?");  break;
       default	: alert("Bitte geben Sie an, ob Sie vorher im Ausland waren."); 
  }

	document.antrag.vorversichertausland[0].className = 'phpfehlermeldung'; 
	document.antrag.vorversichertausland[0].focus();
	return false;  }
if(test_vorversichertccag != 1) 		  {
	    switch (dokulanguage) {
    case 'eng'	: alert("Have you previously been insured with Care Concept AG?"); break;
    case 'esp'	: alert("Bitte geben Sie an, ob Sie vorher bei der Care Concept AG versichert waren.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(26159)+String.fromCharCode(21542)+String.fromCharCode(26366)+String.fromCharCode(22312)+String.fromCharCode(25105)+String.fromCharCode(20204)+String.fromCharCode(20844)+String.fromCharCode(21496)+String.fromCharCode(21442)+String.fromCharCode(21152)+String.fromCharCode(36807)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(65311); alert(text); break;
    case 'trk'	: alert("Daha önce Care Concept A.S. de sigortalimiydiniz?");  break;
       default	: alert("Bitte geben Sie an, ob Sie vorher bei der Care Concept AG versichert waren."); 
  }

	document.antrag.vorversichertccag[0].className = 'phpfehlermeldung'; 
	document.antrag.vorversichertccag[0].focus();
	return false;  }



	
if(document.antrag.erstesfachsemester[1].checked && (document.antrag.semester.value == "--" || document.antrag.semester.value == "")) 
{
	    switch (dokulanguage) {
    case 'eng'	: alert("You have ticked that you are not applying for cover from the first semester, but have not indicated which semester you want the insurance applied for to start in."); break;
    case 'esp'	: alert("Sie haben angekreuzt, dass die Versicherung nicht zum ersten Fachsemester beantragt wird, aber nicht angegeben, in welchem Fachsemester die beantragte Versicherung beginnen soll.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(22312)+String.fromCharCode(21069)+String.fromCharCode(38754)+String.fromCharCode(26366)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(32473)+String.fromCharCode(20986)+String.fromCharCode(65292)+String.fromCharCode(24744)+String.fromCharCode(19981)+String.fromCharCode(26159)+String.fromCharCode(20026)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(31532)+String.fromCharCode(19968)+String.fromCharCode(23398)+String.fromCharCode(26399)+String.fromCharCode(30003)+String.fromCharCode(35831)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(65292)+String.fromCharCode(20294)+String.fromCharCode(26159)+String.fromCharCode(24744)+String.fromCharCode(27809)+String.fromCharCode(26377)+String.fromCharCode(32473)+String.fromCharCode(20986)+String.fromCharCode(65292)+String.fromCharCode(24744)+String.fromCharCode(29616)+String.fromCharCode(22312)+String.fromCharCode(30003)+String.fromCharCode(35831)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(26102)+","+String.fromCharCode(24050)+String.fromCharCode(32463)+String.fromCharCode(22312)+String.fromCharCode(35835)+String.fromCharCode(31532)+String.fromCharCode(20960)+String.fromCharCode(23398)+String.fromCharCode(26399)+String.fromCharCode(12290); alert(text); break;
    case 'trk'	: alert("Sigorta basvurunuzu ilk yariyil için yapmadiginizi isaretlemissiniz, ama sigortanin kaçinci yariyildan itibaren baslamasi gerektigini belirtmemissiniz.");  break;
       default	: alert("Sie haben angekreuzt, dass die Versicherung nicht zum ersten Fachsemester beantragt wird, aber nicht angegeben, in welchem Fachsemester die beantragte Versicherung beginnen soll."); 
  }

	document.antrag.semester.className = 'phpfehlermeldung'; 
	document.antrag.semester.focus();
	return false; }

if(document.antrag.vorversichertccag[0].checked && document.antrag.vorversicherungsnummer.value == "") 
{switch (dokulanguage) {
    case 'eng'	: alert("You clicked that you have been insured with us in the past but did not give a policy number. Please enter that in the field under the question. If you no longer know it and are unable to find out, please enter “Nicht bekannt” in the field."); break;
    case 'esp'	: alert("Sie haben zwar angeklickt, dass Sie schon einmal bei uns versichert waren, aber nicht angegeben, unter welcher Versicherungsnummer Sie versichert waren. Bitte tragen Sie dies in das Feld unter der Frage ein. Sollten Sie diese nicht mehr wissen oder in Erfahrung bringen können, tragen Sie bitte 'Nicht bekannt' in das Feld ein.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(34429)+String.fromCharCode(28982)+String.fromCharCode(27880)+String.fromCharCode(26126)+String.fromCharCode(24744)+String.fromCharCode(26366)+String.fromCharCode(22312)+String.fromCharCode(25105)+String.fromCharCode(20844)+String.fromCharCode(21496)+String.fromCharCode(20445)+String.fromCharCode(36807)+String.fromCharCode(38505)+ "," +String.fromCharCode(20294)+String.fromCharCode(27809)+String.fromCharCode(26377)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(24744)+String.fromCharCode(30340)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(21495)+String.fromCharCode(30721)+ "." +String.fromCharCode(22914)+String.fromCharCode(26524)+String.fromCharCode(24050)+String.fromCharCode(32463)+String.fromCharCode(35760)+String.fromCharCode(19981)+String.fromCharCode(36215)+String.fromCharCode(26469)+String.fromCharCode(21407)+String.fromCharCode(26469)+String.fromCharCode(30340)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(21495)+String.fromCharCode(30721)+String.fromCharCode(35831)+String.fromCharCode(22312)+String.fromCharCode(21495)+String.fromCharCode(30721)+String.fromCharCode(19968)+String.fromCharCode(26639)+String.fromCharCode(20889)+String.fromCharCode(19978) +"'Nicht bekannt'"; alert(text); break;
    case 'trk'	: alert("Daha önce bizde sigortali oldugunuzu tikladiniz, ama hangi sigorta numarasiyla sigortali oldugunuzu bildirmediniz. Lütfen numarayi sorunun altindaki alana ekleyiniz. Eger numarayi hatirlamiyorsaniz, lütfen bos olan alana ‘bilinmiyor’ yaziniz.");  break;
       default	: alert("Sie haben zwar angeklickt, dass Sie schon einmal bei uns versichert waren, aber nicht angegeben, unter welcher Versicherungsnummer Sie versichert waren. Bitte tragen Sie dies in das Feld unter der Frage ein. Sollten Sie diese nicht mehr wissen oder in Erfahrung bringen können, tragen Sie bitte 'Nicht bekannt' in das Feld ein."); 
  }

	document.antrag.vorversicherungsnummer.className = 'phpfehlermeldung'; 
	document.antrag.vorversicherungsnummer.focus(); 
	return false; }


if(document.antrag.erstesfachsemester[1].checked && document.antrag.vorversicherer.value == "") 
{
	    switch (dokulanguage) {
    case 'eng'	: alert("You have ticked that you are not applying for cover from the first semester, but have not indicated where you were insured before. Please complete the information."); break;
    case 'esp'	: alert("Sie haben angekreuzt, dass die Versicherung nicht zum ersten Fachsemester beantragt wird, aber nicht angegeben, wo Sie vorher versichert waren. Bitte ergänzen Sie die Angabe.");  break;
    case 'chn'	: text=String.fromCharCode(24744)+String.fromCharCode(22312)+String.fromCharCode(21069)+String.fromCharCode(38754)+String.fromCharCode(26366)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(65292)+String.fromCharCode(24744)+String.fromCharCode(19981)+String.fromCharCode(26159)+String.fromCharCode(31532)+String.fromCharCode(19968)+String.fromCharCode(23398)+String.fromCharCode(26399)+String.fromCharCode(30340)+String.fromCharCode(26032)+String.fromCharCode(23398)+String.fromCharCode(29983)+String.fromCharCode(65292)+String.fromCharCode(20294)+String.fromCharCode(26159)+String.fromCharCode(24744)+String.fromCharCode(27809)+String.fromCharCode(26377)+String.fromCharCode(32473)+String.fromCharCode(20986)+String.fromCharCode(65292)+String.fromCharCode(24744)+String.fromCharCode(20043)+String.fromCharCode(21069)+String.fromCharCode(22312)+String.fromCharCode(20309)+String.fromCharCode(22788)+String.fromCharCode(20445)+String.fromCharCode(38505)+String.fromCharCode(12290)+String.fromCharCode(35831)+String.fromCharCode(22635)+String.fromCharCode(20889)+String.fromCharCode(28165)+String.fromCharCode(26970)+String.fromCharCode(12290); alert(text); break;
    case 'trk'	: alert("Sigorta basvurunuzu ilk yariyil için yapmadiginizi isaretlemissiniz, ama malesef daha önce sigorta oldugunuz sirketin adini bildirmemissiniz. Lütfen sigortanin adini ilgili alana yaziniz");  break;
       default	: alert("Sie haben angekreuzt, dass die Versicherung nicht zum ersten Fachsemester beantragt wird, aber nicht angegeben, wo Sie vorher versichert waren. Bitte ergänzen Sie die Angabe."); 
  }

	document.antrag.vorversicherer.className = 'phpfehlermeldung'; 
	document.antrag.vorversicherer.focus();
	return false; }


if(document.antrag.allebedingungen.checked) 	var chkFA = 1; 

if(chkFA != 1)
{   
switch (dokulanguage) {
    case 'eng'	: alert("To send the application you must acknowledge the Information [German] Long Distance Sales by clicking on the box!"); break;
    case 'esp'	: alert("¡Para poder enviar la proposición, debe confirmar que ha tomado nota de las informaciónes sobre la ley alemana 'Fernabsatzgesetz' la casilla!");  break;
    case 'chn'	: text=String.fromCharCode(22312)+String.fromCharCode(21457)+String.fromCharCode(36865)+String.fromCharCode(20197)+String.fromCharCode(21069)+String.fromCharCode(19968)+String.fromCharCode(23450)+String.fromCharCode(35201)+String.fromCharCode(28857)+String.fromCharCode(20987)+String.fromCharCode(27492)+String.fromCharCode(23567)+String.fromCharCode(31383)+String.fromCharCode(21475)+String.fromCharCode(34920)+String.fromCharCode(26126)+String.fromCharCode(24744)+String.fromCharCode(24050)+String.fromCharCode(25509)+String.fromCharCode(21463)+String.fromCharCode(32593)+String.fromCharCode(19978)+String.fromCharCode(36141)+String.fromCharCode(20080)+String.fromCharCode(27861)+String.fromCharCode(20449)+String.fromCharCode(24687); alert(text); break;
    case 'trk'	: alert("Dilekçeyi göndermek için, sigorta sartlarimizi kutuyu tiklayarak kabul etmeniz gerekmektedir!");  break;
       default	: alert("Um den Antrag abzuschicken, müssen Sie die Informationen zum Fernabsatzgesetz durch Anklicken des Kästchens anerkennen!"); 
  }

	document.antrag.allebedingungen.className = 'phpfehlermeldung'; 
	document.antrag.allebedingungen.focus(); 
	return false;    }


	
	;  } 
