function QuickBook() {

	var hotelcode=document.getElementById("bhotel").options[document.getElementById("bhotel").selectedIndex].value;

	var brooms=document.getElementById("brooms");
	var barriving=document.getElementById("barriving");
	var bdeparting=document.getElementById("bdeparting");
	//var bnights=document.getElementById("bnights");//HOL accepts numnber of nights, not depart date, you will have to work out the number of nights via bdeparting-barriving and send this the number of days
	
	var badults=document.getElementById("badults");
	var bchildren=document.getElementById("bchildren");
	
	if (hotelcode !=null) {
		var e = window.open("about:blank", "hol", "screenx=20,screeny=20,top=20,left=20,width=780,height=600,toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1");
		if (e==null) { alert("popup is null?") } else
		{
			var d="http://www.hol.co.uk/asp/bookings/availability.aspx?HotelCode="+hotelcode;
			//d+="&Rooms="+String(brooms.selectedIndex+1);
			//d+="&Nights="+String(bnights.selectedIndex+1);
			d+="&Adults="+String(badults.selectedIndex+1);
			d+="&Children="+String(bchildren.selectedIndex);
			d+="&ArrivalDate="+barriving.value.substring(6, 10)+"-"+barriving.value.substring(3, 5)+"-"+barriving.value.substring(0, 2);//dates must be sent with UTC format, i.e. YYYY-MM-DD
			d+="&DoSearch=true#prices";//jump to the prices section of the booking page
			e.location.href=d;
		}
		return false
	}
	else { alert("Please choose a hotel...");hotelcode.focus();return false }
}
