/* <![CDATA[ */// Created by John Fallis for HolidayBound Ltd.

// Dynamically adjust visitors parameters using the following:
// Input: siteid (ID number)
// Input: destinationlist  // 6 items per separator >> <div class="desDestination">xxxxxx<\/div>
// Input: currency (1 = US | 2 = Pound | 3 = Euro)
// Input: Country (ID number)


function keyboardControls(e){
var characterCode
if(e && e.which){
	e = e
	characterCode = e.which
} else {
	e = event
	characterCode = e.keyCode
}
if(characterCode == 38){
 // Up
} else if(characterCode == 40) {
 // Down
}
}

function submitForm(){ // Start submitForm
	// Date Information
	var Smonth = document.HotelSearch.Smonth.value;
	var Sday = document.HotelSearch.Sday.value;
	var Emonth = document.HotelSearch.Emonth.value;
	var Eday = document.HotelSearch.Eday.value;
	var date = Smonth+"."+Sday+"!"+Emonth+"."+Eday;
	

	// General Info
	var Ratings = document.HotelSearch.Ratings.value;
	var Rooms = document.HotelSearch.Rooms.value;
	var HotelName = document.HotelSearch.HotelName.value.toLowerCase();
	var editHotelName = new Array();
	var editHotelName = ["hotels","hotel","the",".",",","-"];
	for(i=0;i<=5;i++){
		var HotelName = HotelName.replace(editHotelName[i], "");
	}
	var RegionId = document.HotelSearch.RegionId.value;
	var Currency = document.HotelSearch.Currency.value;
	var altDestin = document.HotelSearch.altDestin.value; // AJAX Search Box
	var array_1_Adults = document.HotelSearch.array_1_Adults.value;
	var array_2_Adults = document.HotelSearch.array_2_Adults.value;
	var array_3_Adults = document.HotelSearch.array_3_Adults.value;
	var array_1_Child1 = document.HotelSearch.array_1_Child1.value;
	var array_1_Child2 = document.HotelSearch.array_1_Child2.value;
	var array_2_Child1 = document.HotelSearch.array_2_Child1.value;
	var array_2_Child2 = document.HotelSearch.array_2_Child2.value;
	var array_3_Child1 = document.HotelSearch.array_3_Child1.value;
	var array_3_Child2 = document.HotelSearch.array_3_Child2.value;

	if(RegionId == false || altDestin == '' || altDestin == 'Enter a destination here!'){
		alert('Please select a destination before continuing...');
		return false;
	}
	
	if(Currency <= 0 || Currency == ""){
		var Currency = 1;
	}



	// First Room
	if(array_1_Child1 > 0 && array_1_Child1 < 12){
		if(array_1_Child2 > 0 && array_1_Child2 < 12){
			var array_1_Children = 2;
			var array_1_childExt = array_1_Child1+'.'+array_1_Child2;
		} else {
			var array_1_Children = 1;
			var array_1_childExt = array_1_Child1;
		}
	} else {
		var array_1_Children = 0;
		var array_1_childExt = '';
	}

	// Second Room
	if(array_2_Child1 > 0 && array_2_Child1 < 12){
		if(array_2_Child2 > 0 && array_2_Child2 < 12){
			var array_2_Children = 2;
			var array_2_childExt = array_2_Child1+'.'+array_2_Child2;
		} else {
			var array_2_Children = 1;
			var array_2_childExt = array_2_Child1;
		}
	} else {
		var array_2_Children = 0;
		var array_2_childExt = '';
	}

	// Third Room
	if(array_3_Child1 > 0 && array_3_Child1 < 12){
		if(array_3_Child2 > 0 && array_3_Child2 < 12){
			var array_3_Children = 2;
			var array_3_childExt = array_3_Child1+'.'+array_3_Child2;
		} else {
			var array_3_Children = 1;
			var array_3_childExt = array_3_Child1;
		}
	} else {
		var array_3_Children = 0;
		var array_3_childExt = '';
	}

	// Calculate Rooms
	var selectedRooms = array_1_Adults+'!'+array_1_Children+"!"+array_1_childExt;
	if (Rooms == 2){
		var selectedRooms = selectedRooms+'!0!'+array_2_Adults+'!'+array_2_Children+'!'+array_2_childExt;
	} else if (Rooms == 3){
		var selectedRooms = selectedRooms+'!0!'+array_2_Adults+'!'+array_2_Children+'!'+array_2_childExt+'!0!'+array_3_Adults+'!'+array_3_Children+'!'+array_3_childExt;
	}


//document.write("http://www.reserve-hotel.com/Customer/Availability/HotelSearchResults.aspx?SearchDetails=G"+date+"!"+HotelName+"!-1!"+RegionId+"!-1!"+Currency+"!1!-1!-1!-1!-1!"+Ratings+"!!!0!"+selectedRooms+"&siteid="+siteID);

window.location.href = "http://www.reserve-hotel.com/Customer/Availability/HotelSearchResults.aspx?SearchDetails=G"+date+"!"+HotelName+"!-1!"+RegionId+"!-1!"+Currency+"!1!-1!-1!-1!-1!"+Ratings+"!!!0!"+selectedRooms+"&siteid="+siteID;
}

// End submitForm


function checkDate() {
	var date = new Date();
	var today_month = date.getMonth() + 1;
	var input_year = date.getFullYear();
	var check_date = input_year+'.'+today_month;
	//if(document.HotelSearch.Sday.value < date.getDate() && document.HotelSearch.Smonth.value <= check_date) {
	//	alert('Warning: You cannot select a previous date, please try again with a current or future date.');
	//	document.HotelSearch.Sday.style.color = '#FF0000';
	//	document.HotelSearch.Smonth.style.color = "#FF0000";
		// return false; // Caused issues with no value
	//} else {
	//	document.HotelSearch.Sday.style.color = '#000000';
	//	document.HotelSearch.Smonth.style.color = '#000000';
	//}
}

function plusDate (input,num) {
	checkDate();
	output = input.replace(/S/,"E");
	var checkin = document.getElementById(input)
		document.getElementById(output).value=checkin.options[checkin.selectedIndex+num].value
	if (document.getElementById(input).value > 31) {
		var checkin = document.getElementById("Smonth")
			document.getElementById("Emonth").value=Smonth.options[checkin.selectedIndex+num].value			
	}
	// document.getElementById('nofNights').innerHTML = document.getElementById("Eday") - document.getElementById("Sday");
}


function openWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function extraRooms(count) {
	var array_2 = document.getElementById('array_2');
	var array_3 = document.getElementById('array_3');
	if(count == 1) {
		array_2.style.display = 'none';
		array_3.style.display = 'none';
	} else if (count == 2) {
		array_2.style.display = '';
		array_3.style.display = 'none';
	} else if (count == 3) {
		array_2.style.display = '';
		array_3.style.display = '';
	}
}

function include_children(key,value) {
	if(key == 1){
		key1 = document.getElementById('array_1_Child1');
		key2 = document.getElementById('array_1_Child2');
	} else if(key == 2){
		key1 = document.getElementById('array_2_Child1');
		key2 = document.getElementById('array_2_Child2');
	} else if(key == 3){
		key1 = document.getElementById('array_3_Child1');
		key2 = document.getElementById('array_3_Child2');
	}
	if(value == 0) {
		key1.style.display = 'none';
		key2.style.display = 'none';
	} else if (value == 1) {
		key1.style.display = '';
		key2.style.display = 'none';
	} else if (value == 2) {
		key1.style.display = '';
		key2.style.display = '';
	}
}



//function productresultsEnter(e){
//var characterCode
//if(e && e.which && document.HotelSearch.altDestin.value > ''){
//	e = e
//	characterCode = e.which
//	productresults();
//} else {
//	e = event
//	characterCode = e.keyCode
//}
//if(characterCode == 13){
	// Continue to booking form
//	submitForm();
	// return false;
//}
//}


function preloader() {
if (document.getElementById) {
document.getElementById('preloader').style.visibility = 'hidden';
}
else {
if (document.layers) {  // Netscape 4
document.preloader.visibility = 'hidden';
}
else {  // IE 4
document.all.preloader.style.visibility = 'hidden';
      }
   }
}


function productresults(){
if(document.HotelSearch.altDestin.value > ''){
try {
	netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
} catch(e) {
	//alert("Permission UniversalBrowserRead denied.");
}

// Check Browser
	if(navigator.userAgent.indexOf("Firefox")!=-1){
		var versionindex=navigator.userAgent.indexOf("Firefox")+8
	if (parseInt(navigator.userAgent.charAt(versionindex))>=1)
		document.getElementById('error').style.color = '#FF0000';
		document.getElementById('error').innerHTML = "You are using Mozilla FireFox, if you're using 'AdBlock Plus' or similar FireFox AddOn please disable it to use our site correctly. ";
	}

	//if(str.replace(/www./, document.domain) == 'reserve-hotel.com'){
	//	var prefixDomain = document.domain;
	//} else {
		//var prefixDomain = 'www.reserve-hotel.com';
	//}

prefix = parent.location.protocol+'//'+document.domain+'/Wiki/predictiveText/v1.php?search='+document.HotelSearch.altDestin.value+'&session='+document.HotelSearch.session.value;
var xmlHttp;
try {
	// Firefox, Opera 8.0+, Safari
	xmlHttp=new XMLHttpRequest();
} catch (e) {
	// Internet Explorer
	try {
		xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
	} catch (e) {
		try {
			xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		} catch (e) {
			alert("Sorry your web browser doesn't support our search, please use Internet Explorer for this to work.");
			// return false;
		}
	}
} xmlHttp.onreadystatechange=function() {
	if(xmlHttp.readyState==4){
		document.getElementById('altDestinations').innerHTML=xmlHttp.responseText;
	}
}
xmlHttp.open('GET',prefix,true);
xmlHttp.send(null);
}
}

function selectedDest(xxxx,yyyy){
	document.getElementById('altDestin').value = xxxx;
	document.getElementById('RegionId').value = yyyy;
	document.getElementById('altDestinations').innerHTML='';
}

// keep with call to action
var intro = 'Enter a destination here!';
function calltoaction(){
	if(document.HotelSearch.altDestin.value == ''){
		document.HotelSearch.altDestin.value = intro;
	} else if (document.HotelSearch.altDestin.value == intro){
		document.HotelSearch.altDestin.value = '';
	}
}

function desDestin(destination){
	document.HotelSearch.altDestin.value = destination;
}


function preload(){
	document.getElementById('array_2').style.display = 'none';
	document.getElementById('array_3').style.display = 'none';
	document.getElementById('array_1_Child1').style.display = 'none';
	document.getElementById('array_1_Child2').style.display = 'none';
	document.getElementById('array_2_Child1').style.display = 'none';
	document.getElementById('array_2_Child2').style.display = 'none';
	document.getElementById('array_3_Child1').style.display = 'none';
	document.getElementById('array_3_Child2').style.display = 'none';
	document.getElementById('HotelNameDIV').style.display = 'none';
	//document.HotelSearch.altDestin.value = '';
	
	//values
	document.getElementById('Rooms').value = 1;
	document.getElementById('array_1_Adults').value = 2;
}


function openCalendar(checkdate,date) {
	if(checkdate == 1){
		var dynDate = '&date='+document.getElementById("Smonth").value+'.'+document.getElementById("Sday").value;
	} else {
		var dynDate = '';
	}	
	var string = '/wiki/calendar/calendar.php?sas='+checkdate+dynDate;
	var openCalendar = window.open(string,'calendar1','width=250,height=170,left=440,top=200,resizable=no,scrollbars=no,toolbar=no,directories=no,status=no,menubar=no,copyhistory=no');
}


// Created by John Fallis for HolidayBound Ltd.
document.write('<form onsubmit="JavaScript: submitForm(); return false;" id="MainHotelSearch" name="HotelSearch" target="_parent" autocomplete="off">');
document.write('<input type="hidden" name="" value="">');
document.write('<input type="hidden" name="" value="">');
document.write('<input type="hidden" name="RegionId" id="RegionId" value="">');
document.write('<h2>No.1 Hotel Search<\/h2><h3><i>1.<\/i> Select a Destination or type a City/Region<\/h3>');
document.write('<div class="desDestination"><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Amsterdam\',1532);"> Amsterdam<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Barcelona\',467);"> Barcelona<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Berlin\',223);"> Berlin<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Dubai\',126);"> Dubai<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Dublin\',1347);"> Dublin<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Edinburgh\',1684);"> Edinburgh<\/label> <br><\/div><div class="desDestination"><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Florence\',1406);"> Florence<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Hong Kong\',15910);"> Hong Kong<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Las Vegas\',2144);"> Las Vegas<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'London\',1768);"> London<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Madrid\',854);"> Madrid<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'New York City\',2166);"> New York City<\/label> <br><\/div><div class="desDestination"><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Miami\',2024);"> Miami<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Nice\',1260);"> Nice<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Orlando\',2029);"> Orlando<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Paris\',1264);"> Paris<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Prague\',209);"> Prague<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Rome\',1459);"> Rome<\/label> <br><\/div><div class="desDestination"><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'San Francisco\',1958);"> San Francisco<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Stockholm\',1591);"> Stockholm<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Sydney\',16841);"> Sydney<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Toronto\',17345);"> Toronto<\/label> <br><label><input type="radio" name="desDestination" onClick="JavaScript:selectedDest(\'Venice\',1488);"> Venice<\/label> <br><\/div>');
var siteID = 1;document.write('<div id="otherDestination">Selected Destination: <input type="text" onBlur="JavaScript:calltoaction();" onFocus="JavaScript:calltoaction();" onkeyup="JavaScript:productresults();keyboardControls(event);" value="Enter a destination here!" id="altDestin" name="altDestin" size="50" /><div id="altDestinations"><\/div><div id="error"><\/div><\/div>');
document.write('<h3><i>2.<\/i> Arrival and Departure Dates <\/h3>');
document.write('<div><select id="Sday" name="Sday" onChange="plusDate(\'Sday\',1);">');
document.write('<option value="1">1<\/option>');
document.write('<option value="2">2<\/option>');
document.write('<option value="3">3<\/option>');
document.write('<option value="4">4<\/option>');
document.write('<option value="5">5<\/option>');
document.write('<option value="6" selected="selected">6<\/option>');
document.write('<option value="7">7<\/option>');
document.write('<option value="8">8<\/option>');
document.write('<option value="9">9<\/option>');
document.write('<option value="10">10<\/option>');
document.write('<option value="11">11<\/option>');
document.write('<option value="12">12<\/option>');
document.write('<option value="13">13<\/option>');
document.write('<option value="14">14<\/option>');
document.write('<option value="15">15<\/option>');
document.write('<option value="16">16<\/option>');
document.write('<option value="17">17<\/option>');
document.write('<option value="18">18<\/option>');
document.write('<option value="19">19<\/option>');
document.write('<option value="20">20<\/option>');
document.write('<option value="21">21<\/option>');
document.write('<option value="22">22<\/option>');
document.write('<option value="23">23<\/option>');
document.write('<option value="24">24<\/option>');
document.write('<option value="25">25<\/option>');
document.write('<option value="26">26<\/option>');
document.write('<option value="27">27<\/option>');
document.write('<option value="28">28<\/option>');
document.write('<option value="29">29<\/option>');
document.write('<option value="30">30<\/option>');
document.write('<option value="31">31<\/option>');
document.write('<\/select> <label><select id="Smonth" name="Smonth" onChange="plusDate(\'Smonth\',0);">');
document.write('<option value="2008.07" selected="selected">Jul 2008<\/option>');
document.write('<option value="2008.8">Aug 2008<\/option>');
document.write('<option value="2008.9">Sep 2008<\/option>');
document.write('<option value="2008.10">Oct 2008<\/option>');
document.write('<option value="2008.11">Nov 2008<\/option>');
document.write('<option value="2008.12">Dec 2008<\/option>');
document.write('<option value="2009.1">Jan 2009<\/option>');
document.write('<option value="2009.2">Feb 2009<\/option>');
document.write('<option value="2009.3">Mar 2009<\/option>');
document.write('<option value="2009.4">Apr 2009<\/option>');
document.write('<option value="2009.5">May 2009<\/option>');
document.write('<option value="2009.6">Jun 2009<\/option>');
document.write('<option value="2009.7">Jul 2009<\/option>');
document.write('<option value="2009.8">Aug 2009<\/option>');
document.write('<option value="2009.9">Sep 2009<\/option>');
document.write('<option value="2009.10">Oct 2009<\/option>');
document.write('<option value="2009.11">Nov 2009<\/option>');
document.write('<option value="2009.12">Dec 2009<\/option>');
document.write('<\/select><a href="Javascript:Void(0);" onclick="javascript:openCalendar(0);"><img src="/wiki/calendar/img/calendar_icon.gif" alt=" [ Check-In Calendar ] " align="absmiddle" /></a> Check-in<\/label><\/div>');
document.write('<div><select id="Eday" name="Eday">');
document.write('<option value="1">1<\/option>');
document.write('<option value="2">2<\/option>');
document.write('<option value="3">3<\/option>');
document.write('<option value="4">4<\/option>');
document.write('<option value="5">5<\/option>');
document.write('<option value="6">6<\/option>');
document.write('<option value="7" selected="selected">7<\/option>');
document.write('<option value="8">8<\/option>');
document.write('<option value="9">9<\/option>');
document.write('<option value="10">10<\/option>');
document.write('<option value="11">11<\/option>');
document.write('<option value="12">12<\/option>');
document.write('<option value="13">13<\/option>');
document.write('<option value="14">14<\/option>');
document.write('<option value="15">15<\/option>');
document.write('<option value="16">16<\/option>');
document.write('<option value="17">17<\/option>');
document.write('<option value="18">18<\/option>');
document.write('<option value="19">19<\/option>');
document.write('<option value="20">20<\/option>');
document.write('<option value="21">21<\/option>');
document.write('<option value="22">22<\/option>');
document.write('<option value="23">23<\/option>');
document.write('<option value="24">24<\/option>');
document.write('<option value="25">25<\/option>');
document.write('<option value="26">26<\/option>');
document.write('<option value="27">27<\/option>');
document.write('<option value="28">28<\/option>');
document.write('<option value="29">29<\/option>');
document.write('<option value="30">30<\/option>');
document.write('<option value="31">31<\/option>');
document.write('<\/select> <label><select id="Emonth" name="Emonth">');
document.write('<option value="2008.07" selected="selected">Jul 2008<\/option>');
document.write('<option value="2008.8">Aug 2008<\/option>');
document.write('<option value="2008.9">Sep 2008<\/option>');
document.write('<option value="2008.10">Oct 2008<\/option>');
document.write('<option value="2008.11">Nov 2008<\/option>');
document.write('<option value="2008.12">Dec 2008<\/option>');
document.write('<option value="2009.1">Jan 2009<\/option>');
document.write('<option value="2009.2">Feb 2009<\/option>');
document.write('<option value="2009.3">Mar 2009<\/option>');
document.write('<option value="2009.4">Apr 2009<\/option>');
document.write('<option value="2009.5">May 2009<\/option>');
document.write('<option value="2009.6">Jun 2009<\/option>');
document.write('<option value="2009.7">Jul 2009<\/option>');
document.write('<option value="2009.8">Aug 2009<\/option>');
document.write('<option value="2009.9">Sep 2009<\/option>');
document.write('<option value="2009.10">Oct 2009<\/option>');
document.write('<option value="2009.11">Nov 2009<\/option>');
document.write('<option value="2009.12">Dec 2009<\/option>');
document.write('<\/select><a href="Javascript:Void(0);" onclick="javascript:openCalendar(1);"><img src="/wiki/calendar/img/calendar_icon.gif" alt=" [ Check-Out Calendar ] " align="absmiddle" /></a> Check-out<\/label><\/div>');
document.write('<div id="nofNights"><\/div>');
document.write('<h3><i>3.<\/i> Pick your Room <\/h3>');
document.write('<div id="divRooms"><label>Rooms: <br>');
document.write('<select name="Rooms" id="Rooms" onchange="Javascript:extraRooms(this.options[this.selectedIndex].value);">');
document.write('<option value="1" selected="selected">1<\/option>');
document.write('<option value="2">2<\/option>');
document.write('<option value="3">3<\/option>');
document.write('<\/select><\/label><\/div>');
document.write('<div id="array_1"><div><label>Adults: <br><select name="array_1_Adults" id="array_1_Adults"><option value="1">1<\/option><option value="2" selected="selected">2<\/option><option value="3">3<\/option><option value="4">4<\/option><\/select><\/label><\/div><div><label>Children: <br><select onchange="Javascript:include_children(1,this.options[this.selectedIndex].value);"><option value="" selected="selected">None<\/option><option value="1">1<\/option><option value="2">2<\/option><\/select><\/label><\/div><div id="array_1_Child1"><label>Child Age #1: <br><select name="array_1_Child1"><option value="" selected="selected">&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><option value="9">9<\/option><option value="10">10<\/option><option value="11">11<\/option><\/select><\/label><\/div><div id="array_1_Child2"><label>Child Age #2: <br><select name="array_1_Child2"><option value="" selected="selected">&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><option value="9">9<\/option><option value="10">10<\/option><option value="11">11<\/option><\/select><\/label><\/div><hr><\/div>');
document.write('<div id="array_2"><div><label>Adults: <br><select name="array_2_Adults" id="array_2_Adults"><option value="1">1<\/option><option value="2" selected="selected">2<\/option><option value="3">3<\/option><option value="4">4<\/option><\/select><\/label><\/div><div><label>Children: <br><select onchange="Javascript:include_children(2,this.options[this.selectedIndex].value);"><option value="" selected="selected">None<\/option><option value="1">1<\/option><option value="2">2<\/option><\/select><\/label><\/div><div id="array_2_Child1"><label>Child Age #1: <br><select name="array_2_Child1"><option value="" selected="selected">&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><option value="9">9<\/option><option value="10">10<\/option><option value="11">11<\/option><\/select><\/label><\/div><div id="array_2_Child2"><label>Child Age #2: <br><select name="array_2_Child2"><option value="" selected="selected">&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><option value="9">9<\/option><option value="10">10<\/option><option value="11">11<\/option><\/select><\/label><\/div><hr><\/div>');
document.write('<div id="array_3"><div><label>Adults: <br><select name="array_3_Adults" id="array_3_Adults"><option value="1">1<\/option><option value="2" selected="selected">2<\/option><option value="3">3<\/option><option value="4">4<\/option><\/select><\/label><\/div><div><label>Children: <br><select onchange="Javascript:include_children(3,this.options[this.selectedIndex].value);"><option value="" selected="selected">None<\/option><option value="1">1<\/option><option value="2">2<\/option><\/select><\/label><\/div><div id="array_3_Child1"><label>Child Age #1: <br><select name="array_3_Child1"><option value="" selected="selected">&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><option value="9">9<\/option><option value="10">10<\/option><option value="11">11<\/option><\/select><\/label><\/div><div id="array_3_Child2"><label>Child Age #2: <br><select name="array_3_Child2"><option value="" selected="selected">&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><option value="9">9<\/option><option value="10">10<\/option><option value="11">11<\/option><\/select><\/label><\/div><hr><\/div>');
document.write('<div><label>');
document.write('<select name="Ratings" id="Ratings">');
document.write('<option value="" selected="selected">All<\/option>');
document.write('<option value=".10.20">1-2<\/option>');
document.write('<option value=".20.30">2-3<\/option>');
document.write('<option value=".30.40">3-4<\/option>');
document.write('<option value=".40.50">4-5<\/option>');
document.write('<option value=".50.">5<\/option>');
document.write('<\/select> Rating<\/label><\/div>');
document.write('<div id="HotelNameDIV"><label><input type="text" name="HotelName"> Hotel name <i>(Optional)</i><\/label><\/div>');
document.write('<div><label><select name="Currency" id="Currency">');
document.write('<option selected="selected" value="1">US Dollar<\/option>');
document.write('<option value="2">UK Pound<\/option>');
document.write('<option value="3">Euro<\/option>');
document.write('</select><\/div>');
document.write('<input type="hidden" name="session" value="bc33ea4e26e5e1af1408321416956113a4658763">');
document.write('<div id="options">More options: <a href="Javascript:Void(0);" onclick="Javascript:document.getElementById(\'HotelNameDIV\').style.display = \'\';document.getElementById(\'options\').style.display = \'none\'">Search by Hotel Name</a><\/div>');
document.write('<div id="submit"><input type="submit" name="HotelSearch" value="Check Availability"><\/div>');
document.write('<\/form>');
preload()/* ]]> */