
var mylocation = window.location;

var sitename='IndianHoliday.com';

var siteURL='www.indianholiday.com';
//var siteURL='localhost/indianholiday.com';

var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
///////////////////////////Country and country code Array
var ct_arr = Array(
Array('Afghanistan',93), 
Array('Albania',355), 
Array('Algeria',213), 
Array('American Samoa',684), 
Array('Andorra',376), 
Array('Angola',244), 
Array('Anguilla',809), 
Array('Antarctica',672), 
Array('Antigua and Barbuda',1268), 
Array('Argentina',54), 
Array('Armenia',374), 
Array('Aruba',297), 
Array('Ascension',247), 
Array('Australia',61), 
Array('Austria',43), 
Array('Azerbaijan',994), 
Array('Bahamas',1242), 
Array('Bahrain',973), 
Array('Bangladesh',880), 
Array('Barbados',1246), 
Array('Belarus',375), 
Array('Belgium',32), 
Array('Belize',501), 
Array('Benin',229), 
Array('Bermuda',1441), 
Array('Bhutan',975), 
Array('Bolivia',591), 
Array('Bosnia and Herzegovina',387), 
Array('Botswana',267), 
Array('Brazil',55), 
Array('British Virgin Islands',284), 
Array('Brunei',673), 
Array('Bulgaria',359), 
Array('Burkina Faso',226), 
Array('Burundi',257), 
Array('Cambodia',855), 
Array('Cameroon',237), 
Array('Canada',1), 
Array('Cape Verde Islands',238), 
Array('Cayman Islands',345), 
Array('Central African Republic',236), 
Array('Chad',235), 
Array('Chatham Island (New Zealand)',64), 
Array('Chile',56), 
Array('China',86), 
Array('Christmas Island',672), 
Array('Cocos Islands',672), 
Array('Colombia',57), 
Array('Comoros',269), 
Array('Congo',242), 
Array('Cook Islands',682), 
Array('Costa Rica',506), 
Array('Croatia',385), 
Array('Cuba',53), 
Array('Cyprus',357), 
Array('Czech Republic',420), 
Array('Denmark',45), 
Array('Diego Garcia',246), 
Array('Djibouti',253), 
Array('Dominica',767), 
Array('Dominican Republic',809), 
Array('Easter Island',56), 
Array('Ecuador',593), 
Array('Egypt',20), 
Array('El Salvador',503), 
Array('Equatorial Guinea',240), 
Array('Eritrea',291), 
Array('Estonia',372), 
Array('Ethiopia',251), 
Array('Falkland Islands',500), 
Array('Faroe Islands',298), 
Array('Fiji',679), 
Array('Finland',358), 
Array('France',33), 
Array('French Antilles',596), 
Array('French Guyana',594), 
Array('French Polynesia',689), 
Array('Fyrom (Macedonia)',389), 
Array('Gabon',241), 
Array('Gambia',220), 
Array('Georgia',995), 
Array('Germany',49), 
Array('Ghana',233), 
Array('Gibraltar',350), 
Array('Greece',30), 
Array('Greenland',299), 
Array('Grenada and Carriacuou',473), 
Array('Grenadin Islands',784), 
Array('Guadeloupe',590), 
Array('Guam',671), 
Array('Guantanamo Bay',53), 
Array('Guatemala',502), 
Array('Guiana',594), 
Array('Guinea',224), 
Array('Guinea-Bissau',245), 
Array('Guyana',592), 
Array('Haiti',509), 
Array('Honduras',504), 
Array('Hong Kong',852), 
Array('Hungary',36), 
Array('Iceland',354), 
Array('India',91), 
Array('Indonesia',62), 
Array('Iran',98), 
Array('Iraq',964), 
Array('Ireland',353), 
Array('Israel',972), 
Array('Italy',39), 
Array('Ivory Coast',225), 
Array('Jamaica',876), 
Array('Japan',81), 
Array('Jerusalem',2), 
Array('Jordan',962), 
Array('Kazakhstan',7), 
Array('Kenya',254), 
Array('Kiribati',686), 
Array('South Korea',82), 
Array('Kuwait',965), 
Array('Kygyzstan',996), 
Array('Laos',856), 
Array('Latvia',371), 
Array('Lebanon',961), 
Array('Lesotho',266), 
Array('Liberia',231), 
Array('Libya',218), 
Array('Liechtenstein',41), 
Array('Lithuania',370), 
Array('Luxembourg',352), 
Array('Macau',853), 
Array('Macedonia',389), 
Array('Madagascar',261), 
Array('Malawi',265), 
Array('Malaysia',60), 
Array('Maldives',960), 
Array('Mali',223), 
Array('Malta',356), 
Array('Mariana Islands',670), 
Array('Marshall Islands',692), 
Array('Martinique',596), 
Array('Mauritania',222), 
Array('Mauritius',230), 
Array('Mayotte',269), 
Array('Mexico',52), 
Array('Micronesia,  Federated States',691), 
Array('Midway Islands',808), 
Array('Miquelon',508), 
Array('Moldova',373), 
Array('Monaco',377), 
Array('Mongolia',976), 
Array('Montserrat',664), 
Array('Morocco',212), 
Array('Mozambique',258), 
Array('Myanmar',95), 
Array('Namibia',264), 
Array('Nauru',674), 
Array('Nepal',977), 
Array('Netherlands',31), 
Array('Neth. Antilles',599), 
Array('Nevis',869), 
Array('New Caledonia',687), 
Array('New Zealand',64), 
Array('Nicaragua',505), 
Array('Niger',227), 
Array('Nigeria',234), 
Array('Niue',683), 
Array('Norfolk Island',672), 
Array('North Korea',850), 
Array('Norway',47), 
Array('Oman',968), 
Array('Pakistan',92), 
Array('Palau',680), 
Array('Panama',507), 
Array('Papua New Guinea',675), 
Array('Paraguay',595), 
Array('Peru',51), 
Array('Philippines',63), 
Array('Poland',48), 
Array('Portugal',351), 
Array('Principe',239), 
Array('Puerto Rico',1787), 
Array('Qatar',974), 
Array('Reunion Island',262), 
Array('Romania',40), 
Array('Russia',7), 
Array('Rwanda',250), 
Array('St. Helena',290), 
Array('St. Kitts',869), 
Array('St. Lucia',758), 
Array('St Pierre et Miquelon',508), 
Array('St. Vincent',784), 
Array('Saipan',670), 
Array('San Marino',378), 
Array('Sao Tome',239), 
Array('Saudi Arabia',966), 
Array('Senegal Republic',221), 
Array('Serbia',381), 
Array('Seychelles',248), 
Array('Sierra Leone',232), 
Array('Singapore',65), 
Array('Slovakia',421), 
Array('Slovenia',386), 
Array('Solomon Islands',677), 
Array('Somalia',252), 
Array('South Africa',27), 
Array('Spain',34), 
Array('Sri Lanka',94), 
Array('Sudan',249), 
Array('Suriname',597), 
Array('Swaziland',268), 
Array('Sweden',46), 
Array('Switzerland',41), 
Array('Syria',963), 
Array('Taiwan',886), 
Array('Tajikistan',7), 
Array('Tanzania',255), 
Array('Thailand',66), 
Array('Togo',228), 
Array('Tokelau',690), 
Array('Tonga',676), 
Array('Trinidad and Tobago',868), 
Array('Tunisia',216), 
Array('Turkey',90), 
Array('Turkmenistan',993), 
Array('Turks and Caicos Islands',649), 
Array('Tuvalu',688), 
Array('Uganda',256), 
Array('Ukraine',380), 
Array('United Arab Emirates',971), 
Array('United Kingdom',44), 
Array('United States',1), 
Array('Uruguay',598), 
Array('U.S. Virgin Islands',340), 
Array('Uzbekistan',7), 
Array('Vanuatu',678), 
Array('Vatican city',39), 
Array('Venezuela',58), 
Array('Vietnam',84), 
Array('Wake Island',808), 
Array('Wallis & Futuna Islands',681), 
Array('Western Samoa',685), 
Array('Yemen',967), 
Array('Yugoslavia',381), 
Array('Zaire',243), 
Array('Zambia',260), 
Array('Zanzibar',259), 
Array('Zimbabwe',263)
);

///////////Function for country
function ShowCountryOption()
{
	for(var x=0;x<ct_arr.length;x++)
	{
		document.write('<option value="' + ct_arr[x][0] + '">' + ct_arr[x][0] + '</option>\n');
	}

}

//////////////////////Function for ISD code
function getISDCode(sCtry)
{
	for(var x=0;x<ct_arr.length;x++)
	{
		if (sCtry == ct_arr[x][0])
		{
			
			document.medicalform.txiCountryCode.value = ct_arr[x][1];
		}
	}

}


////////////////////////////////////////New Tech Car Hire Form/////////////////////////////////////////





function booking(tour,city)
{ 
	var sitename='indiaprofile.com';
	var siteURL='www.indiaprofile.com';
	//var tour="hotel packages";
//		var city="agra";

document.write('<br><div align="center"><form name="medicalform" action="http://www.indianholiday.com/all-php-bin/pkg_book.php" method="post" onsubmit="return chkQueryForm(this);"> <input type="hidden" name="http_ref" value="'+window.location+'"><input type="hidden" name="frm_name" value="'+tour+'"><input type="hidden" name="referer" value="'+window.location+'"><input type="hidden" name="sitename" value="'+sitename+'"><input type="hidden" name="siteURL" value="'+siteURL+'">');


	document.write('<table cellspacing="0" cellpadding="0" border="0" width="379" align="center">  <tr><td width="379" align="left" valign="top"><img src="http://www.indianholiday.com/images/newinternal/trevel-information.jpg" width="153" height="20" border="0" alt=""></td></tr>  <tr><td bgcolor="#f4f4f4"  valign="top"> <table cellspacing="0" cellpadding="0" border="0" width="379" align="center" valign="top" style="border:1px solid #4080E3;">   <tr><td width="379" align="center" valign="top"><table cellspacing="0" cellpadding="0" border="0" width="379" align="center">  <tr><td height="4px" colspan="3"></td></tr>	  <tr><td style="padding-left:5px" class="field1" >Hotel Name </td><td>:&nbsp;&nbsp;</td><td><input type="text" name="hname" value="'+tour+'" size="25" maxlength="50" class="fldsn" readonly></td></tr>	  <tr><td height="4px" colspan="3"></td></tr>  <tr><td style="padding-left:5px" class="field1" >Hotel Category</td><td>:&nbsp;&nbsp;</td><td><SELECT NAME="hotel_cat" class="fldsn">  <OPTION VALUE="NA" SELECTED >Select</OPTION><OPTION VALUE="Deluxe" >Deluxe</OPTION>                <OPTION VALUE="First class">First class</OPTION>                <OPTION VALUE="Economy">Economy</OPTION>                 </SELECT></td></tr>	  <tr><td height="4px" colspan="3"></td></tr>  <tr><td style="padding-left:5px" class="field1" >City Name</td><td>:&nbsp;&nbsp;</td><td><INPUT TYPE="text" NAME="re_city" SIZE="25" MAXLENGTH="50" class="fldsn" value="'+city+'" readonly></td></tr>	  <tr><td height="4px" colspan="3"></td></tr><tr><td height="4px" colspan="3"></td></tr> <tr><td style="padding-left:5px" class="field1" >Check In Date</td><td >:&nbsp;&nbsp;</td><td class="field1" ><input type="text" name="selTentDate" value="" size="24" maxlength="50" class="fldsn" readonly onClick="displayCalendar(this.form.selTentDate,\'yyyy-mm-dd\',this); return false;">&nbsp;<input type="image"  src="http://www.indianholiday.com/calendar/calendar.gif" ALT="calendar" onClick="displayCalendar(this.form.selTentDate,\'yyyy-mm-dd\',this); return false;" style="position:relative; top:2px; left:0px;"></td></tr><tr><td height="4px" colspan="3"></td></tr> <tr><td style="padding-left:5px" class="field1" >Check Out Date</td><td >:&nbsp;&nbsp;</td><td class="field1" ><input type="text" name="selTentDate1" value="" size="24" maxlength="50" class="fldsn" readonly onClick="displayCalendar(this.form.selTentDate1,\'yyyy-mm-dd\',this); return false;">&nbsp;<input type="image"  src="http://www.indianholiday.com/calendar/calendar.gif" ALT="calendar" onClick="displayCalendar(this.form.selTentDate1,\'yyyy-mm-dd\',this); return false;" style="position:relative; top:2px; left:0px;"></td></tr><tr><td height="4px" colspan="3"></td></tr> <tr><td style="padding-left:5px" class="field1" >Room Required</td><td >:&nbsp;&nbsp;</td><td class="field1" ><table  cellspacing="0" cellpadding="0" border="0" width="229px"><tr><td class="field1">&nbsp;Single<BR><select name="single" class="field1"><option value="na">0   &nbsp;&nbsp;&nbsp;</option>                    <option value="1 ">1 </option>                    <option value="2">2 </option>                    <option value="3">3 </option>                    <option value="4">4 </option>                    <option value="5">5 </option>                    <option value="6">6 </option>                    <option value="7">7 </option>                    <option value="8">8 </option></select></td><td class="field1">&nbsp;Double<BR><select name="double" class="field1">                    <option value="na">0&nbsp;&nbsp;&nbsp;</option>                    <option value="1 ">1 </option>                    <option value="2">2 </option>                    <option value="3">3 </option>                    <option value="4">4 </option>                    <option value="5">5 </option>                    <option value="6">6 </option>                    <option value="7">7 </option>                    <option value="8">8 </option></select></td><td class="field1">&nbsp;&nbsp;Triple<br><select name="triple" class="field1"> <option value="na">0&nbsp;&nbsp;&nbsp;&nbsp;</option>                   <option value="1 ">1 </option>                    <option value="2">2 </option>                    <option value="3">3 </option>                <option value="4">4 </option>                    <option value="5">5 </option>                    <option value="6">6 </option>                    <option value="7">7 </option>                    <option value="8">8 </option></select></td></tr></table></td></tr><tr><td height="4px" colspan="3"></td></tr> <tr><td height="4px" colspan="3"></td></tr>	  <tr><td style="padding-left:5px" class="field1" >* Name </td><td>:&nbsp;&nbsp;</td><td><SELECT NAME="title" class="fldsn"><option SELECTED VALUE="Mr">Mr</option><option vALUE="Mrs">Mrs</option><option vALUE="Ms">Ms</option><option vALUE="Dr">Dr</option></select>&nbsp;<INPUT TYPE="text" NAME="your_name" SIZE="21" MAXLENGTH="50" class="fldsn"></td></tr>	  <tr><td height="4px" colspan="3"></td></tr> <tr><td height="4px" colspan="3"></td></tr><tr><td style="padding-left:5px" class="field1" width="140">* Email</td><td width="10">:&nbsp;&nbsp;</td><td class="field1" width="229"><INPUT TYPE="text" NAME="your_email" SIZE="25" MAXLENGTH="50" class="fldsn" onkeydown = "onKeyDown()" onclick="right()"></td></tr> <tr> <td height="4px" colspan="3"></td></tr> <tr><td style="padding-left:5px" class="field1">* Verify Email</td><td width="10">:&nbsp;&nbsp;</td><td class="field1" width="229"><INPUT TYPE="text" NAME="your_remail" SIZE="25" MAXLENGTH="50" class="fldsn"></td></tr><tr><td height="4px" colspan="3"></td></tr><tr><td style="padding-left:5px" class="field1" >* Country</td><td width="10px">:&nbsp;&nbsp;</td><td class="field1" width="239">	<select size="1" name="selCountry" class="fldsn" onchange="getISDCode(this.value)"> <option value="">Please Select</option>');
ShowCountryOption();
document.write('</SELECT></td></tr><tr><td height="4px" colspan="3"></td></tr> <tr><td colspan="3"><table cellspacing="0" cellpadding="0" border="0" width="379px" ><tr><td style="padding-left:5px " class="field1" width="140">Phone </td> <td width="10" valign="top">:&nbsp;&nbsp;</td><td width="59" class="field1">&nbsp;<input name="txiCountryCode" size="4" class="fldsn" ><br>&nbsp;Country</td><td width="85" class="field1" align="center"><input name="txiCityCode" size="10" class="fldsn"><br>Area</td><td width="95" class="field1" align="center"><input name="txiPhone" size="10" class="fldsn" ><br>Phone No.</td></tr></table></td></tr><tr><td height="4px" colspan="3"></td></tr><tr><td style="padding-left:5px" class="field1"> Booking<BR>Query / Comment</td><td width="10" valign="middle">:&nbsp;&nbsp;</td><td class="field1" width="239"><textarea NAME="txaQuery"  COLS="25" ROWS="4" WRAP="virtual" class="fldsn"></textarea></td></tr><tr><td height="4px" colspan="3"></td></tr><tr><td style="padding-left:5px" class="field1" >  Mobile No.</td><td width="10px">:&nbsp;&nbsp;</td><td class="field1" width="239"><input  NAME="mobile" value="" class="fldsn" ></td></tr><tr><td height="12" colspan="3"></td></tr><tr><td colspan="3"><table cellspacing="0" cellpadding="0" border="0" width="379px" ><tr><td width="180px" align="right"><input TYPE="image" src="http://www.indianholiday.com/images/newinternal/submit.gif" border="0"></td><td width="179px" align="center"><img src="http://www.indianholiday.com/images/newinternal/reset.gif" ></td></tr></table></td></tr>    <tr><td height="10px" colspan="3"></td></tr>  </table>  </td></tr>    </table>   </td></tr>  <tr><td id="formbottom">* <I>Marked fields are compulsory as this would help us to serve you better.</I> </td></tr><tr><td><table align="center" cellspacing="0" cellpadding="0" border="0" width="379px"><tr><td height="10" colspan="4"></td></tr><tr><td width="50"> </td><td valign="top" width="60"><a onclick="setURL(this)" class="emailtext" style="cursor:hand" ><img src="http://www.indianholiday.com/images/new-home-final/email.jpg" width="60" height="56" border="0" alt="" ></a></td><td width="10"></td><td width="259"> <a onclick="setURL(this)" style="cursor:hand"  class="emailtext">Submit your query through email ! </a></td></tr></table></td></tr>  </table>');

document.write('</FORM>');
}


function newhead()
{
document.write('<table  cellspacing="0" cellpadding="0" border="0" width="293" align="center"><tr><td ><img src="http://www.indiaprofile.com/images/newinternal/attractive.gif" width="172" height="135" border="0" alt=""></td><td class="topoffer"><ul><li><a href="http://www.indiaprofile.com/hotels-india/rajasthan-hotels/index.html" target="_blank">Rajasthan</a></li><li><a href="http://www.indiaprofile.com/goa-hotels/index.html" target="_blank">Goa</a></li><li><a href="http://www.indiaprofile.com/hotels-india/himachal-pradesh-hotels/index.html" target="_blank">Himachal Pradesh</a></li><li><a href="http://www.indiaprofile.com/hotels-india/uttaranchal-hotels/index.html" target="_blank">Uttranchal</a></li><li><a href="http://www.indiaprofile.com/new-delhi-hotels/index.html" target="_blank">Delhi</a></li><li><a href="http://www.indiaprofile.com/hotels-india/leh-ladakh-hotels/index.html" target="_blank">Leh Ladkh</a></li></ul>	</td></tr></table>');
}

