
function waitBox()
{
  var popup = window.open('http://bookings.reservations.ae/wait.html','wait','height=125 ,width=330,left=330,top=330');
}

var Hotels = [ 
[ 'Abu Dhabi Grand',
  'Al Maha Rotana Suites',
  'Al Rawda Rotana Suites',
  'Beach Rotana Hotel & Towers',
  'Crowne Plaza Abu Dhabi',
  'Golden Tulip Dalma Suites',
  'Grand Continental Flamingo HT',
  'Hilton Abu Dhabi',
  'Hilton Baynunah',
  'Hilton Corniche Residence Abu Dhabi',
  'Hotel Inter-Continental Abu Dhabi',
  'Howard Johnson Hotel Diplomat',
  'International Rotana Inn Hotel',
  'Khalidia Palace Hotel',
  'Le Meridien Abu Dhabi',
  'Millennium Hotel Abu Dhabi',
  'Novotel Abu Dhabi Centre Hotel',
  'Sheraton Abu Dhabi Resort & Towers',
  'Sheraton Residence Abu Dhabi'
  ], [
  'Ajman Kempinski Hotel & Resort',
  'Ajman Kempinski Hotel Resort'
  ], [ 
  'Al Ain Rotana Hotel',
  'Hilton Al Ain',
  'Hotel Inter-Continental Al Ain',
  'Mercure Grand Jebel Hafeet 5'
  ], [ 
  'Al Bustan Residence Hotel',
  'Al Bustan Rotana Hotel',
  'Al Khaleej Palace Hotel',
  'Al Maha Desert Resort',
  'Al Qasr Madinet Jumeirah',
  'AL Sondos Suites BY le Meridien',
  'Arabian Court',
  'Best Western Avari Dubai',
  'Comfort Inn Deira',
  'Coral Deira Dubai',
  'Crowne Plaza Dubai',
  'Crowne Plaza Hotel Dubai',
  'Dubai Marine Beach Rsrt & Spa',
  'Dubai Panorama',
  'Dusit Dubai',
  'Emirates Towers Hotel',
  'Four Points Bur Dubai',
  'Golden Sands',
  'Golden Sands Hotel Apartments',
  'Golden Tulip Aeroplane Hotel Dubai',
  'Grand Hyatt Dubai',
  'Gulf Inn Hotel Dubai',
  'Hilton Dubai Creek',
  'Hilton Dubai Jumeirah',
  'Holiday Inn Downtown',
  'Holiday Inn Dubai-Downtown Dubai',
  'Hotel Inter-Continental Dubai',
  'Howard Johnson Deira Dubai',
  'Hyatt Regency Dubai & Galleria',
  'Jebel Ali Golf Resort & Spa',
  'Jumeira Rotana Hotel',
  'Jumeirah Beach Club',
  'Jumeirah Beach Hotel',
  'JW Marriott Hotel Dubai',
  'Landmark Hotel',
  'Le Meridien Dubai',
  'Le Meridien Mina Seyahi Beach Resort & Marina',
  'LE Meridien Residence Baniyas Square',
  'LE Meridien Residence Deira',
  'LE Meridien Royal Beach Resort',
  'Le Royal Meridien Beach Resort & Spa',
  'Marriott Executive Apartments Dubai Uae',
  'Metropolitan Resort & Beach Club',
  'Millennium Airport Hotel Dubai',
  'Mina A\' Salam',
  'Moevenpick Hotel Bur Dubai',
  'Nihal Hotel Dubai',
  'Novotel World Trade Centre',
  'One & Only Residence & Spa',
  'Palace of the Royal Mirage',
  'Palm Beach Rotana Inn',
  'Ramada Dubai',
  'Regent Beach Resort',
  'Regent Palace Hotel',
  'Renaissance Dubai Hotel',
  'Richmond Hotel Apartments',
  'Rihab Rotana Suites Hotel',
  'Rimal Rotana Suites',
  'Royal Plaza Dubai',
  'Rydges Plaza Dubai',
  'Savoy Hotel Apartments',
  'Savoy Residence',
  'Shangri-La Hotel Dubai',
  'Sheraton Deira Hotel & Towers',
  'Sheraton Dubai Creek Hotel & Towers',
  'Sheraton Jumeira Beach Resort & Towers',
  'St George Hotel',
  'Taj Palace Dubai',
  'The Fairmont Dubai',
  'The Metropolitan Hotel Dubai',
  'The Metropolitan Palace Hotel',
  'The Ritz-Carlton Dubai',
  'Towers Rotana Hotel',
  'Traders Hotel'
], [
  'Hilton Fujairah',
  'Le Meridien Al Aqah Beach Resort',
  'Ritz Plaza Hotel Fujairah'
], [ 
  'AL Hamra Fort Hotel & Beach R',
  'Hilton Ras AL Khaimah'
], [
  'Al Sharq Hotel',
  'Beach Hotel Sharjah',
  'Embassy Suites Hotel',
  'Millennium Hotel Sharjah',
  'Sharjah Grand Hotel',
  'Sharjah Rotana Hotel',
  'The Oceanic Khorfakkan Beach'
], [
	'Umm Al Quwain Beach'
	] 
]

function selectHotel(ID) {
 // var List = document.forms['hotsrchbox'].item('name');
 var List = document.hotsrchbox.name;
 
 //window.alert(List.options.length);
 List.options.length = 1;
 var Items = Hotels[ID];
 for(var i = 0; i < Items.length; i++) {
  var nID = List.options.length;
  List.options.length = nID + 1
  List.options[nID].value = Items[i]
  List.options[nID].text = Items[i];
 	//var Opt = new Option(Items[i], Items[i]);
  //List.add (Opt);
 }
 
}
