
	// set up monthdays array
	monthdays = new Array(13);
	monthdays[1] = 31;
	monthdays[2] = 28;
	monthdays[3] = 31;
	monthdays[4] = 30;
	monthdays[5] = 31;
	monthdays[6] = 30;
	monthdays[7] = 31;
	monthdays[8] = 31;
	monthdays[9] = 30;
	monthdays[10] = 31;
	monthdays[11] = 30;
	monthdays[12] = 31;
	monthname = new Object();
	monthname["JAN"] = '01';
	monthname["FEB"] = '02';
	monthname["MAR"] = '03';
	monthname["APR"] = '04';
	monthname["MAY"] = '05';
	monthname["JUN"] = '06';
	monthname["JUL"] = '07';
	monthname["AUG"] = '08';
	monthname["SEP"] = '09';
	monthname["OCT"] = '10';
	monthname["NOV"] = '11';
	monthname["DEC"] = '12';
	
	fullmonthname = new Object();
	fullmonthname["JAN"] = 'January';
	fullmonthname["FEB"] = 'February';
	fullmonthname["MAR"] = 'March';
	fullmonthname["APR"] = 'April';
	fullmonthname["MAY"] = 'May';
	fullmonthname["JUN"] = 'June';
	fullmonthname["JUL"] = 'July';
	fullmonthname["AUG"] = 'August';
	fullmonthname["SEP"] = 'September';
	fullmonthname["OCT"] = 'October';
	fullmonthname["NOV"] = 'November';
	fullmonthname["DEC"] = 'December';
	

function SetDates() {
	
	//alert('running SetDates');
	today = new Date();	// get the current date and time
	//increase by 4 days
	today.setDate(today.getDate() + 7);
	
	// set the today variables
	todaystring = today.toDateString();
	todaystringp = todaystring.split(" ");
	todayday = todaystringp[2];
	if (todayday.length == 1) {
		todayday = "0"+todayday;
	}
	todaymonth = todaystringp[1].toUpperCase();
	todaymonthnum=monthname[todaymonth];
	todayfullmonth=fullmonthname[todaymonth];
	
	//get handles to date fields
	dayfrom = document.getElementById("holsDepDay");
	monfrom = document.getElementById("holsDepMonth");
	
	//set today date into dropdowns
	for (seli=0 ; seli<dayfrom.options.length ; seli++) {
      if (dayfrom.options[seli].text == todayday) {
        dayfrom.selectedIndex = seli;
        dayfrom.options[seli].defaultSelected = true;
      }
    }
	for (seli=0 ; seli<monfrom.options.length ; seli++) {
      if (monfrom.options[seli].text == todayfullmonth) {
        monfrom.selectedIndex = seli;
        monfrom.options[seli].defaultSelected = true;
      }
    }
}

function SetDest() {
	destobj=document.getElementById('fulldest');
	deststring=destobj.options.item(destobj.selectedIndex).value;
	if (deststring == "") {
		document.getElementById('tair1').value="";
		document.getElementById('adis').value="";
		document.getElementById('drid1').value="";
		document.getElementById('lsdt1').value="";
		document.getElementById('CMBTX_0_rgnm').value="";
	} else {
		destbits=deststring.split("¬");
		document.getElementById('tair1').value=destbits[1];
		document.getElementById('adis').value=destbits[1];
		document.getElementById('drid1').value=destbits[0];
		document.getElementById('lsdt1').value=destbits[2];
		document.getElementById('CMBTX_0_rgnm').value=destbits[2];
	}
}

function ExDepDate() {
	//get individual dropdown handles
	dayfrom = document.getElementById("depex_day");
	monfrom = document.getElementById("depex_month");
	yearfrom= document.getElementById("depex_year");

	//get hidden date field handles
	DeptDateFrom = document.getElementById("ddpt1");

	//get text from the selected dropdowns
	dayfromtext=dayfrom.options[dayfrom.selectedIndex].text;
	monfromtext=monfrom.options[monfrom.selectedIndex].value;

	yearfromtext=yearfrom.options[yearfrom.selectedIndex].text;

	//make a numeric version of each date
	numfromdate=dayfromtext + "/" + monfromtext + "/" + yearfromtext;

	//set the hidden date fields to the dates from the dropdowns
	DeptDateFrom.value = numfromdate;

	//alert(numfromdate);
}
function ExRetDate() {
	//get individual dropdown handles
	dayfrom = document.getElementById("ret_day");
	monfrom = document.getElementById("ret_month");
	yearfrom= document.getElementById("ret_year");

	//get hidden date field handles
	RetDate = document.getElementById("drtn1");

	//get text from the selected dropdowns
	dayfromtext=dayfrom.options[dayfrom.selectedIndex].text;
	monfromtext=monfrom.options[monfrom.selectedIndex].value;

	yearfromtext=yearfrom.options[yearfrom.selectedIndex].text;

	//make a numeric version of each date
	numfromdate=dayfromtext + "/" + monfromtext + "/" + yearfromtext;

	//set the hidden date fields to the dates from the dropdowns
	RetDate.value = numfromdate;

	//alert(numfromdate);
	
}
function SetExDates() {

	//alert('running SetExDates');
	today = new Date();	// get the current date and time
	//increase by 4 days
	today.setDate(today.getDate() + 4);
	
	// set the today variables
	todaystring = today.toDateString();
	todaystringp = todaystring.split(" ");
	todayday = todaystringp[2];
	if (todayday.length == 1) {
		todayday = "0"+todayday;
	}
	todaymonth = todaystringp[1].toUpperCase();
	todaymonthnum=monthname[todaymonth];
	todayyear = todaystringp[3];
	
	//get handles to date fields
	dayfrom = document.getElementById("depex_day");
	monfrom = document.getElementById("depex_month");
	yearfrom= document.getElementById("depex_year");
	
	//set today date into dropdowns
	for (seli=0 ; seli<dayfrom.options.length ; seli++) {
      if (dayfrom.options[seli].text == todayday) {
        dayfrom.selectedIndex = seli;
        dayfrom.options[seli].defaultSelected = true;
      }
    }
	for (seli=0 ; seli<monfrom.options.length ; seli++) {
      if (monfrom.options[seli].text == todaymonth) {
        monfrom.selectedIndex = seli;
        monfrom.options[seli].defaultSelected = true;
      }
    }
    for (seli=0 ; seli<yearfrom.options.length ; seli++) {
      if (yearfrom.options[seli].text == todayyear) {
        yearfrom.selectedIndex = seli;
        yearfrom.options[seli].defaultSelected = true;
      }
    }
    ExDepDate();
    
    today.setDate(today.getDate() + 7);
    
    // set the today variables
	todaystring = today.toDateString();
	todaystringp = todaystring.split(" ");
	todayday = todaystringp[2];
	if (todayday.length == 1) {
		todayday = "0"+todayday;
	}
	todaymonth = todaystringp[1].toUpperCase();
	todaymonthnum=monthname[todaymonth];
	todayyear = todaystringp[3];
	
    //get handles to date fields
	dayfrom = document.getElementById("ret_day");
	monfrom = document.getElementById("ret_month");
	yearfrom= document.getElementById("ret_year");
	
	//set today date into dropdowns
	for (seli=0 ; seli<dayfrom.options.length ; seli++) {
      if (dayfrom.options[seli].text == todayday) {
        dayfrom.selectedIndex = seli;
        dayfrom.options[seli].defaultSelected = true;
      }
    }
	for (seli=0 ; seli<monfrom.options.length ; seli++) {
      if (monfrom.options[seli].text == todaymonth) {
        monfrom.selectedIndex = seli;
        monfrom.options[seli].defaultSelected = true;
      }
    }
    for (seli=0 ; seli<yearfrom.options.length ; seli++) {
      if (yearfrom.options[seli].text == todayyear) {
        yearfrom.selectedIndex = seli;
        yearfrom.options[seli].defaultSelected = true;
      }
    }
    ExRetDate();
    
}
function ChangeSearch() {
	//alert('running changesearch');
	htv="";
	htobj=document.getElementById('holsrchtype');
	for (seli=0; seli<htobj.options.length ; seli++) {
		if (htobj[seli].selected == true) {
			htv=htobj[seli].value;
		}
	}

	//alert(htv);
	if (htv == "package" ) {
		document.getElementById('lmsearch').className = 'VIS1';
		document.getElementById('exsearch1').className = 'VIS3';
	}
	if (htv == "hotflight") {
		document.getElementById('lmsearch').className = 'VIS3';
		document.getElementById('exsearch1').className = 'VIS1';
	}	
}

function SetAllDates() {
  //alert('running setalldates');
  ChangeSearch();
  SetExDates();	
  SetDates();
  
}

document.write('<form name="holtypeform" id="holtypeform" method="POST" action="">');
document.write('<div id="searchselector" class="VIS1">');
document.write('<span class="blue">Search Type</span><br>');
document.write('<select id="holsrchtype" name="holsrchtype" onchange="ChangeSearch()" style="WIDTH: 145px;font-size: 8pt;font-family:arial">');
document.write('<option value="package" selected>Package Holidays</option>');
document.write('<option value="hotflight">Hotel and Flight</option>');
document.write('</select>');
document.write('</div>');
document.write('<p></p>');
document.write('</form>');
document.write('<div id="lmsearch">');
document.write('<form method="GET" action="http://www.grabameal.co.uk/cgi-bin/lm2007.pl">');
document.write('<table border="0" cellpadding="0" cellspacing="2" width="100%">');

document.write('<tr><td align="center"><p class="blue">&nbsp;Adults&nbsp;&nbsp;&nbsp;&nbsp;Children</p></td></tr>');
document.write('<tr><td align="center">');
document.write('<select name="adults" id="adults" style="font-size: 8pt;font-family:arial" > ');
document.write('<option value="1">1</option><option selected="selected" value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option>');
document.write('</select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
document.write('<select name="children" id="children" style="font-size: 8pt;font-family:arial" > ');
document.write('<option value="0" selected="selected">0</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>');
document.write('</select>');
document.write('</td></tr>');
document.write('<tr><td>&nbsp;</td></tr>');

document.write('<tr><td align="center"><p class="blue">Departing From</p></td></tr>');
document.write('<tr><td align="center">');
document.write('<input type="hidden" name="skin" value="engb.lastminute.com" />');
document.write('<SELECT style="WIDTH: 145px;font-size: 8pt;font-family:arial" name="dimension45" id="depAirport">');
document.write('<option value="-1">Show me all</option>');
document.write('<option value="All London">Any London Airport</option>');
document.write('<option value="All East Anglia">Any East Anglia Airport</option>');
document.write('<option value="All Midlands">Any Midlands Airport</option>');
document.write('<option value="All North East / Yorkshire">Any North East/Yorkshire</option>');
document.write('<option value="All North West">Any North West Airport</option>');
document.write('<option value="All Scotland">Any Scottish Airport</option>');
document.write('<option value="All South West / Wales">Any South West/Wales</option>');
document.write('<option value="All Northern Ireland">Northern Ireland</option>');
document.write('<option value="Ferry Port">Any Ferry Port</option>');
document.write('</select></td>');
document.write('</tr>');
document.write('<tr><td>&nbsp;</td></tr>');

document.write('<tr><td align="center"><p class="blue">Destination</p></td></tr>');
document.write('<tr><td align="center">');
document.write('<input type="hidden" name="maxOffset" value="0" />');
document.write('<input type="text" name="destText" id="destTextEntry" maxlength="35" value="" style="WIDTH: 145px;font-size: 8pt;font-family:arial" />');
document.write('</td></tr>');
document.write('<tr><td>&nbsp;</td></tr>');

document.write('<tr><td align="center"><p class="blue">Departure Date</p></td></tr>');
document.write('<tr><td align="center"><p class="blue">From</p></td></tr>');
document.write('<tr><td align="center">');
document.write('<select id="holsDepDay" name="depDay" style="WIDTH: 40px;font-size: 8pt;font-family:arial">');
document.write('<option value="1">01</option><option value="2">02</option><option value="3">03</option><option value="4">04</option><option value="5">05</option><option value="6">06</option><option value="7">07</option><option value="8">08</option>');
document.write('<option value="9">09</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option>');
document.write('<option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option>');
document.write('<option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option>');
document.write('</select>&nbsp;');
document.write('<select id="holsDepMonth" name="depMonth" style="WIDTH: 80px;font-size: 8pt;font-family:arial">');
document.write('<option value="0,0">Any</option>');
document.write('<option value="6">June</option>');
document.write('<option value="7">July</option>');
document.write('<option value="8">August</option>');
document.write('<option value="9">September</option>');
document.write('<option value="10">October</option>');
document.write('<option value="11">November</option>');
document.write('<option value="12">December</option>');
document.write('<option value="1">January</option>');
document.write('<option value="2">February</option>');
document.write('<option value="3">March</option>');
document.write('<option value="4">April</option>');
document.write('<option value="5">May</option>');
document.write('</select>');

document.write('</td></tr>');
document.write('<tr><td>&nbsp;</td></tr>');
document.write('<tr><td align="center"><p class="blue">Give or Take</p></td></tr>');
document.write('<tr><td align="center">');
document.write('<select name="dim46" id="holsGiveOrTake" style="font-size: 8pt;font-family:arial" > ');
document.write('<option value="0">0</option>');
document.write('<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>');
document.write('<option selected="selected" value="7">7</option>');
document.write('</select><span class="blue">&nbsp;(days)</span>');
document.write('</td></tr>');
document.write('<tr><td>&nbsp;</td></tr>');

document.write('<tr><td align="center"><p class="blue">Duration</p></td></tr>');
document.write('<tr><td align="center">');
document.write('<select name="dim14" id="holsNoOfNights" style="WIDTH: 145px;font-size: 8pt;font-family:arial">');
document.write('<option value="-1">Show me all</option>');
document.write('<option value="258,1-5 nights">Short Break (1-5 Nights)</option>');
document.write('<option value="16,6-9 nights">Week (6-9 Nights)</option>');
document.write('<option value="17,10-16 nights">Fortnight (10-16 Nights)</option>');
document.write('<option value="259,17 nights +">Longer (17 Nights Or More)</option></select>');
document.write('</td></tr>');
document.write('<tr><td>&nbsp;<input type="hidden" name="searchType" value="basic"><input type="hidden" name="sourceType" value="0"></td></tr>');
document.write('<tr><td align="center"><p><input type="hidden" name="maxResults" value="10"><input type="submit" value="Search"></p></td></tr>');
document.write('<tr><td>&nbsp;</td></tr>');
document.write('<tr><td><div align="center">');
document.write('<div class="small">&nbsp;&nbsp;Powered by&nbsp;&nbsp;</div><a class="small" href="http://www.anrdoezrs.net/click-1444896-10309966" TARGET="_blank"><img src="banners/lmlogosm.gif" border="0"></a><img src="http://www.awltovhc.com/image-1444896-10309966" width="1" height="1" border="0"><img src="http://www.awltovhc.com/image-1444896-10296531" width="1" height="1" border="0"><img src="http://www.awltovhc.com/image-1444896-10309973" width="1" height="1" border="0">');
document.write('</div></td></tr>');
document.write('</table>');
document.write('<input type="hidden" name="expandThreshold" value="5" />');
document.write('<input type="hidden" name="childAge0" value="-1">');
document.write('<input type="hidden" name="childAge1" value="-1">');
document.write('<input type="hidden" name="childAge2" value="-1">');
document.write('<input type="hidden" name="childAge3" value="-1">');
document.write('<input type="hidden" name="childAge4" value="-1">');
document.write('<input type="hidden" name="childAge5" value="-1">');
document.write('<input type="hidden" name="sortBy" value="0,1">');
document.write('<input type="hidden" name="dimension5" value="-1">');
document.write('<input type="hidden" name="dimension0" value="-1">');
document.write('<input type="hidden" name="dimension23" value="-1">');
document.write('</form>');
document.write('</div>');
//*****************END OF PACKAGE HOLIDAY SEARCH**********************

//*****************START OF HOTEL/FLIGHT SEARCH**********************
document.write('<div id="exsearch1">');
document.write('<form NAME=CMBSrch METHOD=GET ACTION="http://www.grabameal.co.uk/cgi-bin/holex.pl">');
document.write('<INPUT TYPE=HIDDEN NAME="star" VALUE="0">');
document.write('<INPUT TYPE=HIDDEN NAME="xcml" VALUE="0">');
document.write('<INPUT TYPE=HIDDEN NAME="xcmb" VALUE="">');
document.write('<INPUT TYPE=HIDDEN NAME="subm" VALUE="1">');
document.write('<INPUT TYPE=HIDDEN NAME="dlvl" VALUE="">');
document.write('<INPUT TYPE=HIDDEN NAME="dnam" VALUE="">');
document.write('<INPUT TYPE=HIDDEN NAME="lids" VALUE="">');
document.write('<INPUT TYPE=HIDDEN NAME="tair1" ID="tair1" VALUE="">');
document.write('<INPUT TYPE=HIDDEN NAME="drid1" ID="drid1" VALUE="">');
document.write('<INPUT TYPE=HIDDEN NAME="lsdt1" ID="lsdt1" VALUE="">');
document.write('<INPUT TYPE=HIDDEN NAME="hids1" VALUE="">');
document.write('<!--INPUT TYPE=HIDDEN NAME=cmrq VALUE="EX011476A586JGDC$21$1D$D3$B2$25$1D$D3$B2000021!60NMQh$2E90$2A$88$AC$0C$EA$D6$AC$0C$C0$86$AC$0C$80$D5$AC$0C$E0$80$E9H$E0$80$E9H!903!50!5$FF1000NMQ!4$FF0h$2E90$0D0$30$38$37$30.$30$35$30.$30$33$31$39$160Momepjk.$28mou.Ljxjojya$29$160Momepjk.$28mou.Ljxjojya$29$E0$80$E9H$E0$80$E9H1100021000010003!9011!p00000!8$FF!p0!p0!m0$DF$80$E9H!p0!701000100001!f0!G$FF10002100001!U0"-->');
document.write('<INPUT TYPE=HIDDEN NAME=dest VALUE="">');
document.write('<INPUT TYPE=HIDDEN NAME=disa VALUE="0">');
document.write('<INPUT TYPE=HIDDEN NAME=adis ID="adis" VALUE="">	');
document.write('<INPUT TYPE="HIDDEN" NAME="rwid" VALUE="" />');
document.write('<INPUT TYPE="HIDDEN" NAME="tpst" VALUE="1" />');
document.write('<INPUT TYPE="HIDDEN" NAME="CMBTX_0_rgnm" ID="CMBTX_0_rgnm" VALUE="">');
document.write('<INPUT TYPE=hidden NAME=darp VALUE="">');
document.write('<INPUT TYPE=hidden NAME=fair VALUE="">');
document.write('<INPUT TYPE=hidden NAME=pcty VALUE="">');
document.write('<table border="0" cellpadding="0" cellspacing="2" width="100%">');
document.write('<tr><td align="center"><p class="blue">Leaving From</p></td></tr>');
document.write('<tr><td align="center">');
document.write('<select NAME=dcty style="WIDTH: 145px;font-size: 8pt;font-family:arial">');
document.write('	<option value="ABZ">Aberdeen (ABZ)</option>');
document.write('	<option value="BFS">Belfast (BFS)</option>');
document.write('	<option value="BHD">Belfast (BHD)</option>');
document.write('	<option value="BHX">Birmingham (BHX)</option>');
document.write('	<option value="BLK">Blackpool (BLK)</option>');
document.write('	<option value="BRS">Bristol (BRS)</option>');
document.write('	<option value="CWL">Cardiff (CWL)</option>');
document.write('	<option value="MME">Darlington (MME)</option>');
document.write('	<option value="EMA">East Midlands (EMA)</option>');
document.write('	<option value="EDI">Edinburgh (EDI)</option>');
document.write('	<option value="EXT">Exeter (EXT)</option>');
document.write('	<option value="GLA">Glasgow (GLA)</option>');
document.write('	<option value="HUY">Humberside (HUY)</option>');
document.write('	<option value="INV">Inverness (INV)</option>');
document.write('	<option value="LBA">Leeds Bradford (LBA)</option>');
document.write('	<option value="LONDON" SELECTED>London Airports</option>');
document.write('	<option value="LHR">London Heathrow (LHR)</option>');
document.write('	<option value="LGW">London Gatwick (LGW)</option>');
document.write('	<option value="LTN">London Luton (LTN)</option>');
document.write('	<option value="STN">London Stansted (STN)</option>');
document.write('	<option value="LDY">Londonderry (LDY)</option>');
document.write('	<option value="LPL">Liverpool (LPL)</option>');
document.write('	<option value="MAN">Manchester (MAN)</option>');
document.write('	<option value="NCL">Newcastle (NCL)</option>');
document.write('	<option value="NWI">Norwich (NWI)</option>');
document.write('	<option value="PIK">Prestwick (PIK)</option>');
document.write('	<option value="SOU">Southampton (SOU)</option>');
document.write('	</select>');
document.write('</td></tr>');
document.write('<tr><td>&nbsp;</td></tr>');
document.write('<tr><td align="center"><p class="blue">Destination</p></td></tr>');
document.write('<tr><td align="center">');
document.write('<select name="fulldest" id="fulldest" style="WIDTH: 145px;font-size: 8pt;font-family:arial" onchange="SetDest()">');
document.write('<option value="">Please Select</option>');
document.write('<optgroup label="Africa">');
document.write('<option value="115¬MRU¬Mauritius, Africa">Mauritius</option>');
document.write('</optgroup>');
document.write('<optgroup label="America">');
document.write('<option value="601722¬SNA¬Anaheim (and Vicinity), California">Anaheim</option>');
document.write('<option value="180007¬EYW¬Key West ( and vicinity ), Florida">Key West</option>');
document.write('<option value="178276¬LAS¬Las Vegas ( and vicinity ), Nevada">Las Vegas</option>');
document.write('<option value="178280¬LAX¬Los Angeles ( and vicinity ), California">Los Angeles</option>');
document.write('<option value="178286¬MIA¬Miami ( and vicinity ), Florida">Miami</option>');
document.write('<option value="178294¬MCO¬Orlando ( and vicinity ), Florida">Orlando</option>');
document.write('<option value="178293¬NYC¬New York City ( and vicinity ), New York">New York City</option>');
document.write('<option value="602278¬PBI¬Palm Beach (and Vicinity), Florida">Palm Beach</option>');
document.write('<option value="178305¬SFO¬San Francisco ( and vicinity ), California">San Francisco</option>');
document.write('<option value="3220¬LAX¬Santa Monica, California">Santa Monica</option>');
document.write('</optgroup>');
document.write('<optgroup label="Antigua and Barbuda">');
document.write('<option value="180720¬ANU¬Antigua and Barbuda, Antigua and Barbuda">Antigua and Barbuda</option>');
document.write('</optgroup>');
document.write('<optgroup label="Australia">');
document.write('<option value="292¬ADL¬Adelaide, Australia">Adelaide</option>');
document.write('<option value="179993¬BNE¬Brisbane/Gold Coast, Australia">Brisbane/Gold Coast</option>');
document.write('<option value="179999¬CNS¬Cairns ( and vicinity ), Australia">Cairns</option>');
document.write('<option value="786¬CBR¬Canberra, Australia">Canberra</option>');
document.write('<option value="1060¬DRW¬Darwin, Australia">Darwin</option>');
document.write('<option value="178283¬MEL¬Melbourne ( and vicinity ), Australia">Melbourne</option>');
document.write('<option value="180013¬PER¬Perth, Australia">Perth</option>');
document.write('<option value="178312¬SYD¬Sydney ( and vicinity ), Australia">Sydney</option>');
document.write('</optgroup>');
document.write('<optgroup label="Austria">');
document.write('<option value="1602¬INN¬Innsbruck, Austria">Innsbruck</option>');
document.write('<option value="180020¬SZG¬Salzburg, Austria">Salzburg</option>');
document.write('<option value="178316¬VIE¬Vienna ( and vicinity ), Austria">Vienna</option>');
document.write('</optgroup>');
document.write('<optgroup label="Bahamas">');
document.write('<option value="602484¬FPO¬Freeport (and Vicinity), Bahamas">Freeport</option>');
document.write('<option value="2292¬MHH¬Bahamas-Marsh Harbour, Bahamas">Marsh Harbour</option>');
document.write('<option value="601784¬NAS¬Nassau (and Vicinity), Bahamas">Nassau</option>');
document.write('</optgroup>');
document.write('<optgroup label="Barbados">');
document.write('<option value="180390¬BGI¬Barbados Island, Barbados">Barbados Island</option>');
document.write('</optgroup>');
document.write('<optgroup label="Belguim">');
document.write('<option value="5164¬BRU¬Bruges, Belgium">Bruges</option>');
document.write('<option value="178241¬BRU¬Brussels Metropolitan Area, Belgium">Brussels</option>');
document.write('</optgroup>');
document.write('<optgroup label="Bulgaria">');
document.write('<option value="3235¬SOF¬Sofia, Bulgaria">Sofia</option>');
document.write('</optgroup>');
document.write('<optgroup label="Dominican Republic">');
document.write('<option value="2134¬LRM¬La Romana, Dominican Republic">La Romana</option>');
document.write('<option value="180024¬SDQ¬Santo Domingo ( and vicinity ), Dominican Republic">Santo Domingo</option>');
document.write('<option value="3283¬STI¬Dominican Rep.-Santiago, Dominican Republic">Santiago</option>');
document.write('</optgroup>');
document.write('<optgroup label="Canada">');
document.write('<option value="178315¬YVR¬Vancouver ( and vicinity ), British Columbia">Vancouver</option>');
document.write('<option value="180071¬YVR¬Whistler Ski Area, British Columbia">Whistler</option>');
document.write('</optgroup>');
document.write('<optgroup label="Cyprus">');
document.write('<option value="2025¬LCA¬Larnaca, Cyprus">Larnaca</option>');
document.write('<option value="2775¬pfo¬Paphos, Cyprus">Paphos</option>');
document.write('</optgroup>');
document.write('<optgroup label="Czech Republic">');
document.write('<option value="180014¬PRG¬Prague ( and vicinity ), Czech Republic">Prague</option>');
document.write('</optgroup>');
document.write('<optgroup label="Denmark">');
document.write('<option value="178252¬CPH¬Copenhagen, Denmark">Copenhagen</option>');
document.write('</optgroup>');
document.write('<optgroup label="Egypt">');
document.write('<option value="178243¬CAI¬Cairo, Egypt">Cairo</option>');
document.write('<option value="3274¬SSH¬Sharm el Sheikh, Egypt">Sharm el Sheikh</option>');
document.write('<option value="1512¬HRG¬Hurghada, Egypt">Hurghada</option>');
document.write('</optgroup>');
document.write('<optgroup label="France">');
document.write('<option value="500394¬GVA¬Brides les Bains, France">Brides les Bains</option>');
document.write('<option value="6702¬GVA¬Courchevel, France">Courchevel</option>');
document.write('<option value="6007148¬CDG¬Disneyland Paris, France">Disneyland Paris</option>');
document.write('<option value="6035063¬GVA¬Les Arcs, France">Les Arcs</option>');
document.write('<option value="500470¬LYS¬Les Deux Alpes, France">Les Deux Alpes</option>');
document.write('<option value="179898¬PAR¬Paris Metropolitan Area, France">Paris</option>');
document.write('<option value="10259¬GVA¬Val d`Isere, France">Val d`Isere</option>');
document.write('<option value="500536¬LYS¬Val Thorens, France">Val Thorens</option>');
document.write('</optgroup>');
document.write('<optgroup label="Germany">');
document.write('<option value="179892¬BER¬Berlin Metropolitan Area, Germany">Berlin</option>');
document.write('<option value="179896¬MUC¬Munich Metropolitan Area, Germany">Munich</option>');
document.write('</optgroup>');
document.write('<optgroup label="Greece">');
document.write('<option value="178231¬ATH¬Athens ( and vicinity ), Greece">Athens</option>');
document.write('<option value="10700¬CFU¬Corfu, Greece">Corfu</option>');
document.write('<option value="180100¬HER¬Crete, Greece">Crete</option>');
document.write('<option value="1804¬KGS¬Kos, Greece">Kos</option>');
document.write('<option value="1707¬JMK¬Mikonos, Greece">Mikonos</option>');
document.write('<option value="11286¬RHO¬Rhodes, Greece">Rhodes</option>');
document.write('</optgroup>');
document.write('<optgroup label="Hungary">');
document.write('<option value="179994¬BUD¬Budapest ( and vicinity ), Hungary">Budapest</option>');
document.write('</optgroup>');
document.write('<optgroup label="Ireland">');
document.write('<option value="178256¬DUB¬Dublin ( and vicinity ), Ireland">Dublin</option>');
document.write('</optgroup>');
document.write('<optgroup label="Italy">');
document.write('<option value="179893¬FLR¬Florence ( and vicinity ), Italy">Florence</option>');
document.write('<option value="180012¬MIL¬Milan ( and vicinity ), Italy">Milan</option>');
document.write('<option value="6034774¬NAP¬Naples, Italy">Naples</option>');
document.write('<option value="2831¬PMO¬Palermo (Sicily), Italy">Palermo</option>');
document.write('<option value="179899¬ROM¬Rome Metropolitan Area, Italy">Rome</option>');
document.write('<option value="11089¬CAG¬Sardinia, Italy">Sardinia</option>');
document.write('<option value="179981¬VCE¬Venice ( and vicinity ), Italy">Venice</option>');
document.write('</optgroup>');
document.write('<optgroup label="Jamaica">');
document.write('<option value="181552¬MBJ¬Jamaica Island, Jamaica">Jamaica Island</option>');
document.write('</optgroup>');
document.write('<optgroup label="Malaysia">');
document.write('<option value="180008¬KUL¬Kuala Lumpur, Malaysia">Kuala Lumpur</option>');
document.write('<option value="2766¬PEN¬Penang, Malaysia">Penang</option>');
document.write('</optgroup>');
document.write('<optgroup label="Malta">');
document.write('<option value="2341¬MLA¬Malta, Malta">Malta</option>');
document.write('</optgroup>');
document.write('<optgroup label="Mexico">');
document.write('<option value="179991¬ACA¬Acapulco ( and vicinity ), Mexico">Acapulco</option>');
document.write('<option value="179995¬CUN¬Cancun ( and vicinity ), Mexico">Cancun</option>');
document.write('<option value="178285¬MEX¬Mexico City ( and vicinity ), Mexico">Mexico City</option>');
document.write('</optgroup>');
document.write('<optgroup label="Morocco">');
document.write('<option value="305¬AGA¬Agadir, Morocco">Agadir</option>');
document.write('<option value="2938¬RAK¬Marrakech, Morocco">Marrakech</option>');
document.write('</optgroup>');
document.write('<optgroup label="Netherlands">');
document.write('<option value="178229¬AMS¬Amsterdam ( and vicinity ), Netherlands">Amsterdam</option>');
document.write('</optgroup>');
document.write('<optgroup label="New Zealand">');
document.write('<option value="178233¬AKL¬Auckland ( and vicinity ), New Zealand">Auckland</option>');
document.write('<option value="179996¬CHC¬Christchurch, New Zealand">Christchurch</option>');
document.write('<option value="180018¬ZQN¬Queenstown, New Zealand">Queenstown</option>');
document.write('<option value="3798¬WLG¬Wellington, New Zealand">Wellington</option>');
document.write('</optgroup>');
document.write('<optgroup label="Portugal">');
document.write('<option value="603257¬FAO¬Algarve, Portugal">Algarve</option>');
document.write('<option value="178278¬LIS¬Lisbon ( and vicinity ), Portugal">Lisbon</option>');
document.write('<option value="11326¬FNC¬Madeira Island, Portugal">Madeira Island</option>');
document.write('<option value="603077¬OPO¬Porto, Portugal">Porto</option>');
document.write('</optgroup>');
document.write('<optgroup label="Spain">');
document.write('<option value="6023825¬ALC¬Alicante (Costa Blanca), Spain">Alicante</option>');
document.write('<option value="179992¬BCN¬Barcelona ( and vicinity ), Spain">Barcelona</option>');
document.write('<option value="585¬BIO¬Bilbao, Spain">Bilbao</option>');
document.write('<option value="6023506¬BCN¬Costa Brava, Spain">Costa Brava</option>');
document.write('<option value="603258¬AGP¬Costa Del Sol, Spain">Costa Del Sol</option>');
document.write('<option value="1263¬FUE¬Fuerteventura, Canary Islands, Spain">Fuerteventura</option>');
document.write('<option value="602653¬IBZ¬Ibiza, Spain">Ibiza</option>');
document.write('<option value="282¬ACE¬Lanzarote, Canary Islands, Spain">Lanzarote</option>');
document.write('<option value="2117¬LPA¬Las Palmas, Canary Islands, Spain">Las Palmas</option>');
document.write('<option value="178281¬MAD¬Madrid Metropolitan Area, Spain">Madrid</option>');
document.write('<option value="602317¬PMI¬Mallorca Island, Spain">Mallorca Island</option>');
document.write('<option value="2201¬MAH¬Minorca, Spain">Minorca</option>');
document.write('<option value="2835¬PNA¬Pamplona, Spain">Pamplona</option>');
document.write('<option value="180025¬SVQ¬Seville, Spain">Seville</option>');
document.write('<option value="3389¬TFS¬Tenerife, Canary Islands, Spain">Tenerife</option>');
document.write('<option value="3713¬VLC¬Valencia, Spain">Valencia</option>');
document.write('<option value="4160¬ZAZ¬Zaragoza, Spain">Zaragoza</option>');
document.write('</optgroup>');
document.write('<optgroup label="St. Kitts and Nevis">');
document.write('<option value="602310¬SKB¬St. Kitts, St. Kitts and Nevis">St. Kitts</option>');
document.write('</optgroup>');
document.write('<optgroup label="St. Lucia">');
document.write('<option value="601900¬SLU¬St. Lucia--Castries, St. Lucia">Castries</option>');
document.write('<option value="6034511¬UVF¬St. Lucia--Vieux Fort, St. Lucia">Vieux Fort</option>');
document.write('</optgroup>');
document.write('<optgroup label="Thailand">');
document.write('<option value="178236¬BKK¬Bangkok, Thailand">Bangkok</option>');
document.write('<option value="6046393¬HKT¬Phuket, Thailand">Phuket</option>');
document.write('</optgroup>');
document.write('<optgroup label="Trinidad and Tobago">');
document.write('<option value="602308¬TAB¬Tobago, Trinidad and Tobago">Tobago</option>');
document.write('</optgroup>');
document.write('<optgroup label="Tunisia">');
document.write('<option value="6025910¬TUN¬Tunis, Tunisia">Tunis</option>');
document.write('<option value="6034134¬MIR¬Monastir, Tunisia">Monastir</option>');
document.write('</optgroup>');
document.write('<optgroup label="Turkey">');
document.write('<option value="481¬AYT¬Antalya, Turkey">Antalya</option>');
document.write('<option value="178267¬IST¬Istanbul (and vicinity), Turkey">Istanbul</option>');
document.write('</optgroup>');
document.write('<optgroup label="United Arab Emirates">');
document.write('<option value="453¬AUH¬Abu Dhabi, United Arab Emirates">Abu Dhabi</option>');
document.write('<option value="1079¬DXB¬Dubai, United Arab Emirates">Dubai</option>');
document.write('</optgroup>');
document.write('</select>');
document.write('</td></tr>');
document.write('<tr><td>&nbsp;</td></tr>');
document.write('<tr><td align="center"><p class="blue">Departure Date</p></td></tr>');
document.write('<tr><td align="center">');
document.write('<select id="depex_day" name="depex_day" style="WIDTH: 40px;font-size: 8pt;font-family:arial" onchange="ExDepDate()">');
document.write('<option>01</option><option>02</option><option>03</option><option>04</option><option>05</option><option>06</option><option>07</option><option>08</option>');
document.write('<option>09</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option>');
document.write('<option>17</option><option>18</option><option>19</option><option>20</option><option>21</option><option>22</option><option>23</option><option>24</option>');
document.write('<option>25</option><option>26</option><option>27</option><option>28</option><option>29</option><option>30</option><option>31</option>');
document.write('</select>&nbsp;');
document.write('<select id="depex_month" name="depex_month" style="WIDTH: 48px;font-size: 8pt;font-family:arial" onchange="ExDepDate()">');
document.write('<option value="1">JAN</option><option value="2">FEB</option><option value="3">MAR</option><option value="4">APR</option><option value="5">MAY</option><option value="6">JUN</option>');
document.write('<option value="7">JUL</option><option value="8">AUG</option><option value="9">SEP</option><option value="10">OCT</option><option value="11">NOV</option><option value="12">DEC</option>');
document.write('</select>&nbsp;');
document.write('<select id="depex_year" name="depex_year" style="WIDTH: 49px;font-size: 8pt;font-family:arial" onchange="ExDepDate()">');
document.write('<option>2010</option><option>2011</option>');
document.write('</select>');
document.write('	<INPUT TYPE=HIDDEN NAME=ddpt1 ID="ddpt1" VALUE="15/4/2005">');
document.write('    <INPUT TYPE=HIDDEN NAME=tdpt1 ID="tdpt1" value="362">');
document.write('</td></tr>');
document.write('<tr><td>&nbsp;</td></tr>');
document.write('<tr><td align="center"><p class="blue">Return Date</p></td></tr>');
document.write('<tr><td align="center">');
document.write('<select id="ret_day" name="ret_day" style="WIDTH: 40px;font-size: 8pt;font-family:arial" onchange="ExRetDate()">');
document.write('<option>01</option><option>02</option><option>03</option><option>04</option><option>05</option><option>06</option><option>07</option><option>08</option>');
document.write('<option>09</option><option>10</option><option>11</option><option>12</option><option>13</option><option>14</option><option>15</option><option>16</option>');
document.write('<option>17</option><option>18</option><option>19</option><option>20</option><option>21</option><option>22</option><option>23</option><option>24</option>');
document.write('<option>25</option><option>26</option><option>27</option><option>28</option><option>29</option><option>30</option><option>31</option>');
document.write('</select>&nbsp;');
document.write('<select id="ret_month" name="ret_month" style="WIDTH: 48px;font-size: 8pt;font-family:arial" onchange="ExRetDate()">');
document.write('<option value="1">JAN</option><option value="2">FEB</option><option value="3">MAR</option><option value="4">APR</option><option value="5">MAY</option><option value="6">JUN</option>');
document.write('<option value="7">JUL</option><option value="8">AUG</option><option value="9">SEP</option><option value="10">OCT</option><option value="11">NOV</option><option value="12">DEC</option>');
document.write('</select>&nbsp;');
document.write('<select id="ret_year" name="ret_year" style="WIDTH: 49px;font-size: 8pt;font-family:arial" onchange="ExRetDate()">');
document.write('<option>2010</option><option>2011</option>');
document.write('</select>');
document.write('	<INPUT TYPE=HIDDEN NAME=drtn1 ID=drtn1 VALUE="" >');
document.write('	<INPUT TYPE=HIDDEN NAME=trtn1 ID=drtn1 VALUE="362" >');
document.write('</td></tr>');
document.write('<tr><td>&nbsp;</td></tr>');
document.write('<tr><td align="center"><span class="blue">&nbsp;Rooms</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="blue">Adults&nbsp;</span></td></tr>');
document.write('<tr><td align="center">');
document.write('	<SELECT NAME=crom style="font-size: 8pt;font-family:arial;width:40" >');
document.write('	<OPTION VALUE=1 SELECTED>1&nbsp;&nbsp;</OPTION>');
document.write('	<OPTION VALUE=2>2</OPTION>');
document.write('	<OPTION VALUE=3>3</OPTION>');
document.write('	</SELECT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
document.write('	<SELECT NAME=cadu1 style="font-size: 8pt;font-family:arial;width:40" >');
document.write('	<OPTION VALUE=0>0&nbsp;&nbsp;</OPTION>');
document.write('	<OPTION VALUE=1>1</OPTION>');
document.write('	<OPTION VALUE=2 SELECTED>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('	</SELECT>');
document.write('</td></tr>');
document.write('<tr><td align="center"><span class="blue">Seniors</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="blue">Children</span></td></tr>');
document.write('<tr><td align="center">');
document.write('	<SELECT NAME=cSei1 style="font-size: 8pt;font-family:arial;width:40" >');
document.write('	<OPTION VALUE=0 SELECTED>0&nbsp;&nbsp;</OPTION>');
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('	</SELECT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
document.write('	<SELECT NAME=ckdr1 style="font-size: 8pt;font-family:arial;width:40">');
document.write('	<OPTION VALUE=0 SELECTED>0&nbsp;&nbsp;</OPTION>');
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('	</SELECT>');
document.write('</td></tr>');
document.write('<tr><td>&nbsp;</td></tr>');
document.write('<tr><td align="center">');
document.write('	<SELECT NAME=cmbt style="font-size: 8pt;font-family:arial;">');
document.write('    <OPTION VALUE="1">WITH CAR HIRE</OPTION>');
document.write('	<OPTION VALUE="2" SELECTED>NO CAR HIRE</OPTION>');
document.write('    </SELECT>');
document.write('</td></tr>');
document.write('<tr><td>&nbsp;</td></tr>');
document.write('<tr><td align="center">');
document.write('<INPUT ID=A12035_12005 VALUE="Search" TYPE=Submit>');
document.write('</td></tr>');
document.write('<tr><td>&nbsp;</td></tr>');
document.write('</table>');
document.write('	<INPUT TYPE=HIDDEN NAME=cAdt2 VALUE="0">');
document.write('	<INPUT TYPE=HIDDEN NAME=cSei2 VALUE="0">');
document.write('	<INPUT TYPE=HIDDEN NAME=cKid2 VALUE="0">');
document.write('	<INPUT TYPE=HIDDEN NAME=cAdt3 VALUE="0">');
document.write('	<INPUT TYPE=HIDDEN NAME=cSei3 VALUE="0">');
document.write('	<INPUT TYPE=HIDDEN NAME=cKid3 VALUE="0">');
document.write('	<INPUT TYPE=HIDDEN NAME=ages1 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=ages2 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=ages3 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=ages4 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=ages5 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=ageb1 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=ageb2 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=ageb3 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=ageb4 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=ageb5 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=agec1 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=agec2 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=agec3 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=agec4 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN NAME=agec5 VALUE="-1">');
document.write('	<INPUT TYPE=HIDDEN ID="rISb" NAME=infs VALUE="1">');
document.write('	<INPUT TYPE=HIDDEN ID="rILb" NAME=infs VALUE="2">');
document.write('	<INPUT TYPE=HIDDEN ID="eapid" NAME=eapid VALUE="737-3">');
document.write('</form>');
document.write('</div>');

document.body.onLoad=SetAllDates();
