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 adultage = document.emailform.adultage.value;var childnum=document.emailform.childnum.value;var childage = document.emailform.childage.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("Since we specialize in tailor made travels to the Indian subcontinent we are happy to call you on the phone to get a better understanding of your travel interests and preferences. Please enter your contact information and one of our travel consultants will be in touch with you soon.")
var flag="false";}else if((emailindex=="-1")||(emailindex1=="-1")){alert("Please enter your email address.")
var flag="false";}
if(flag=="false"){document.emailform.action='EI-tailor-made-travel.html';}else{document.emailform.action='EI-tailor-made-thank-you.php';document.emailform.submit();}}