function checkform4(){if(document.emailform.heritageculture.checked==true){var heritageculture=document.emailform.heritageculture.value;}else{var heritageculture="No";}
if(document.emailform.naturewildlife.checked==true){var naturewildlife=document.emailform.naturewildlife.value;}else{var naturewildlife="No";}
if(document.emailform.relaxation.checked==true){var relaxation=document.emailform.relaxation.value;}else{var relaxation="No";}
if(document.emailform.relaxation.checked==true){var relaxation=document.emailform.relaxation.value;}else{var relaxation="No";}
if(document.emailform.adventure.checked==true){var adventure=document.emailform.adventure.value;}else{var adventure="No";}
if(document.emailform.otherinterests.checked==true){var otherinterests=document.emailform.otherinterests.value;}else{var otherinterests="No";}
if(document.emailform.northindia.checked==true){var northindia=document.emailform.northindia.value;}else{var northindia="No";}
if(document.emailform.southindia.checked==true){var southindia=document.emailform.southindia.value;}else{var southindia="No";}
if(document.emailform.eastindia.checked==true){var eastindia=document.emailform.eastindia.value;}else{var eastindia="No";}
if(document.emailform.westindia.checked==true){var westindia=document.emailform.westindia.value;}else{var westindia="No";}
if(document.emailform.othercountries.checked==true){var othercountries=document.emailform.othercountries.value;}else{var othercountries="No";}
if(document.emailform.homestay.checked==true){var homestay=document.emailform.homestay.value;}else{var homestay="No";}
if(document.emailform.standard.checked==true){var standard=document.emailform.standard.value;}else{var standard="No";}
if(document.emailform.heritagehotel.checked==true){var heritagehotel=document.emailform.heritagehotel.value;}else{var heritage="No";}
if(document.emailform.boutique.checked==true){var boutique=document.emailform.boutique.value;}else{var boutique="No";}
if(document.emailform.junglelodge.checked==true){var junglelodge=document.emailform.junglelodge.value;}else{var junglelodge="No";}
if(document.emailform.resort.checked==true){var resort=document.emailform.resort.value;}else{var resort="No";}
if(document.emailform.basic.checked==true){var basic=document.emailform.basic.value;}else{var basic="No";}
if(document.emailform.midrange.checked==true){var midrange=document.emailform.midrange.value;}else{var midrange="No";}
if(document.emailform.highend.checked==true){var highend=document.emailform.highend.value;}else{var highend="No";}
if(document.emailform.luxury.checked==true){var luxury=document.emailform.luxury.value;}else{var luxury="No";}
if(document.emailform.superluxury.checked==true){var superluxury=document.emailform.superluxury.value;}else{var superluxury="No";}
var adultnum=document.emailform.adultnum.value;var childnum=document.emailform.childnum.value;var roomnum=document.emailform.roomnum.value;var arrday=document.emailform.arrday.value;var arrmonth=document.emailform.arrmonth.value;var arryear=document.emailform.arryear.value;var depday=document.emailform.depday.value;var depmonth=document.emailform.depmonth.value;var depyear=document.emailform.depyear.value;var nametitle=document.emailform.nametitle.value;var custname=document.emailform.custname.value;var daytelnum=document.emailform.daytelnum.value;var custcity=document.emailform.custcity.value;var custemail=document.emailform.custemail.value;var emailindex=custemail.indexOf("@");var emailindex1=custemail.indexOf(".");if((daytelnum==null)||(daytelnum.length<1))
{alert("Um eventuelle Fragen zu Ihren Reisewünschen besser klären zu können und unseren Reisevorschlag bestmöglich gemäß Ihren Interessen zu gestalten, wäre es hilfreich für uns, wenn Sie uns Ihre Telefonnummer angeben könnten. Alle Ihre Daten behandeln wir strikt vertraulich und geben diese nicht an Dritte weiter. Falls Sie keine Telefonnummer eingeben wollen können Sie im Feld Telefonnummer Keine Angabe eintragen.")
var flag="false";}else if((emailindex=="-1")||(emailindex1=="-1")){alert("Bitte geben Sie eine gültige Emailadresse an.")
var flag="false";}
if(flag=="false"){document.emailform.action='D-reiseerstellung.php';}else{document.emailform.action='D-reiseerstellung-danke.php';document.emailform.submit();}}