function validate1()
{
var num1=document.frm1.txt_name;
var num2=document.frm1.txt_email;
var num5=document.frm1.chkin;
var num6=document.frm1.chkout;
var num3=document.frm1.select1;
var num4=document.frm1.select2;

var htlname = document.frm1.htlname.value;
var remark = document.frm1.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm1.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm1.select1.focus();
      return false;
        
    }
	if(document.frm1.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm1.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm1.reset();
return false;	
}
}
//********* 2 ************
function validate2()
{
var num1=document.frm2.txt_name;
var num2=document.frm2.txt_email;
var num5=document.frm2.chkin;
var num6=document.frm2.chkout;
var num3=document.frm2.select1;
var num4=document.frm2.select2;

var htlname = document.frm2.htlname.value;
var remark = document.frm2.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;
if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm2.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm2.select1.focus();
      return false;
        
    }
	if(document.frm2.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm2.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm2.reset();
return false;	
}
}
/*************** 3 ***************/
function validate3()
{
var num1=document.frm3.txt_name;
var num2=document.frm3.txt_email;
var num5=document.frm3.chkin;
var num6=document.frm3.chkout;
var num3=document.frm3.select1;
var num4=document.frm3.select2;

var htlname = document.frm3.htlname.value;
var remark = document.frm3.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;
if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm3.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm3.select1.focus();
      return false;
        
    }
	if(document.frm3.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm3select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm3.reset();
return false;	
}
}
/******************* 4 ************************/

function validate4()
{
var num1=document.frm4.txt_name;
var num2=document.frm4.txt_email;
var num5=document.frm4.chkin;
var num6=document.frm4.chkout;
var num3=document.frm4.select1;
var num4=document.frm4.select2;

var htlname = document.frm4.htlname.value;
var remark = document.frm4.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm4.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm4.select1.focus();
      return false;
        
    }
	if(document.frm4.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm4.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm4.reset();
return false;	
}
}
/**************** 5 *********************/

function validate5()
{
var num1=document.frm5.txt_name;
var num2=document.frm5.txt_email;
var num5=document.frm5.chkin;
var num6=document.frm5.chkout;
var num3=document.frm5.select1;
var num4=document.frm5.select2;

var htlname = document.frm5.htlname.value;
var remark = document.frm5.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm5.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm5.select1.focus();
      return false;
        
    }
	if(document.frm5.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm5.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm5.reset();
return false;	
}
}
/**************************** 6 **************************/

function validate6()
{
var num1=document.frm6.txt_name;
var num2=document.frm6.txt_email;
var num5=document.frm6.chkin;
var num6=document.frm6.chkout;
var num3=document.frm6.select1;
var num4=document.frm6.select2;

var htlname = document.frm6.htlname.value;
var remark = document.frm6.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm6.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm6.select1.focus();
      return false;
        
    }
	if(document.frm6.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm6.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm6.reset();
return false;	
}
}
/********************** 7 *******************/

function validate7()
{
var num1=document.frm7.txt_name;
var num2=document.frm7.txt_email;
var num5=document.frm7.chkin;
var num6=document.frm7.chkout;
var num3=document.frm7.select1;
var num4=document.frm7.select2;

var htlname = document.frm7.htlname.value;
var remark = document.frm7.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm7.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm7.select1.focus();
      return false;
        
    }
	if(document.frm7.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm7.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm7.reset();
return false;	
}
}

/************************** 8 ****************************/
function validate8()
{
var num1=document.frm8.txt_name;
var num2=document.frm8.txt_email;
var num5=document.frm8.chkin;
var num6=document.frm8.chkout;
var num3=document.frm8.select1;
var num4=document.frm8.select2;

var htlname = document.frm8.htlname.value;
var remark = document.frm8.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm8.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm8.select1.focus();
      return false;
        
    }
	if(document.frm8.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm8.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm8.reset();
return false;	
}
}
/*********************** 9 ****************/

function validate9()
{
var num1=document.frm9.txt_name;
var num2=document.frm9.txt_email;
var num5=document.frm9.chkin;
var num6=document.frm9.chkout;
var num3=document.frm9.select1;
var num4=document.frm9.select2;

var htlname = document.frm9.htlname.value;
var remark = document.frm9.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm9.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm9.select1.focus();
      return false;
        
    }
	if(document.frm9.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm9.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm9.reset();
return false;	
}
}
/************************ 10 *********************/

function validate10()
{
var num1=document.frm10.txt_name;
var num2=document.frm10.txt_email;
var num5=document.frm10.chkin;
var num6=document.frm10.chkout;
var num3=document.frm10.select1;
var num4=document.frm10.select2;

var htlname = document.frm10.htlname.value;
var remark = document.frm10.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm10.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm10.select1.focus();
      return false;
        
    }
	if(document.frm10.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm10.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm10.reset();
return false;	
}
}
/******************************* 11 ************************/

function validate11()
{
var num1=document.frm11.txt_name;
var num2=document.frm11.txt_email;
var num5=document.frm11.chkin;
var num6=document.frm11.chkout;
var num3=document.frm11.select1;
var num4=document.frm11.select2;

var htlname = document.frm11.htlname.value;
var remark = document.frm11.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm11.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm11.select1.focus();
      return false;
        
    }
	if(document.frm11.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm11.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm11.reset();
return false;	
}
}
/******************************* 12 ************************/

function validate12()
{
var num1=document.frm12.txt_name;
var num2=document.frm12.txt_email;
var num5=document.frm12.chkin;
var num6=document.frm12.chkout;
var num3=document.frm12.select1;
var num4=document.frm12.select2;

var htlname = document.frm12.htlname.value;
var remark = document.frm12.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm12.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm12.select1.focus();
      return false;
        
    }
	if(document.frm12.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm12.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm12.reset();
return false;	
}
}

/******************************* 13 ************************/

function validate13()
{
var num1=document.frm13.txt_name;
var num2=document.frm13.txt_email;
var num5=document.frm13.chkin;
var num6=document.frm13.chkout;
var num3=document.frm13.select1;
var num4=document.frm13.select2;

var htlname = document.frm13.htlname.value;
var remark = document.frm13.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm13.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm13.select1.focus();
      return false;
        
    }
	if(document.frm13.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm13.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm13.reset();
return false;	
}
}
/******************************* 14 ************************/

function validate14()
{
var num1=document.frm14.txt_name;
var num2=document.frm14.txt_email;
var num5=document.frm14.chkin;
var num6=document.frm14.chkout;
var num3=document.frm14.select1;
var num4=document.frm14.select2;

var htlname = document.frm14.htlname.value;
var remark = document.frm14.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm14.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm14.select1.focus();
      return false;
        
    }
	if(document.frm14.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm14.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm14.reset();
return false;	
}
}

/******************************* 15 ************************/

function validate15()
{
var num1=document.frm15.txt_name;
var num2=document.frm15.txt_email;
var num5=document.frm15.chkin;
var num6=document.frm15.chkout;
var num3=document.frm15.select1;
var num4=document.frm15.select2;

var htlname = document.frm15.htlname.value;
var remark = document.frm15.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm15.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm15.select1.focus();
      return false;
        
    }
	if(document.frm15.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm15.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm15.reset();
return false;	
}
}
/******************************* 16 ************************/

function validate16()
{
var num1=document.frm16.txt_name;
var num2=document.frm16.txt_email;
var num5=document.frm16.chkin;
var num6=document.frm16.chkout;
var num3=document.frm16.select1;
var num4=document.frm16.select2;

var htlname = document.frm16.htlname.value;
var remark = document.frm16.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm16.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm16.select1.focus();
      return false;
        
    }
	if(document.frm16.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm16.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm16.reset();
return false;	
}
}

/******************************* 17 ************************/

function validate17()
{
var num1=document.frm17.txt_name;
var num2=document.frm17.txt_email;
var num5=document.frm17.chkin;
var num6=document.frm17.chkout;
var num3=document.frm17.select1;
var num4=document.frm17.select2;

var htlname = document.frm17.htlname.value;
var remark = document.frm17.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm17.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm17.select1.focus();
      return false;
        
    }
	if(document.frm17.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm17.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm17.reset();
return false;	
}
}

/******************************* 18 ************************/

function validate18()
{
var num1=document.frm18.txt_name;
var num2=document.frm18.txt_email;
var num5=document.frm18.chkin;
var num6=document.frm18.chkout;
var num3=document.frm18.select1;
var num4=document.frm18.select2;

var htlname = document.frm18.htlname.value;
var remark = document.frm18.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm18.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm18.select1.focus();
      return false;
        
    }
	if(document.frm18.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm18.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm18.reset();
return false;	
}
}

/******************************* 19 ************************/

function validate19()
{
var num1=document.frm19.txt_name;
var num2=document.frm19.txt_email;
var num5=document.frm19.chkin;
var num6=document.frm19.chkout;
var num3=document.frm19.select1;
var num4=document.frm19.select2;

var htlname = document.frm19.htlname.value;
var remark = document.frm19.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm19.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm19.select1.focus();
      return false;
        
    }
	if(document.frm19.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm19.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm19.reset();
return false;	
}
}

/******************************* 20 ************************/

function validate20()
{
var num1=document.frm20.txt_name;
var num2=document.frm20.txt_email;
var num5=document.frm20.chkin;
var num6=document.frm20.chkout;
var num3=document.frm20.select1;
var num4=document.frm20.select2;

var htlname = document.frm20.htlname.value;
var remark = document.frm20.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm20.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm20.select1.focus();
      return false;
        
    }
	if(document.frm20.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm20.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm20.reset();
return false;	
}
}

/******************************* 21 ************************/

function validate21()
{
var num1=document.frm21.txt_name;
var num2=document.frm21.txt_email;
var num5=document.frm21.chkin;
var num6=document.frm21.chkout;
var num3=document.frm21.select1;
var num4=document.frm21.select2;

var htlname = document.frm21.htlname.value;
var remark = document.frm21.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm21.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm21.select1.focus();
      return false;
        
    }
	if(document.frm21.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm21.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm21.reset();
return false;	
}
}

/******************************* 22 ************************/

function validate22()
{
var num1=document.frm22.txt_name;
var num2=document.frm22.txt_email;
var num5=document.frm22.chkin;
var num6=document.frm22.chkout;
var num3=document.frm22.select1;
var num4=document.frm22.select2;

var htlname = document.frm22.htlname.value;
var remark = document.frm22.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm22.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm22.select1.focus();
      return false;
        
    }
	if(document.frm22.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm22.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm22.reset();
return false;	
}
}
/******************************* 23 ************************/

function validate23()
{
var num1=document.frm23.txt_name;
var num2=document.frm23.txt_email;
var num5=document.frm23.chkin;
var num6=document.frm23.chkout;
var num3=document.frm23.select1;
var num4=document.frm23.select2;

var htlname = document.frm23.htlname.value;
var remark = document.frm23.txt_rmrk.value;

var locationObj = window.location;

name=num1.value;
email=num2.value;
chkin=num5.value;
chkout=num6.value;
select1=num3.value;
select2=num4.value;

if(name.length==0)
{
alert("plz enter the name");
num1.focus();
return false;
}
else  if((name.substring(0,1)<"a" || name.substring(0,1)>"z")  && (name.substring(0,1)<"A" || name.substring(0,1)>"Z"))
{
alert("login should begin with alphabat");
num1.focus();
return false;
}
else if(email.length==0) 
{
alert("plz enter the email ");
num2.focus();
return false;
}
else if((email !="") && (email.indexOf("@")== -1) || (email.indexOf(".")== -1))
{
alert("plz enter the valid email ");
num2.focus();
return false;
}     
else if(chkin.length==0)
{
alert("plz enter the Check-In-Date");
num5.focus();
return false;
}
else if(chkout.length==0)
{
alert("plz enter the Check-Out-Date");
num6.focus();
return false;
}
if(document.frm23.select1.selectedIndex==0)
    {
      alert("Please select No. of People");
      document.frm23.select1.focus();
      return false;
        
    }
	if(document.frm23.select2.selectedIndex==0)
    {
      alert("Please Selcet No. of Rooms");
      document.frm23.select2.focus();
      return false;
	}
else
{
  flag=true;
 var ml;
ml='http://www.india-tours.com/final/hotelpackagemail1.php?name='+name+'&email='+email+'&chkin='+chkin+'&chkout='+chkout+'&select1='+select1+'&select2='+select2+'&htlname='+htlname+'&remark='+remark+'&locationObj='+locationObj;
newWin =window.open(ml,"mail",'resizable=no,location=no,scrollbars=no,width=350,height=300,toolbar=no,left=200,top=200');
 frm23.reset();
return false;	
}
}

