var Any = 1;
var Austria = 2;
var Bulgaria = 3;
var Croatia = 4;
var Cyprus = 5;
var Czech_Republic = 6;
var Finland = 7;
var France = 8;
var Germany = 9;
var Greece = 10;
var Hungary = 11;
var Italy = 12;
var Malta = 13;
var Montenegro = 14;
var Portugal = 15;
var Romania = 16;
var Spain = 17;
var Sweden = 18;
var Switzerland = 19;
var Turkey = 20;
var Canada = 21;
var Mexico = 22;
var USA = 23;
var Antigua = 24;
var Bahamas = 25;
var Barbados = 26;
var Dominican_Republic = 27;
var Grenada_Carriacou = 28;
var Jamaica = 29;
var Puerto_Rico = 30;
var St_Kitts = 31;
var St_Lucia = 32;
var St_Maarten = 33;
var St_Vincent_Grenadines = 34;
var Trinidad_Tobago = 35;
var Virgin_Islands_UK = 36;
var Virgin_Islands_US = 37;
var Australia = 38;
var Fiji = 39;
var New_Zeland = 40;
var Belize = 41;
var Chile = 42;
var Costa_Rica = 43;
var Panama = 44;
var Brazil = 45;
var Egypt = 46;
var UAE = 47;
var Indonesia = 48;
var Malaysia = 49;
var Philippines = 50;
var Thailand = 51;
var Cape_Verde = 52;
var Kenya = 53;
var Mauritius = 54;
var Morocco = 55;
var Tunisia = 56;
var Canary_Islands = 57;
var Phillipines = 58

_area = new Array();
_areaid = new Array();

_area[Any] = new Array('Any');
_areaid[Any] = new Array('*');

_area[Antigua] = new Array('Any','Antigua','Falmouth Harbour');
_areaid[Antigua] = new Array('*','Antigua','Falmouth_Harbour');

_area[Australia] = new Array('Any','Adelaide','Queensland','South Ausralia','Victoria','Western Australia');
_areaid[Australia] = new Array('*','Adelaide','Queensland','South_Ausralia','Victoria','Western_Australia');

_area[Austria] = new Array('Any','Salzburg','Bad','Gastein','Brand','Vorarlberg','Dachstein West','Hohentauern','Kaprun & Zell am see','Kuhtia','Kitzbuhel','Oetz','Sankt Martin','Stadl','Austrian Alps','Tyrol');
_areaid[Austria] = new Array('*','Salzburg','Bad','Gastein','Brand','Vorarlberg','Dachstein_West','Hohentauern','Kaprun_and_Zell_am_see','Kuhtia','Kitzbuhel','Oetz','Sankt_Martin','Stadl','Austrian_Alps','Tyrol');

_area[Bahamas] = new Array('Any','Abaco','Cable Beach','Caribbean','Exuma Islands','Grand Bahama','Long Island','Nassau-Paradise Island','Paradise Island');
_areaid[Bahamas] = new Array('*','Abaco','Cable_Beach','Caribbean','Exuma_Islands','Grand_Bahama','Long_Island','Nassau_Paradise_Island','Paradise_Island');

_area[Barbados] = new Array('Any','Christ Church','Sandy Lane','South Coast','Southeast Coast','St James','St Peter','St Phillip','West Coast','Worthing');
_areaid[Barbados] = new Array('*','Christ_Church','Sandy_Lane','South_Coast','Southeast_Coast','St_James','St_Peter','St_Phillip','West_Coast','Worthing');

_area[Belize] = new Array('Any','Belmopan','Cayo District','Belize District');
_areaid[Belize] = new Array('*','Belmopan','Cayo_District','Belize_District');

_area[Bulgaria] = new Array('Any','Rhodope Mountains','Black Sea Coast','Pirin Mountains','Albena','Blagoevgrad','Burgas','Dobrich','Dobruja','Gabrovo','Haskovo','Kardzhali','Khaskovo','Lovech','Montana','Pazardzhik','Pernik','Pleven','Plovdiv','Razgrad','Ruse','Shumen','Silista','Silven','Smolyan','Sofia','Sofia City','Sredets','Stara Zagora','Targovishte','Varna','Velico Tarnovo');
_areaid[Bulgaria] = new Array('*','Rhodope_Mountains','Black_Sea_Coast','Pirin_Mountains','Albena','Blagoevgrad','Burgas','Dobrich','Dobruja','Gabrovo','Haskovo','Kardzhali','Khaskovo','Lovech','Montana','Pazardzhik','Pernik','Pleven','Plovdiv','Razgrad','Ruse','Shumen','Silista','Silven','Smolyan','Sofia','Sofia_City','Sredets','Stara_Zagora','Targovishte','Varna','Velico_Tarnovo');

_area[Brazil] = new Array('Any','Bahia','Ceara','Paraiba','Rio Grande Do Norte','Rio de Janeiro','Fortaleza','Natal','Central West','East','North','North East','North West','South','South East');
_areaid[Brazil] = new Array('*','Bahia','Ceara','Paraiba','Rio_Grande_Do_Norte','Rio_de_Janeiro','Fortaleza','Natal','Central_West','East','North','North_East','North_West','South','South_East');

_area[Canada] = new Array('Any','British Columbia','Halifax','Nova Scotia','Quebec','Saskatchewan','Alberta','Manitoba','Ontario');
_areaid[Canada] = new Array('*','British_Columbia','Halifax','Nova_Scotia','Quebec','Saskatchewan','Alberta','Manitoba','Ontario');

_area[Canary_Islands] = new Array('Fuerteventura','La Palma','Lanzarote','Tenerife');
_areaid[Canary_Islands] = new Array('Fuerteventura','La_Palma','Lanzarote','Tenerife');

_area[Cape_Verde] = new Array('Any','Baia','Boa Vista','Mindelo','Maio','Murdeira Beach','Northern Islands','Sal Island','Santa Maria','Santo Antao','Santiago Island','Southern Islands','Sao Vicente');
_areaid[Cape_Verde] = new Array('*','Baia','Boa_Vista','Mindelo','Maio','Murdeira_Beach','Northern_Islands','Sal_Island','Santa_Maria','Santo_Antao','Santiago_Island','Southern_Islands','Sao_Vicente');

//_area[Caribbean_Islands] = new Array('Any','Dominican Republic');
//_areaid[Caribbean_Islands] = new Array('*','Dominican_Republic');

_area[Chile] = new Array('Any','Santiago de Chile');
_areaid[Chile] = new Array('*','Santiago_de_Chile');

_area[Costa_Rica] = new Array('Any','Caribbean','GuanaCaste','Jaco Beach','Perez Zeledon','Puntarenas','South Puntarenas','Tamarindo');
_areaid[Costa_Rica] = new Array('*','Caribbean','GuanaCaste','Jaco_Beach','Perez_Zeledon','Puntarenas','South_Puntarenas','Tamarindo');

_area[Croatia] = new Array('Any','Varna','Sofia','Burgas','Balchik','Dobrich','Dalmation Coast','Istria','Kvarner Islands','Kvarner Mainland','Promorje-Gorski  Kotar','Split-Dalmatia','Zagreb');
_areaid[Croatia] = new Array('*','Varna','Sofia','Burgas','Balchik','Dobrich','Dalmation_Coast','Istria','Kvarner_Islands','Kvarner_Mainland','Promorje-Gorski__Kotar','Split-Dalmatia','Zagreb');

_area[Cyprus] = new Array('Any','Brela','Dubrovnik','Famagusta','Istria','Kyrenia','Larnaca','Limassol','Nicosia','Pafos','Paphos','Peyia','Sibenil-Knin','Split-Dalmatia','St George','Zadar','Zagreb');
_areaid[Cyprus] = new Array('*','Brela','Dubrovnik','Famagusta','Istria','Kyrenia','Larnaca','Limassol','Nicosia','Pafos','Paphos','Peyia','Sibenil_Knin','Split_Dalmatia','St_George','Zadar','Zagreb');

_area[Czech_Republic] = new Array('Any','Beroun','North Czech','North Moravia','Prague','Central Bohemia','South Bohemia');
_areaid[Czech_Republic] = new Array('*','Beroun','North_Czech','North_Moravia','Prague','Central_Bohemia','South_Bohemia');

_area[Dominican_Republic] = new Array('Any','Amber Coast','Cabarete','East','North Coast','Puerto Plata','Sosua','West','Santo Domingo');
_areaid[Dominican_Republic] = new Array('*','Amber_Coast','Cabarete','East','North_Coast','Puerto_Plata','Sosua','West','Santo_Domingo');

//_area[Dubai] = new Array('Any');
//_areaid[Dubai] = new Array('*');

_area[Egypt] = new Array('Any','Hurghada','Red Sea Riviera (Sinai)','Sharm El Sheik','Southern Red Sea Riviera','Suez');
_areaid[Egypt] = new Array('*','Hurghada','Red_Sea_Riviera_Sinai','Sharm_El_Sheik','Southern_Red_Sea_Riviera','Suez');

_area[Fiji] = new Array('Any','Koro Island');
_areaid[Fiji] = new Array('*','Koro_Island');

_area[Finland] = new Array('Any','Lapland');
_areaid[Finland] = new Array('*','Lapland');

_area[France] = new Array('Any','Alpes Maritimes','Aquitaine','Auvergne','Centre','Languedoc-Rousillon','Limousin','Lorraine','Midi-Pyrenees','Normandy','North-Calais','Paris','Pays de la loire','Picardie','Poitou-Charentes','Provence-Alpes-Cote-D-Azur','Rhone-Alps','West','Alsace, Lorraine & Vosages ','Aquitaine','Auvergne','Brittany','Burgundy','Champagne-Ardenne','Corsica','Cote d’Azure - French Riviera','Cote d’Azure - Provence','Franche - Comte','Haute-Savoie','Languedoc-Roussilon','Limousin','Midi-Pyrenees','Normandy','North','Paris Area','Poitou-Charentes','Pyranees-Orientales','Rhone Alps','Savoie','Val de Loire','Western Loire');
_areaid[France] = new Array('*','Alpes_Maritimes','Aquitaine','Auvergne','Centre','Languedoc_Rousillon','Limousin','Lorraine','Midi_Pyrenees','Normandy','North_Calais','Paris','Pays_de_la_loire','Picardie','Poitou_Charentes','Provence_Alpes_Cote_D_Azur','Rhone_Alps','West','Alsace,_Lorraine_&_Vosages_','Aquitaine','Auvergne','Brittany','Burgundy','Champagne-Ardenne','Corsica','Cote_d’Azure_-_French_Riviera','Cote_d’Azure_-_Provence','Franche_-_Comte','Haute-Savoie','Languedoc-Roussilon','Limousin','Midi-Pyrenees','Normandy','North','Paris_Area','Poitou-Charentes','Pyranees-Orientales','Rhone_Alps','Savoie','Val_de_Loire','Western_Loire');

//_area[Fuerteventura] = new Array('Any');
//_areaid[Fuerteventura] = new Array('*');

_area[Germany] = new Array('Any','Bavaria','Berlin','Brandenberg','Bremen','Hamburg','Lower Saxony','Saxony','Saxony Anhalt','Thuringia');
_areaid[Germany] = new Array('*','Bavaria','Berlin','Brandenberg','Bremen','Hamburg','Lower Saxony','Saxony','Saxony Anhalt','Thuringia');

_area[Greece] = new Array('Any','Aegean Islands','Crete','Cyclades Islands','Cycladic Islands','Ionian Islands','Mainland','Rhodes');
_areaid[Greece] = new Array('*','Aegean_Islands','Crete','Cyclades_Islands','Cycladic_Islands','Ionian_Islands','Mainland','Rhodes');

_area[Grenada_Carriacou] = new Array('Any','Grenada');
_areaid[Grenada_Carriacou] = new Array('*','Grenada');

_area[Hungary] = new Array('Any','Budapest','Central Hungary','Fertoszentmiklos','Western Transdanubia','Budapest','Central Hungary','Somogy Region','Southern Great Plain','Zala Region');
_areaid[Hungary] = new Array('*','Budapest','Central_Hungary','Fertoszentmiklos','Western_Transdanubia','Budapest','Central_Hungary','Somogy_Region','Southern_Great_Plain','Zala_Region');

_area[Indonesia] = new Array('Any','Bali');
_areaid[Indonesia] = new Array('*','Bali');

_area[Italy] = new Array('Any','Abruzzo','Basilicata','Calabria','Sardinia','Sicily','Tuscany','Apulia/Puglia','Campania','Emilia Romagna','Lake Garda','Lake Lugano','Lazio','Le Marche','Liguria','Lombardy','Molise','Piedmont','Puglia Region','Umbria','Veneto (Venice)');
_areaid[Italy] = new Array('*','Abruzzo','Basilicata','Calabria','Sardinia','Sicily','Tuscany','Apulia/Puglia','Campania','Emilia_Romagna','Lake_Garda','Lake_Lugano','Lazio','Le_Marche','Liguria','Lombardy','Molise','Piedmont','Puglia_Region','Umbria','Veneto_(Venice)');

_area[Jamaica] = new Array('Any','St James');
_areaid[Jamaica] = new Array('*','St_James');

_area[Kenya] = new Array('Any','Rift Valley','Watamu');
_areaid[Kenya] = new Array('*','Rift_Valley','Watamu');

//_area[La_Gomera] = new Array('Any');
//_areaid[La_Gomera] = new Array('*');

//_area[Lanzarote] = new Array('Any');
//_areaid[Lanzarote] = new Array('*');

_area[Malaysia] = new Array('Any','Kuala Lumpur','Mont Kiara','Sepang','Federal Territory','Sabah Region','Selangor Region');
_areaid[Malaysia] = new Array('*','Kuala_Lumpur','Mont_Kiara','Sepang','Federal_Territory','Sabah_Region','Selangor_Region');

_area[Malta] = new Array('Any','Gozo','Island of Gozo','Island of Malta');
_areaid[Malta] = new Array('*','Gozo','Island_of_Gozo','Island_of_Malta');

_area[Mauritius] = new Array('Any','Mauritius','Black River','Grand Port','Pamplemousses','Plaines Wilhelms','Riviere du Rempart');
_areaid[Mauritius] = new Array('*','Mauritius','Black_River','Grand_Port','Pamplemousses','Plaines_Wilhelms','Riviere_du_Rempart');

_area[Mexico] = new Array('Any','Baja California','Campeche','Michoacan de Ocampo','Quintana Roo','Sinaloa','Sonora','Yucatan','Pacific Coast','Baja California','Gulf of Mexico','Jalisco Region','Yucatan');
_areaid[Mexico] = new Array('*','Baja_California','Campeche','Michoacan_de_Ocampo','Quintana_Roo','Sinaloa','Sonora','Yucatan','Pacific_Coast','Baja_California','Gulf_of_Mexico','Jalisco_Region','Yucatan');

_area[Montenegro] = new Array('Any','Crimica','Dobrota','Herceg Novi','Kumbor','Mimosa Park','Ulcinj','Bar','Budva','Kotor','Serbia and Montenegro');
_areaid[Montenegro] = new Array('*','Crimica','Dobrota','Herceg_Novi','Kumbor','Mimosa_Park','Ulcinj','Bar','Budva','Kotor','Serbia_and_Montenegro');

_area[Morocco] = new Array('Any','Atlantic Coast','Atlantic Coastal Plain','Atlas Mountains','Cabo Negro','Casablanca','Marrakech','Mediterranean Coast','Tanger','Tangia','Fes Region','Nord Ouest Region','Oriental Region');
_areaid[Morocco] = new Array('*','Atlantic_Coast','Atlantic_Coastal_Plain','Atlas_Mountains','Cabo_Negro','Casablanca','Marrakech','Mediterranean_Coast','Tanger','Tangia','Fes_Region','Nord_Ouest_Region','Oriental_Region');

_area[New_Zeland] = new Array('Any','North Island','South Island');
_areaid[New_Zeland] = new Array('*','North_Island','South_Island');

_area[Panama] = new Array('Any','Los Santos','Panama','Panama City','Santa Catalina','The Pearl Islands','Bocas Del Toro Region','Chiriqui Region');
_areaid[Panama] = new Array('*','Los_Santos','Panama','Panama_City','Santa_Catalina','The_Pearl_Islands','Bocas_Del_Toro_Region','Chiriqui_Region');

_area[Phillipines] = new Array('Aklan Region');
_areaid[Phillipines] = new Array('Aklan_Region');

//_area[Poland] = new Array('Any','Warsaw','Wroclaw');
//_areaid[Poland] = new Array('*','Warsaw','Wroclaw');

_area[Portugal] = new Array('Any','Alentejo','Algarve','Beiras','Blue Coast','Lisboa - Tagus Valley','Madeira','Silver Coast','Inland','Costa de Lisboa','Alentejo','Azores','Cascais Region','Central Portugal','Lisboa  e Vale do Tejo  Region','Lisbon & Costa de Lisboa','North Portugal','Setubal Region');
_areaid[Portugal] = new Array('*','Alentejo','Algarve','Beiras','Blue_Coast','Lisboa_Tagus_Valley','Madeira','Silver_Coast','Inland','Costa_de_Lisboa','Alentejo','Azores','Cascais_Region','Central_Portugal','Lisboa__e_Vale_do_Tejo__Region','Lisbon_&_Costa_de_Lisboa','North_Portugal','Setubal_Region');

_area[Puerto_Rico] = new Array('Any','Rio Grande');
_areaid[Puerto_Rico] = new Array('*','Rio_Grande');

_area[Romania] = new Array('Any','Brasov','Bucharest','Constanta','Dobrogea (Black Sea Coast)','Frumusani','Moldavia','Transylvania','Romanian Black Sea Coast');
_areaid[Romania] = new Array('*','Brasov','Bucharest','Constanta','Dobrogea_Black_Sea_Coast','Frumusani','Moldavia','Transylvania','Romanian_Black_Sea_Coast');

//_area[Slovakia] = new Array('Any');
//_areaid[Slovakia] = new Array('*');

_area[Spain] = new Array('Any','Canary Islands','Costa Blanca','Costa Brava','Costa Calida','Costa De Almeria','Costa De La Luz','Costa Del Azahar','Costa Del Sol','Costa del Norte','Costa Verde','Galicia','Gibraltar','Inland','Ibiza','Majorca','Mallorca','Malaga','Menorca','Alicante','Andalucia Region','Aragon','Cantabria','Castilla La Mancha','Castilla Y Leon','Catalonia','La Rioja','Valencia');
_areaid[Spain] = new Array('*','Canary_Islands','Costa_Blanca','Costa_Brava','Costa_Calida','Costa_De_Almeria','Costa_De_La_Luz','Costa_Del_Azahar','Costa_Del_Sol','Costa_del_Norte','Costa_Verde','Galicia','Gibraltar','Inland','Ibiza','Majorca','Mallorca','Malaga','Menorca','Alicante','Andalucia_Region','Aragon','Cantabria','Castilla_La_Mancha','Castilla_Y_Leon','Catalonia','La_Rioja','Valencia');

_area[St_Kitts] = new Array('Any','St Kitts');
_areaid[St_Kitts] = new Array('*','St_Kitts');

_area[St_Lucia] = new Array('Any','St Lucia');
_areaid[St_Lucia] = new Array('*','St_Lucia');

_area[St_Maarten] = new Array('Any','St Maarten');
_areaid[St_Maarten] = new Array('*','St_Maarten');

_area[St_Vincent_Grenadines] = new Array('Any','Buccament Bay','Marley Bay','St Andrew','St Vincent');
_areaid[St_Vincent_Grenadines] = new Array('*','Buccament_Bay','Marley_Bay','St_Andrew','St_Vincent');

_area[Sweden] = new Array('Any','Angermanland','Skana','Vastre Goteborg');
_areaid[Sweden] = new Array('*','Angermanland','Skana','Vastre_Goteborg');

_area[Switzerland] = new Array('Any','Tricino','Valais','Vaud','Wallis','Bernese Oberland','Geneva','Graubunden','Lake Geneva Region','Schweizer Mittelland');
_areaid[Switzerland] = new Array('*','Tricino','Valais','Vaud','Wallis','Bernese_Oberland','Geneva','Graubunden','Lake_Geneva_Region','Schweizer_Mittelland');

//_area[Tenerife] = new Array('Any','Los Cristianos','Las Americas','Adeje','Other Areas','Playa San Juan');
//_areaid[Tenerife] = new Array('*','Los_Cristianos','Las_Americas','Adeje','Other_Areas','Playa_San_Juan');

_area[Thailand] = new Array('Any','Bang Bao','Bophut','Central Region','Chonburi','Koh Chang','Koh Samui','Pattaya','Phuket','White Sands Beach');
_areaid[Thailand] = new Array('*','Bang_Bao','Bophut','Central_Region','Chonburi','Koh_Chang','Koh_Samui','Pattaya','Phuket','White_Sands_Beach');

_area[Trinidad_Tobago] = new Array('Any','Port of Spain');
_areaid[Trinidad_Tobago] = new Array('*','Port_of_Spain');

_area[Tunisia] = new Array('Any','Port El Kantaoui');
_areaid[Tunisia] = new Array('*','Port_El_Kantaoui');

_area[Turkey] = new Array('Any','Akbuk','Alanya','Belek','Bodrum','Altinkum','Dalaman','Fethiye','Gulluk','Istanbul','Kalkan','Kemer','Kussadasi','Marmaris','Side');
_areaid[Turkey] = new Array('*','Akbuk','Alanya','Belek','Bodrum','Altinkum','Dalaman','Fethiye','Gulluk','Istanbul','Kalkan','Kemer','Kussadasi','Marmaris','Side');

_area[UAE] = new Array('Any','Abu Dhabi','Ajman','Dubai','Ras al-Khaimah','Umm al-Quwain');
_areaid[UAE] = new Array('*','Abu_Dhabi','Ajman','Dubai','Ras_al_Khaimah','Umm_al_Quwain');

_area[USA] = new Array('Any','California','Florida','Hawaii','Maine','Michigan','Nevada','Texas');
_areaid[USA] = new Array('*','California','Florida','Hawaii','Maine','Michigan','Nevada','Texas');

_area[Virgin_Islands_UK] = new Array('Any','Tortola');
_areaid[Virgin_Islands_UK] = new Array('*','Tortola');

_area[Virgin_Islands_US] = new Array('Any','St Croix');
_areaid[Virgin_Islands_US] = new Array('*','St_Croix');

function populate_entrysearch(areas,areasid){
	country_id = document.getElementById("Country").value;
	
	if(country_id == "*"){
		country_id = 1;
	}
	
	if(country_id == "Austria"){
		country_id = 2;
	}
	
	if(country_id == "Bulgaria"){
		country_id = 3;
	}
	
	if(country_id == "Croatia"){
		country_id = 4;
	}
	
	if(country_id == "Cyprus"){
		country_id = 5;
	}
	
	if(country_id == "Czech_Republic"){
		country_id = 6;
	}
	
	if(country_id == "Finland"){
		country_id = 7;
	}
	
	if(country_id == "France"){
		country_id = 8;
	}
	
	if(country_id == "Germany"){
		country_id = 9;
	}
	
	if(country_id == "Greece"){
		country_id = 10;
	}
	
	if(country_id == "Hungary"){
		country_id = 11;
	}
	
	if(country_id == "Italy"){
		country_id = 12;
	}
	
	if(country_id == "Malta"){
		country_id = 13;
	}
	
	if(country_id == "Montenegro"){
		country_id = 14;
	}
	
	if(country_id == "Portugal"){
		country_id = 15;
	}
	
	if(country_id == "Romania"){
		country_id = 16;
	}
	
	if(country_id == "Spain"){
		country_id = 17;
	}
	
	if(country_id == "Sweden"){
		country_id = 18;
	}
	
	if(country_id == "Switzerland"){
		country_id = 19;
	}
	
	if(country_id == "Turkey"){
		country_id = 20;
	}
	
	if(country_id == "Canada"){
		country_id = 21;
	}
	
	if(country_id == "Mexico"){
		country_id = 22;
	}
	
	if(country_id == "USA"){
		country_id = 23;
	}
	
	if(country_id == "Antigua"){
		country_id = 24;
	}
	
	if(country_id == "Bahamas"){
		country_id = 25;
	}
	
	if(country_id == "Barbados"){
		country_id = 26;
	}
	
	if(country_id == "Dominican_Republic"){
		country_id = 27;
	}
	
	if(country_id == "Grenada_Carriacou"){
		country_id = 28;
	}
	
	if(country_id == "Jamaica"){
		country_id = 29;
	}
	
	if(country_id == "Puerto_Rico"){
		country_id = 30;
	}
	
	if(country_id == "St_Kitts"){
		country_id = 31;
	}
	
	if(country_id == "St_Lucia"){
		country_id = 32;
	}
	
	if(country_id == "St_Maarten"){
		country_id = 33;
	}
	
	if(country_id == "St_Vincent_Grenadines"){
		country_id = 34;
	}
	
	if(country_id == "Trinidad_Tobago"){
		country_id = 35;
	}
	
	if(country_id == "Virgin_Islands_UK"){
		country_id = 36;
	}
	
	if(country_id == "Virgin_Islands_US"){
		country_id = 37;
	}
	
	if(country_id == "Australia"){
		country_id = 38;
	}
	
	if(country_id == "Fiji"){
		country_id = 39;
	}
	
	if(country_id == "New_Zeland"){
		country_id = 40;
	}
	
	if(country_id == "Belize"){
		country_id = 41;
	}
	
	if(country_id == "Chile"){
		country_id = 42;
	}
	
	if(country_id == "Costa_Rica"){
		country_id = 43;
	}
	
	if(country_id == "Panama"){
		country_id = 44;
	}
	
	if(country_id == "Brazil"){
		country_id = 45;
	}
	
	if(country_id == "Egypt"){
		country_id = 46;
	}
	
	if(country_id == "UAE"){
		country_id = 47;
	}
	
	if(country_id == "Indonesia"){
		country_id = 48;
	}
	
	if(country_id == "Malaysia"){
		country_id = 49;
	}
	
	if(country_id == "Philippines"){
		country_id = 50;
	}
	
	if(country_id == "Thailand"){
		country_id = 51;
	}
	
	if(country_id == "Cape_Verde"){
		country_id = 52;
	}
	
	if(country_id == "Kenya"){
		country_id = 53;
	}
	
	if(country_id == "Mauritius"){
		country_id = 54;
	}
	
	if(country_id == "Morocco"){
		country_id = 55;
	}
	
	if(country_id == "Tunisia"){
		country_id = 56;
	}
	
	if(country_id == "Canary_Islands"){
		country_id = 57;
	}
	
	if(country_id == "Phillipines"){
			country_id = 58;
	}
	
	document.getElementById("Region").length=0;
	document.getElementById("Region").length=areas[country_id].length;
	for (i = 0; i < areas[country_id].length; i++){	
		document.getElementById("Region").options[i].value = areasid[country_id][i];
		document.getElementById("Region").options[i].text = areas[country_id][i];
	}
}
