//new home page header
/*function newheader()
{
document.write('<table border="0" cellpadding="0" cellspacing="0" width="1000"><tr>');
document.write('<td width="320" style="background-image: url(\'images/new-image/toplogo.jpg\'); background-repaet: no-repeat" height="115" valign="top"><p align="right" class="kashmir"><br>Kashmir Hotels</td>');
document.write('<td width="155" style="background-image: url(\'images/new-image/toplogo-2.jpg\'); background-repaet: no-repeat" height="115"></td>');
document.write('<td width="525" style="background-image: url(\'images/new-image/toplogo-bg.jpg\'); background-repaet: repeat-x" height="115" valign="top">');
document.write('<p align="left" class="newhometop"><br><a href="index.html" class="newhometop">Home</a>&nbsp; |&nbsp; <a href="about-us.html" class="newhometop">About Us</a>&nbsp; |&nbsp;<a href="hotel-booking.html" class="newhometop">Hotel Booking</a>&nbsp;|&nbsp; <a href="contact-us.html" class="newhometop">Hotel Enquiry</a>&nbsp;|&nbsp; <a href="kashmir-weekend-tour.html" class="newhometop">Tour Packages</a>&nbsp; |&nbsp; <a href="advertising.html" class="newhometop">Advertise With US</a>&nbsp;&nbsp;<p align="center" class="newhometop"><br><font face="Arial" size="3" color="#FF0000">Call at : +91-9350826609</font>');             
document.write('<div align="center"><table border="0" cellpadding="0" cellspacing="0" width="50%"><tr><td width="20%"><font face="Arial" size="2">Accept:&nbsp;</font></td><td width="20%"><img border="0" src="images/new-image/Visa1.gif" width="37" height="23"></td><td width="20%"><img border="0" src="images/new-image/MC.gif" width="37" height="23"></td><td width="20%"><img border="0" src="images/new-image/logo_ccAmex.gif" width="37" height="23"></td><td width="20%"><img border="0" src="images/new-image/logod.gif" width="37" height="23"></td><td width="35%" valign="middle"><img border="0" src="images/new-image/PayPal1.gif" width="37" height="23"></td></tr></table></div>');
document.write('</td></tr></table>');
}*/
/////////////////////
function newheader()
{
document.write('<table border="0" cellpadding="0" cellspacing="0"  width="1000" >');
document.write('<tr>');
document.write('<td width="320" background="images/new-image/toplogo.jpg" height="115">&nbsp;</td>');
document.write('<td width="155" background="images/new-image/toplogo-2.jpg" height="115">&nbsp;</td>');
document.write('<td width="525" background="images/new-image/toplogo-bg.jpg" height="115" valign="center" class="newhometop"><br>');
//document.write('<p align="center" class="newhometop"><br>');
document.write('<a href="index.html" class="newhometop">');
document.write('Home</a>&nbsp; |&nbsp; <a href="http://kashmirhotels.net/about-us.html" class="newhometop">About Us</a>&nbsp; |&nbsp;');
document.write('<a href="hotel-booking.html" class="newhometop">Hotel Booking</a>&nbsp;');
document.write('|&nbsp; <a href="http://kashmirhotels.net/contact-us.html" class="newhometop">Hotel Enquiry</a>');
document.write('|&nbsp; <a href="http://kashmirhotels.net/kashmir-weekend-tour.html" class="newhometop">Tour Packages</a><br>&nbsp; <p align="center" class="newhometop">');
document.write('<font face="Arial" size="3" color="#FF0000">Call at : +91-9350826609 </font>');
document.write('<div align="center">');

document.write('<table border="0" cellpadding="0" cellspacing="0" width="50%">');
document.write('<tr>');
document.write('<td width="20%"><font face="Arial" size="2">Accept:&nbsp;</font></td>');
document.write('<td width="20%"><img border="0" src="http://www.kashmirhotels.net/images/new-image/Visa1.gif" width="37" height="23"></td>');
document.write('<td width="20%"><img border="0" src="http://kashmirhotels.net/images/new-image/MC.gif" width="37" height="23"></td>');
document.write('<td width="20%"><img border="0" src="http://kashmirhotels.net/images/new-image/logo_ccAmex.gif" width="37" height="23"></td>');
document.write('<td width="20%"><img border="0" src="http://kashmirhotels.net/images/new-image/logod.gif" width="37" height="23"></td>');
document.write('<td width="35%" valign="middle"><img border="0" src="images/new-image/PayPal1.gif" width="37" height="23"></td>');
document.write('</tr>');
document.write('</table>');

document.write('</div>');


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

}
////////////////////


function header1()
{
document.write('<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3">');
document.write('<tr>');
document.write('<td width="30%" bgcolor="#FFFFFF">');
document.write('<img border="0" src="images/MAIN-LOGO.jpg" width="180" height="74" alt="kashmir hotel"></td>');
document.write('<td width="1%" bgcolor="#FFFFFF">');
document.write('<img border="0" src="images/line.jpg" width="1" height="41"></td>');
document.write('<td width="30%" bgcolor="#FFFFFF">');
document.write('<p align="center"><font face="Verdana" size="2" class="headerlink4">The Premium Hotel Directory<br> of Jammu, Kashmir and Ladakh</font></td>');
document.write('<td width="1%" bgcolor="#FFFFFF">');
document.write('<img border="0" src="images/line.jpg" width="1" height="41"></td>');
document.write('<td width="35%" bgcolor="#FFFFFF">');
document.write('<p align="center"><font face="Verdana" size="2" class="leftlinks"><a href="hotel-booking.html" class="headerlink4">On Line Hotel Reservation</a></font></td>');
document.write('<td width="3%" bgcolor="#FFFFFF">&nbsp;</td>');
document.write('</tr>');
document.write('</table>');
}


function header2()
{
document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%" height="28" class="headerlink">');
document.write('<tr>');
document.write('<td width="10%" background="images/link-bg1-strip.jpg" class="headerlink3"><p align="center" ><br><a href="newhome.html" class="headerlink3">HOME</a></td>');
document.write('<td width="2%"><img border="0" src="images/link-bg1.jpg" width="26" height="35"></td>');
document.write('<td width="9%"><p align="center"><br><a href="about-us.html" class="topheaderlink">ABOUT US</a></td>');
document.write('<td width="2%"><img border="0" src="images/dot-linkbg.jpg" width="15" height="35"></td>')
document.write('<td width="13%"><p align="center"><br><a href="hotel-booking.html" class="topheaderlink">HOTEL BOOKING</a></td>');

document.write('<td width="2%"><img border="0" src="images/dot-linkbg.jpg" width="15" height="35"></td>');

document.write('<td width="12%"><p align="center"><br><a href="http://www.tourism.kashmirmart.com" target="_blank" class="topheaderlink">TOUR & TRAVEL</a></td>');
document.write('<td width="2%"><img border="0" src="images/dot-linkbg.jpg" width="15" height="35"></td>');
document.write('<td width="10%"><p align="center"><br><a href="contact-us.html" class="topheaderlink">CONTACT US</a></td>');
document.write('<td width="2%"><img border="0" src="images/link-bg.jpg" width="23" height="35"></td>');
document.write('<td width="6%" background="images/toplink-bg.jpg">&nbsp;</td>');
document.write('<td width="30%" background="images/toplink-bg.jpg">&nbsp;<table border="0" cellpadding="0" cellspacing="0" width="100%" class="headerlink">');
document.write('<tr><td width="10%"><p align="center"><img border="0" src="images/arrow2-icon.jpg" width="11" height="6"></td>');
document.write('<td width="90%"><p align="center">Mob No :+91-9350826609 </td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');
}


function header3()
{
document.write('<table border="0" cellpadding="0" cellspacing="0" class="headerlink3" bordercolor="#111111" width="100%" id="AutoNumber17">');
document.write('<tr><td width="54%" height="36"><p align="left">&nbsp;&nbsp;&nbsp; <a href="list-your-hotels.html" class="headerlink3">List Your Hotels, Resort, Guesthouse, Houseboat, Restaurant</a></td>');
document.write('<td width="15%" height="36"><img border="0" src="images/free.gif" width="65" height="23"></td><td width="30%" height="36">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr>');
document.write('<td width="3%"><img border="0" src="images/prev-search.jpg" width="33" height="36"></td>');
document.write('<td width="20%" background="images/seach-bg.jpg" height="36">');
document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%">');
document.write('<tr><td width="22%" class="headerlink2">Search</td><td width="60%" valign="middle"><p align="center">');
document.write('<input type="text" name="T1" size="18" style="font-family: Times New Roman; font-size: 10px; border-style: solid"></td>');
document.write('<td width="18%"><img border="0" src="images/go-icon.jpg" width="26" height="18"></td>');
document.write('</tr></table></td></tr></table></td><td width="1%" height="36">&nbsp;</td>');
document.write('</tr></table>');
}



function left()
{
document.write('<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="75%" id="AutoNumber21" bgcolor="#F9F6F1">');
document.write('<tr><td width="100%"><img border="0" src="images/hotels-by-budget.gif" width="144" height="50" alt="hotels by budget"></td></tr>');
document.write('<tr><td width="100%"><table border="0" cellpadding="0" cellspacing="0" class="headerlink4" bordercolor="#111111" width="100%" id="AutoNumber22">');
document.write('<tr><td width="15%" align="center" height="2"></td><td width="85%" height="2"></td></tr>');
document.write('<tr><td width="15%" align="center" height="1" background="images/dot.gif"></td><td width="85%" height="1" background="images/dot.gif"></td></tr>');
document.write('<tr><td width="15%" align="center" height="12"><p align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td>');
document.write('<td width="85%" height="20"><a href="fivestar-hotels.html" class="headerlink4">Five Star Hotels</a></td></tr>');
document.write('<tr><td width="100%" align="center" colspan="2" background="images/dot.gif"></td></tr>');
document.write('<tr><td width="15%" align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td>');
document.write('<td width="85%" height="20"><a href="threestar-hotels.html" class="headerlink4">Three Star Hotels</a></td></tr>');
document.write('<tr><td width="15%" align="center" background="images/dot.gif" height="1"></td>');
document.write('<td width="85%" background="images/dot.gif" height="1"></td></tr>');
document.write('<tr><td width="15%" align="center" height="20"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td>');
document.write('<td width="85%" height="20"><a href="budget-hotels.html" class="headerlink4">Budget Hotels</a></td></tr>');
document.write('<tr><td width="15%" align="center" background="images/dot.gif"></td>');
document.write('<td width="85%" background="images/dot.gif"></td></tr>');
document.write('<tr><td width="15%" align="center" height="20"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td>');
document.write('<td width="85%" height="20"><a href="Houseboats-hotels.html" class="headerlink4">Houseboats</a></td></tr>');
document.write('<tr><td width="15%" align="center" background="images/dot.gif" height="1"></td>');
document.write('<td width="85%" background="images/dot.gif" height="1"></td></tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('<tr><td width="100%"><img border="0" src="images/hotels-by-location.gif" width="144" height="50" alt="hotels by location"></td></tr>');
document.write('<tr><td width="100%"><table border="0" cellpadding="0" cellspacing="0" class="headerlink4" bordercolor="#111111" width="100%" id="AutoNumber23">');
document.write('<tr><td width="15%" align="center" height="5"></td><td width="85%" class="headerlinkbig" height="5"></td></tr>');
document.write('<tr><td width="15%" align="center"><p align="center">&nbsp;</td><td width="85%" class="headerlinkbig">KASHMIR</td></tr>');
document.write('<tr><td width="15%" align="center" height="8"></td><td width="85%" class="headerlinkbig" height="8"></td></tr>');
document.write('<tr><td width="15%" align="center" background="images/dot.gif" height="1"></td>');
document.write('<td width="85%" background="images/dot.gif" height="1"></td></tr>');
document.write('<tr><td width="15%" align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td>');
document.write('<td width="85%" height="20"><a href="hotels-in-srinagar.html" class="headerlink4">Srinagar</a></td></tr>');
document.write('<tr><td width="15%" align="center" background="images/dot.gif" height="1"></td><td width="85%" background="images/dot.gif" height="1"></td></tr>');
document.write('<tr>');
document.write('<td width="15%" align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td>');
document.write('<td width="85%" height="20"><a href="hotels-in-gulmarg.html" class="headerlink4">Gulmarg</a></td></tr>');
document.write('<tr><td width="15%" align="center" background="images/dot.gif" height="1"></td>');
document.write('<td width="85%" background="images/dot.gif" height="1"></td></tr>');
document.write('<tr><td width="15%" align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td>');
document.write('<td width="85%" height="20"><a href="hotels-in-pahalgam.html" class="headerlink4">Pahalgam</a></td></tr>');
document.write('<tr><td width="15%" align="center" background="images/dot.gif" height="1"></td>');
document.write('<td width="85%" background="images/dot.gif" height="1"></td></tr>');
document.write('<tr><td width="15%" align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td>');
document.write('<td width="85%" height="20"><a href="hotels-in-sonmarg.html" class="headerlink4">Sonmarg</a></td></tr>');
document.write('<tr><td width="15%" align="center" background="images/dot.gif"></td>');
document.write('<td width="85%" background="images/dot.gif"></td></tr>');
document.write('<tr><td width="15%" align="center">&nbsp;</td>');
document.write('<td width="85%" class="headerlinkbig">&nbsp;</td></tr>');
document.write('<tr><td width="15%" align="center">&nbsp;</td>');
document.write('<td width="85%" class="headerlinkbig">JAMMU</td></tr>');
document.write('<tr><td width="15%" align="center" height="8"></td>');
document.write('<td width="85%" class="headerlinkbig" height="8"></td></tr>');
document.write('<tr><td width="15%" align="center" background="images/dot.gif"></td>');
document.write('<td width="85%" background="images/dot.gif"></td></tr>');
document.write('<tr><td width="15%" align="center">');
document.write('<img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td>');
document.write('<td width="85%" height="20"><a href="hotels-in-jammu-city.html" class="headerlink4">Jammu city</a></td></tr>');
document.write('<tr>');
document.write('<td width="15%" align="center" background="images/dot.gif" height="1"></td><td width="85%" background="images/dot.gif" height="1"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td><td width="85%" height="20"><a href="hotels-in-katra.html" class="headerlink4">Katra</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center" background="images/dot.gif" height="1"></td><td width="85%" background="images/dot.gif" height="1"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td><td width="85%" height="20"><a href="hotels-in-patnitop.html" class="headerlink4">Patnitop</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center" background="images/dot.gif"></td><td width="85%" background="images/dot.gif"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td><td width="85%" height="20"><a href="hotels-in-sanasar.html" class="headerlink4">Sanasar</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center" background="images/dot.gif" height="1"></td><td width="85%" background="images/dot.gif" height="1"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center">&nbsp;</td><td width="85%" class="headerlinkbig">&nbsp;</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center">&nbsp;</td><td width="85%" class="headerlinkbig">LADAKH</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center" height="8"></td><td width="85%" class="headerlinkbig" height="8"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center" background="images/dot.gif" height="1"></td><td width="85%" background="images/dot.gif" height="1"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td><td width="85%" height="20"><a href="hotels-in-leh.html" class="headerlink4">Leh</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center" background="images/dot.gif" height="1"></td><td width="85%" background="images/dot.gif" height="1"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td><td width="85%" height="20"><a href="hotels-in-zanaskar.html" class="headerlink4">Zanaskar</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center" background="images/dot.gif" height="1"></td><td width="85%" background="images/dot.gif" height="1"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td><td width="85%" height="20"><a href="hotels-in-kargil.html" class="headerlink4">Kargil</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center" background="images/dot.gif" height="1"></td><td width="85%" background="images/dot.gif" height="1"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="15%" align="center">&nbsp;</td><td width="85%">&nbsp;</td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');


document.write('<tr><td width="100%" height="15" class="headerlinkbig" align="center">Hotels <br> Phone Numbers</td></tr>');
document.write('<center>');
document.write('<tr><td width="100%" height="5" class="headerlinkbig"></td></tr>');
document.write('<tr><td width="100%" height="15"><table border="0" cellpadding="0" cellspacing="0" class="headerlink4" bordercolor="#111111" width="100%" id="AutoNumber36">');
document.write('<tr><td width="15%" align="center" height="2"></td><td width="85%" height="2"></td></tr>');
document.write('<tr><td width="15%" align="center" height="1" background="images/dot.gif"></td><td width="85%" height="1" background="images/dot.gif"></td></tr>');
document.write('<tr><td width="15%" align="center" height="12"><p align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td>');
document.write('<td width="85%" height="20"><a href="leh-ladakh-hotels-Phone-numbers.html" class="headerlink4">Leh Ladakh Hotels</a></td></tr>');
document.write('<tr><td width="100%" align="center" colspan="2" background="images/dot.gif"></td></tr>');
document.write('<tr><td width="15%" align="center"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td>');
document.write('<td width="85%" height="20"><a href="srinagar-hotels-phone-numbers.html" class="headerlink4">Srinagar Hotels</a></td></tr>');
document.write('<tr><td width="15%" align="center" background="images/dot.gif" height="1"></td>');
document.write('<td width="85%" background="images/dot.gif" height="1"></td></tr>');
document.write('<tr><td width="15%" align="center" height="20"><img border="0" src="images/three-star-red-icon.jpg" width="6" height="5"></td>');
document.write('<td width="85%" height="20"><a href="jammu-hotels-phone-numbers.html" class="headerlink4">Jammu Hotels</a></td></tr>');
document.write('<tr><td width="15%" align="center" background="images/dot.gif"></td>');
document.write('<td width="85%" background="images/dot.gif"></td></tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');

document.write('</table>');
}



function google_ad()
{
document.write('<table border="0" cellpadding="0" cellspacing="0" align="left">');

document.write('<tr><td width="60%" align="left">');

document.write('<script type="text/javascript">');
document.write('google_ad_client = "pub-2287988026259904";');
document.write('google_ad_width = 160;');
document.write('google_ad_height = 600;');
document.write('google_ad_format = "160x600_as";');
document.write('google_ad_type = "text_image";');
document.write('google_ad_channel = "6298528535";');
document.write('google_color_border = "FFFFFF";');
document.write('google_color_bg = "FFFFFF";');
document.write('google_color_link = "CC0000";');
document.write('google_color_text = "808080";');
document.write('google_color_url = "FFFFFF";');
document.write('</script>');
document.write('<script type="text/javascript"');
document.write('src="http://pagead2.googlesyndication.com/pagead/show_ads.js">');
document.write('</script>');


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

document.write('</td></tr></table>');
}


//it's comment design is in Srinagar footer
function footer()
{
document.write('<tr><td>');
document.write('<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber35">');
document.write('<tr><td width="100%" height="3"></td></tr>');
document.write('<tr><td width="100%" bgcolor="#A60F3C" height="2"></td></tr>');
document.write('<tr><td width="100%" height="15">');
document.write('<p align="right"><font face="Verdana" size="1" color="#8E8B84"><b>');
document.write('<br>@ Copyright </b> <a href="http://www.kashmirmart.com/" target="_blank" class="emavenlink">kashmirmart.com</a><b> | Website Powered by </b> <a href="http://www.emavens.com/" target="_blank" class="emavenlink">eMaven Solutions</a></a></font>');
document.write('</td></tr>');
document.write('</table>');
document.write('</td></tr>');
}



function mainflash()
{
//<embed src="images/kashmir-flash-main.swf" width="441" height="247">
document.write('<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 width="441" height="247">');
document.write('<param name="_cx" value="20981">');
document.write('<param name="_cy" value="6826">');
document.write('<param name="FlashVars" value>');
document.write('<param name="Movie" value="images/kashmir-flash-main.swf"">');
document.write('<param name="Src" value="images/kashmir-flash-main.swf"">');
document.write('<param name="WMode" value="Transparent">');
document.write('<param name="Play" value="0">');
document.write('<param name="Loop" value="-1">');
document.write('<param name="Quality" value="High">');
document.write('<param name="SAlign" value>');
document.write('<param name="Menu" value="0">');
document.write('<param name="Base" value>');
document.write('<param name="AllowScriptAccess" value="always">');
document.write('<param name="Scale" value="NoBorder">');
document.write('<param name="DeviceFont" value="0">');
document.write('<param name="EmbedMovie" value="0">');
document.write('<param name="BGColor" value="FFFFFF">');
document.write('<param name="SWRemote" value>');
document.write('<param name="MovieData" value>');
document.write('<param name="SeamlessTabbing" value="1">');
document.write('<param name="Profile" value="0">');
document.write('<param name="ProfileAddress" value>');
document.write('<param name="ProfilePort" value="0"><embed src="images/kashmir-flash-main.swf"" menu="false" quality="best" scale="noborder" wmode="transparent" bgcolor="#FFFFFF" width="441" height="247" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></OBJECT>');
}





function checkenquiry_form()
{	
	docf=document.frm;
	if(docf.name.value=="")
	{
		alert("Enter your Name");
		docf.name.focus();
		return false;
	}
	
	if(docf.address.value=="")
	{
		alert("Enter your Address");
		docf.address.focus();
		return false;
	}

	if(docf.phone.value=="")
	{
		alert("Enter your Contact No.");
		docf.phone.focus();
		return false;
	}
	
	if(docf.country.value=="NA")
	{
		alert("Pleace Select Your Country");
		docf.country.focus();
		return false;
	}	

	if(docf.email.value=="")
	{
		alert("Enter your Email Id");
		docf.email.focus();
		return false;
	}
	
	if(docf.code_field.value=="")
	{
		alert("Please Enter the Code");
		docf.code_field.focus();
		return false;
	}	

	return validate_form(docf);
	
}

function validate_email(field,alerttxt)
{
	with (field)
	{
		apos=value.indexOf("@")
		dotpos=value.lastIndexOf(".")
		if (apos<1||dotpos-apos<2) 
  		{
  			alert(alerttxt);
  			return false;
  		}
		else 
		{
			return true;
		}
	}
	
}


function validate_form(thisform)
{
	with (thisform)
	{
		if (validate_email(email,"Not a valid e-mail address!")==false)
  		{
  			email.focus();
  			return false;
  		}
	}
	
}




function checkhotel_booking_form()
{	
	docf=document.hotelbooking;
	if(docf.name.value=="")
	{
		alert("Enter your Name");
		docf.name.focus();
		return false;
	}	

	if(docf.email.value=="")
	{
		alert("Enter your Email Id");
		docf.email.focus();
		return false;
	}	

	if(docf.country.value=="0")
	{
		alert("Please Select Your Country");
		docf.country.focus();
		return false;
	}

	if(docf.hotelCategory.value=="0")
	{
		alert("Please Select Your Hotel Categoy");
		docf.hotelCategory.focus();
		return false;	
	}
	
	if(docf.expectedMonth.value=="0")
	{
		alert("Please Select Your Expected  Month of tour");
		docf.expectedMonth.focus();
		return false;	
	}

	if(docf.expectedDate.value=="0")
	{
		alert("Please Select Your Expected  Date of tour");
		docf.expectedDate.focus();
		return false;	
	}

	if(docf.expectedYear.value=="0")
	{
		alert("Please Select Your Expected  Year of tour");
		docf.expectedYear.focus();
		return false;	
	}
	if(docf.dayinhand.value=="")
	{
		alert("Please Enter Your Day In Hand");
		docf.dayinhand.focus();
		return false;	
	}
	if(docf.adult.value=="")
	{
		alert("Please Enter The No Of Person");
		docf.adult.focus();
		return false;	
	}

	if(docf.norooms.value=="")
	{
		alert("Please Enter The No. Of Rooms Required");
		docf.norooms.focus();
		return false;	
	}

	if(docf.typeofroom.value=="")
	{
		alert("Please Enter Type of Rooms Required");
		docf.typeofroom.focus();
		return false;	
	}
	if(docf.code_field.value=="")
	{
		alert("Please Enter the Code");
		docf.code_field.focus();
		return false;
	}
	
	return validate_form(docf);	
}



function checkhotel_booking_formphp()
{	
	docf=document.hotelbooking;
	if(docf.name.value=="")
	{
		alert("Enter your Name");
		docf.name.focus();
		return false;
	}	

	if(docf.email.value=="")
	{
		alert("Enter your Email Id");
		docf.email.focus();
		return false;
	}	
	
	if(docf.address.value=="")
	{
		alert("Please Enter your Address");
		docf.address.focus();
		return false;
	}
	if(docf.country.value=="NA")
	{
		alert("Please Select Your Country");
		docf.country.focus();
		return false;
	}
		
	if(docf.expectedMonth.value=="0")
	{
		alert("Please Select Your Expected  Month of tour");
		docf.expectedMonth.focus();
		return false;	
	}

	if(docf.expectedDate.value=="0")
	{
		alert("Please Select Your Expected  Date of tour");
		docf.expectedDate.focus();
		return false;	
	}

	if(docf.expectedYear.value=="0")
	{
		alert("Please Select Your Expected  Year of tour");
		docf.expectedYear.focus();
		return false;	
	}

	if(docf.dayinhand.value=="")
	{
		alert("Please Enter Your Day In Hand");
		docf.dayinhand.focus();
		return false;	
	}
	if(docf.adult.value=="")
	{
		alert("Please Enter The No Of Person");
		docf.adult.focus();
		return false;	
	}

	if(docf.norooms.value=="")
	{
		alert("Please Enter The No. Of Rooms Required");
		docf.norooms.focus();
		return false;	
	}

	if(docf.typeofroom.value=="")
	{
		alert("Please Enter Type of Rooms Required");
		docf.typeofroom.focus();
		return false;	
	}
	if(docf.code_field.value=="")
	{
		alert("Please Enter the Code");
		docf.code_field.focus();
		return false;
	}
	
	return validate_form(docf);	
}


function checklistofhotel()
{	
	docf=document.listofhotel;

	if(docf.nameofcontact.value=="")
	{
		alert("Enter your name of contact");
		docf.nameofcontact.focus();
		return false;
	}	
	

	if(docf.email.value=="")
	{
		alert("Enter your Email Id");
		docf.email.focus();
		return false;
	}	

	if(docf.fphone.value=="")
	{
		alert("Enter your phone number");
		docf.fphone.focus();
		return false;
	}	


	if(docf.nameofhotel.value=="")
	{
		alert("Enter your Name of hotel");
		docf.nameofhotel.focus();
		return false;
	}
	
	if(docf.address.value=="")
	{
		alert("Enter your Address");
		docf.address.focus();
		return false;
	}

	if(docf.city.value=="")
	{
		alert("Enter your City");
		docf.city.focus();
		return false;
	}

	if(docf.starlevel.value=="")
	{
		alert("Enter the Star Level");
		docf.starlevel.focus();
		return false;
	}

	if(docf.country.value=="")
	{
		alert("Pleace Select Your Country");
		docf.country.focus();
		return false;
	}	

	if(docf.noofrooms.value=="")
	{
		alert("Pleace Enter the number of rooms");
		docf.noofrooms.focus();
		return false;
	}	

	if(docf.propertytype.value=="")
	{
		alert("Pleace Enter the property type");
		docf.propertytype.focus();
		return false;
	}	

	if(docf.nearestariport.value=="")
	{
		alert("Pleace Enter the name of nearest ariport");
		docf.nearestariport.focus();
		return false;
	}	
	if(docf.code_field.value=="")
	{
		alert("Please Enter the Code");
		docf.code_field.focus();
		return false;
	}
	
	return validate_form(docf);
	
}


///Scripting for Checkcode.php forms........//

function checkcode_form()
{	
	
	if(docf.bookingPartyLeadName.value=="")
	{
		alert("Enter your Name");
		docf.bookingPartyLeadName.focus();
		return false;
	}
	if(docf.email_id.value=="")
	{
		alert("Enter your Email Id");
		docf.email_id.focus();
		return false;
	}
	if(docf.contact_no.value=="")
	{
		alert("Enter your Contact No.");
		docf.contact_no.focus();
		return false;
	}
	
		
	if(docf.country.value=="NA")
	{
		alert("Pleace Select Your Country");
		docf.country.focus();
		return false;
	}	
     if(docf.city.value=="")
	{
		alert("Please Enter your city");
		docf.city.focus();
		return false;
	}	
	if(docf.address.value=="")
	{
		alert("Enter your Address");
		docf.address.focus();
		return false;
	}
	
	

	return validate_form1(docf);
	
}

function validate_email1(field,alerttxt)
{
	with (field)
	{
		apos=value.indexOf("@")
		dotpos=value.lastIndexOf(".")
		if (apos<1||dotpos-apos<2) 
  		{
  			alert(alerttxt);
  			return false;
  		}
		else 
		{
			return true;
		}
	}
	
}


function validate_form1(thisform)
{
	with (thisform)
	{
		if (validate_email1(email_id,"Not a valid e-mail address!")==false)
  		{
  			email_id.focus();
  			return false;
  		}
	}
	
}

//End of scripting.......

/////////////////

/*function checkenquiry_form1()
{	
	docf=document.contactfrm;
	if(docf.name.value=="")
	{
		alert("Enter your Name");
		docf.name.focus();
		return false;
	}
	
	if(docf.address.value=="")
	{
		alert("Enter your Address");
		docf.address.focus();
		return false;
	}

	if(docf.phone.value=="")
	{
		alert("Enter your Contact No.");
		docf.phone.focus();
		return false;
	}
	
	if(docf.country.value=="NA")
	{
		alert("Pleace Select Your Country");
		docf.country.focus();
		return false;
	}	

	if(docf.email.value=="")
	{
		alert("Enter your Email Id");
		docf.email.focus();
		return false;
	}
	
	if(docf.code_field.value=="")
	{
		alert("Please Enter the Code");
		docf.code_field.focus();
		return false;
	}	

	return validate_form(docf);
	
}
*/