function chkForm()
{
	if( (document.form1.nm.value == "" ) || (document.form1.country.value == "" ) || (document.form1.email.value == "" ) || (document.form1.telephone.value == "" )||(document.form1.nop.value == "" ) || (document.form1.dot.value == "" ))
	{
		alert("Please fill in the fields marked with * ");
		return(false);
	}
	
if(document.form1.email.value.indexOf(" ") >= 0)
{
	alert("Please enter your email-id without any white space character.");
	document.form1.email.focus();
	return (false);
}
if ( (document.form1.email.value.indexOf("@") == -1) || (document.form1.email.value.indexOf(".") == -1) )
{
	alert("Please enter your valid email-id");
	document.form1.email.focus();
	return (false);
}


BeforeAtRate = document.form1.email.value.substring(0,document.form1.email.value.indexOf("@"));
AfterAtRate = document.form1.email.value.substring(document.form1.email.value.indexOf("@")+1,document.form1.email.value.length);

if (AfterAtRate.indexOf(".") == -1)
{
	alert("Please enter a valid email-id");
	document.form1.email.focus();
	return (false);
}

middle = AfterAtRate.substring(0, AfterAtRate.indexOf("."))
last = AfterAtRate.substring(AfterAtRate.indexOf(".") + 1,AfterAtRate.length)

if (BeforeAtRate.length == 0 || middle.length == 0 || last.length == 0)
{
	alert("Please enter a valid email-id"); 
	document.form1.email.focus();
	return (false);
}
}


function disableselect(e){ 
return false; 
} 
function reEnable(){ 
return true; 
} 
document.onselectstart=new Function ("return false"); 
if (window.sidebar){ 
document.onmousedown=disableselect; 
document.onclick=reEnable; 
} 
function droit(e) {
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) {
alert('© Copyright - Tour Passion');
return false;
}else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert('© Copyright - Tour passion');
return false;
}
return true;
}
document.onmousedown=droit;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);




function home()
{
	
document.write('<ul id="top">')
document.write('<li><a href="../index.html">Accueil</a> </li>')
document.write('<li><a href="../contactez-nous.html">Contactez Nous </a></li>')
document.write('<li><a href="../recommandation.html">Recommandation</a></li>')
document.write('<li style="border:none"><a href="#bookingform">Reservation</a></li>')
document.write('</ul>')

}

function footer()
{
document.write('<table cellpadding="0" cellspacing="0" width="100%" align="center">')
document.write('<tr>')
document.write('<td colspan="5">')

document.write('<form name="form1" method="post" action="http://www.rajasthanvoyage.in/form.asp">')
document.write('<input type="hidden" name="redirect" value="http://www.rajasthanvoyage.com/thankyou.html">')
document.write('<input type="hidden" name="recipient" value="tourpassion@gmail.com">')
document.write('<table borderColor=#0099cc cellSpacing=0 borderColorDark=#ffffff cellPadding=0 width="100%" align=left border=1 bgcolor="#EEECDB">')
 document.write('<tr>')
document.write('<td colspan="4" id="footer" align="center"><a name="bookingform"><h1>Demande de devis Sans engagement</h1></a></td>')

         document.write('</tr>')

        document.write('<tr>')
document.write('<tD class="txtbody" width="25%">* Nom</td>')
 document.write('<td width="25%"><INPUT style="FONT-SIZE: 9px" name="nm" id="nm"></td>')
      document.write('<tD width="25%">* Pays</td>')
          document.write('<tD width="25%"><INPUT style="FONT-SIZE: 9px" name="country" id="country"></td>')
 
         document.write('</tr>')
		  document.write('<tr>')
          document.write('<tD>* E-mail</td>')

          document.write('<tD><INPUT name=email id="email"></td>')
		   document.write('<td>* Téléphone</td>')
      
          document.write('<td><INPUT name="telephone" id="telephone" style="FONT-SIZE: 9px"></td>')
document.write('</tr>')

		  document.write('<tr>')
		
          document.write('<td>* <span class="frm">H&ocirc;tels Pr&eacute;f&eacute;r&eacute;s</span></td>')
          document.write('<td><select name="hotel" size="1" id="hotel" style="FONT-SIZE: 9px"> <option> Veuillez Choisir</option> <option value="Grand Luxe-Moderne">Grand Luxe-Moderne</option><option value="Grand Luxe-Palais">Grand Luxe-Palais</option> <option value="Petits Hotels de Charme">Petits Hotels de Charme</option> <option value="Petits Hotels de Charme">Petits Hotels de Charme</option>  <option value="Economie Mais Propre">Economie Mais Propre</option> </select></td>')
		  		 document.write('<td class="txtbody">*  Nombre de pers</td>')

          document.write('<tD><INPUT name="nop" id="nop" style="FONT-SIZE: 9px"></td>')
        document.write('</tr>')
		
document.write('<tr>')
          document.write('<td>* Dates du Voyage</td>')
      
          document.write('<td><INPUT name="dot" id="dot" style="FONT-SIZE: 9px"></td>')
          document.write('<tD>* Message</td>')
          document.write('<tD><tEXTAREA id=textarea style="FONT-SIZE: 9px" name=des></TEXTAREA></td>')
		  document.write('</tr>')
		  
        document.write('<tr>')
          document.write('<td colspan="4" align="center"><input name="Submit" style="FONT-SIZE: 9px" type="submit" onClick=" return chkForm()" value="      Envoyer      "></td>')
			document.write('</tr>')
			document.write('</TABLE>')
			document.write('</FORM>')

document.write('</td>')
document.write('</tr>')

document.write(' <tr>')
document.write(' <td><img src="../images/asta-sm.gif" width="60" height="41"></td>')
document.write(' <td><img src="../images/jet.jpg" width="66" height="20"></td>')
document.write(' <td><img src="../images/spicejet.jpg" width="59" height="20"></td>')
document.write(' <td><img src="../images/sahara-logo.jpg" width="100" height="20"></td>')
document.write(' <td><img src="../images/iato.jpg" width="35" height="41"></td>')
document.write('</tr>')
document.write('</table>')
}

function rightnav()
{
document.write('<table width="100%" border="0" cellspacing="2" cellpadding="0">')
document.write('<tr>')
document.write('<td><a href="india-short-tours/index.html"><img src="images/shorttour.gif" alt="Rajasthan Short Tour" width="122" height="70" border="0" /></a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="india-short-tours/index.html">Short Tours</a> </td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="rajasthan-tajmahal/index.html"><img src="images/rajasthan-agra.gif" alt="Golden Triangel Tour" width="122" height="70" border="0" /></a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="rajasthan-tajmahal/index.html">Rajasthan Agra</a> </td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="rajasthan-varanasi/index.html"><img src="images/rajasthan-varanasi.gif" alt="Rajasthan with varanasi" width="122" height="70" border="0" /></a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="rajasthan-varanasi/index.html">Varanasi Tour </a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="ganges-valley/index.html"><img src="images/ganges-valley.gif" alt="Ganges villey tours" width="122" height="70" border="0" /></a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="ganges-valley/index.html">Ganges Valley </a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="rajasthan-gujarat/index.html"><img src="images/gujarat.gif" alt="Rajasthan gujarat tours" width="122" height="70" border="0" /></a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="rajasthan-gujarat/index.html"> Gujarat Tours </a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="south-india-tours/index.html"><img src="images/south-india.gif" alt="South India Tour" width="122" height="70" border="0" /></a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="south-india-tours/index.html">South India Tour </a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="north-south-india/index.html"><img src="images/north+south.gif" alt="South india with rajasthan varanasi" width="122" height="70" border="0" /></a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="north-south-india/index.html">South + North India</a> </td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="india-nepal-tours/index.html"><img src="images/nepal.gif" alt="Nepal Tour" width="122" height="70" border="0" /></a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="india-nepal-tours/index.html">India Nepal Tour </a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="india-orissa-tours/index.html"><img src="images/orissa.gif" alt="Orissa Tour Packages" width="122" height="70" border="0" /></a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="india-orissa-tours/index.html">Orissa Tour</a> </td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="central-india-tours/index.html"><img src="images/central-india.gif" alt="Central India Tour" width="122" height="70" border="0" /></a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="central-india-tours/index.html">Central India Tour </a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="india-wildlife-tour/index.html"><img src="images/wlidlife-tour.gif" alt="India Wildlife tour" width="122" height="70" border="0" /></a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="india-wildlife-tour/index.html">India Wildlife Tour </a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="india-himalaya/index.html"><img src="images/himalaya.gif" alt="Himalaya Teekking" width="122" height="70" border="0" /></a></td>')
document.write('</tr>')
document.write('<tr>')
document.write('<td><a href="india-himalaya/index.html">Himahalya Tour </a></td>')
document.write('</tr>')          
document.write('</table>')
}

