	var all_regions_list = new Array();
	var all_mms_country_list = new Array(); 
	var mms_country_list = new Array(); 
	var children_country_list = new Array(); 	
	var ski_country_list = new Array(); 
	var ski_offer_country_list = new Array(); 	
	var friends_country_list = new Array(); 
	
mms_country_list[0] = "Australia"; 
	mms_country_list[1] = "Austria"; 
	mms_country_list[2] = "Belgium"; 
	mms_country_list[3] = "Bhutan"; 
	mms_country_list[4] = "Brazil"; 
	mms_country_list[5] = "Canada"; 
	mms_country_list[6] = "Caribbean"; 
	mms_country_list[7] = "Central America"; 
	mms_country_list[8] = "China"; 
	mms_country_list[9] = "Cyprus"; 
	mms_country_list[10] = "Czech Republic"; 
	mms_country_list[11] = "Denmark"; 
	mms_country_list[12] = "Estonia"; 
	mms_country_list[13] = "France"; 
	mms_country_list[14] = "Germany"; 
	mms_country_list[15] = "Greece"; 
	mms_country_list[16] = "Iceland"; 
	mms_country_list[17] = "India"; 
	mms_country_list[18] = "Indian Ocean"; 
	mms_country_list[19] = "Indonesia"; 
	mms_country_list[20] = "Ireland"; 
	mms_country_list[21] = "Italy"; 
	mms_country_list[22] = "Malaysia"; 
	mms_country_list[23] = "Mexico"; 
	mms_country_list[24] = "Monaco"; 
	mms_country_list[25] = "Morocco"; 
	mms_country_list[26] = "Netherlands"; 
	mms_country_list[27] = "New Zealand"; 
	mms_country_list[28] = "Portugal"; 
	mms_country_list[29] = "Singapore"; 
	mms_country_list[30] = "South Africa"; 
	mms_country_list[31] = "Spain"; 
	mms_country_list[32] = "Sweden"; 
	mms_country_list[33] = "Switzerland"; 
	mms_country_list[34] = "Thailand"; 
	mms_country_list[35] = "Turkey"; 
	mms_country_list[36] = "United Arab Emirates"; 
	mms_country_list[37] = "United Kingdom"; 
	mms_country_list[38] = "United States"; 
	mms_country_list[39] = "Zambia"; 
	all_regions_list['ASIAPAC'] = new Array();
	all_regions_list['ASIAPAC'][0] = new Array();
	all_regions_list['ASIAPAC'][0]['name'] = 'Australia';
	all_regions_list['ASIAPAC'][0]['key'] = 0;
	all_regions_list['ASIAPAC'][1] = new Array();
	all_regions_list['ASIAPAC'][1]['name'] = 'Bhutan';
	all_regions_list['ASIAPAC'][1]['key'] = 3;
	all_regions_list['ASIAPAC'][2] = new Array();
	all_regions_list['ASIAPAC'][2]['name'] = 'China';
	all_regions_list['ASIAPAC'][2]['key'] = 8;
	all_regions_list['ASIAPAC'][3] = new Array();
	all_regions_list['ASIAPAC'][3]['name'] = 'India';
	all_regions_list['ASIAPAC'][3]['key'] = 17;
	all_regions_list['ASIAPAC'][4] = new Array();
	all_regions_list['ASIAPAC'][4]['name'] = 'Indonesia';
	all_regions_list['ASIAPAC'][4]['key'] = 19;
	all_regions_list['ASIAPAC'][5] = new Array();
	all_regions_list['ASIAPAC'][5]['name'] = 'Malaysia';
	all_regions_list['ASIAPAC'][5]['key'] = 22;
	all_regions_list['ASIAPAC'][6] = new Array();
	all_regions_list['ASIAPAC'][6]['name'] = 'New Zealand';
	all_regions_list['ASIAPAC'][6]['key'] = 27;
	all_regions_list['ASIAPAC'][7] = new Array();
	all_regions_list['ASIAPAC'][7]['name'] = 'Singapore';
	all_regions_list['ASIAPAC'][7]['key'] = 29;
	all_regions_list['ASIAPAC'][8] = new Array();
	all_regions_list['ASIAPAC'][8]['name'] = 'Thailand';
	all_regions_list['ASIAPAC'][8]['key'] = 34;
	all_regions_list['EMEA'] = new Array();
	all_regions_list['EMEA'][0] = new Array();
	all_regions_list['EMEA'][0]['name'] = 'Austria';
	all_regions_list['EMEA'][0]['key'] = 1;
	all_regions_list['EMEA'][1] = new Array();
	all_regions_list['EMEA'][1]['name'] = 'Belgium';
	all_regions_list['EMEA'][1]['key'] = 2;
	all_regions_list['EMEA'][2] = new Array();
	all_regions_list['EMEA'][2]['name'] = 'Cyprus';
	all_regions_list['EMEA'][2]['key'] = 9;
	all_regions_list['EMEA'][3] = new Array();
	all_regions_list['EMEA'][3]['name'] = 'Czech Republic';
	all_regions_list['EMEA'][3]['key'] = 10;
	all_regions_list['EMEA'][4] = new Array();
	all_regions_list['EMEA'][4]['name'] = 'Denmark';
	all_regions_list['EMEA'][4]['key'] = 11;
	all_regions_list['EMEA'][5] = new Array();
	all_regions_list['EMEA'][5]['name'] = 'Estonia';
	all_regions_list['EMEA'][5]['key'] = 12;
	all_regions_list['EMEA'][6] = new Array();
	all_regions_list['EMEA'][6]['name'] = 'France';
	all_regions_list['EMEA'][6]['key'] = 13;
	all_regions_list['EMEA'][7] = new Array();
	all_regions_list['EMEA'][7]['name'] = 'Germany';
	all_regions_list['EMEA'][7]['key'] = 14;
	all_regions_list['EMEA'][8] = new Array();
	all_regions_list['EMEA'][8]['name'] = 'Greece';
	all_regions_list['EMEA'][8]['key'] = 15;
	all_regions_list['EMEA'][9] = new Array();
	all_regions_list['EMEA'][9]['name'] = 'Iceland';
	all_regions_list['EMEA'][9]['key'] = 16;
	all_regions_list['EMEA'][10] = new Array();
	all_regions_list['EMEA'][10]['name'] = 'Ireland';
	all_regions_list['EMEA'][10]['key'] = 20;
	all_regions_list['EMEA'][11] = new Array();
	all_regions_list['EMEA'][11]['name'] = 'Italy';
	all_regions_list['EMEA'][11]['key'] = 21;
	all_regions_list['EMEA'][12] = new Array();
	all_regions_list['EMEA'][12]['name'] = 'Monaco';
	all_regions_list['EMEA'][12]['key'] = 24;
	all_regions_list['EMEA'][13] = new Array();
	all_regions_list['EMEA'][13]['name'] = 'Morocco';
	all_regions_list['EMEA'][13]['key'] = 25;
	all_regions_list['EMEA'][14] = new Array();
	all_regions_list['EMEA'][14]['name'] = 'Netherlands';
	all_regions_list['EMEA'][14]['key'] = 26;
	all_regions_list['EMEA'][15] = new Array();
	all_regions_list['EMEA'][15]['name'] = 'Portugal';
	all_regions_list['EMEA'][15]['key'] = 28;
	all_regions_list['EMEA'][16] = new Array();
	all_regions_list['EMEA'][16]['name'] = 'South Africa';
	all_regions_list['EMEA'][16]['key'] = 30;
	all_regions_list['EMEA'][17] = new Array();
	all_regions_list['EMEA'][17]['name'] = 'Spain';
	all_regions_list['EMEA'][17]['key'] = 31;
	all_regions_list['EMEA'][18] = new Array();
	all_regions_list['EMEA'][18]['name'] = 'Sweden';
	all_regions_list['EMEA'][18]['key'] = 32;
	all_regions_list['EMEA'][19] = new Array();
	all_regions_list['EMEA'][19]['name'] = 'Switzerland';
	all_regions_list['EMEA'][19]['key'] = 33;
	all_regions_list['EMEA'][20] = new Array();
	all_regions_list['EMEA'][20]['name'] = 'Turkey';
	all_regions_list['EMEA'][20]['key'] = 35;
	all_regions_list['EMEA'][21] = new Array();
	all_regions_list['EMEA'][21]['name'] = 'United Arab Emirates';
	all_regions_list['EMEA'][21]['key'] = 36;
	all_regions_list['EMEA'][22] = new Array();
	all_regions_list['EMEA'][22]['name'] = 'United Kingdom';
	all_regions_list['EMEA'][22]['key'] = 37;
	all_regions_list['EMEA'][23] = new Array();
	all_regions_list['EMEA'][23]['name'] = 'Zambia';
	all_regions_list['EMEA'][23]['key'] = 39;
	all_regions_list['NASA'] = new Array();
	all_regions_list['NASA'][0] = new Array();
	all_regions_list['NASA'][0]['name'] = 'Brazil';
	all_regions_list['NASA'][0]['key'] = 4;
	all_regions_list['NASA'][1] = new Array();
	all_regions_list['NASA'][1]['name'] = 'Canada';
	all_regions_list['NASA'][1]['key'] = 5;
	all_regions_list['NASA'][2] = new Array();
	all_regions_list['NASA'][2]['name'] = 'Mexico';
	all_regions_list['NASA'][2]['key'] = 23;
	all_regions_list['NASA'][3] = new Array();
	all_regions_list['NASA'][3]['name'] = 'United States';
	all_regions_list['NASA'][3]['key'] = 38;
		all_mms_country_list[0] = "Australia"; 
	all_mms_country_list[1] = "Austria"; 
	all_mms_country_list[2] = "Belgium"; 
	all_mms_country_list[3] = "Bhutan"; 
	all_mms_country_list[4] = "Brazil"; 
	all_mms_country_list[5] = "Canada"; 
	all_mms_country_list[6] = "Caribbean"; 
	all_mms_country_list[7] = "Central America"; 
	all_mms_country_list[8] = "China"; 
	all_mms_country_list[9] = "Cyprus"; 
	all_mms_country_list[10] = "Czech Republic"; 
	all_mms_country_list[11] = "Denmark"; 
	all_mms_country_list[12] = "Estonia"; 
	all_mms_country_list[13] = "France"; 
	all_mms_country_list[14] = "Germany"; 
	all_mms_country_list[15] = "Greece"; 
	all_mms_country_list[16] = "Iceland"; 
	all_mms_country_list[17] = "India"; 
	all_mms_country_list[18] = "Indian Ocean"; 
	all_mms_country_list[19] = "Indonesia"; 
	all_mms_country_list[20] = "Ireland"; 
	all_mms_country_list[21] = "Italy"; 
	all_mms_country_list[22] = "Malaysia"; 
	all_mms_country_list[23] = "Mexico"; 
	all_mms_country_list[24] = "Monaco"; 
	all_mms_country_list[25] = "Morocco"; 
	all_mms_country_list[26] = "Netherlands"; 
	all_mms_country_list[27] = "New Zealand"; 
	all_mms_country_list[28] = "Portugal"; 
	all_mms_country_list[29] = "Singapore"; 
	all_mms_country_list[30] = "South Africa"; 
	all_mms_country_list[31] = "Spain"; 
	all_mms_country_list[32] = "Sweden"; 
	all_mms_country_list[33] = "Switzerland"; 
	all_mms_country_list[34] = "Thailand"; 
	all_mms_country_list[35] = "Turkey"; 
	all_mms_country_list[36] = "United Arab Emirates"; 
	all_mms_country_list[37] = "United Kingdom"; 
	all_mms_country_list[38] = "United States"; 
	all_mms_country_list[39] = "Zambia"; 
	ski_country_list[0] = "France"; 
	ski_country_list[1] = "Switzerland"; 
	friends_country_list[0] = "Australia"; 
	friends_country_list[1] = "France"; 
	friends_country_list[2] = "Italy"; 
	friends_country_list[3] = "Morocco"; 
	friends_country_list[4] = "New Zealand"; 
	friends_country_list[5] = "Spain"; 
	friends_country_list[6] = "United Kingdom"; 
	friends_country_list[7] = "United States"; 
	children_country_list[0] = "Australia"; 
	children_country_list[1] = "Central America"; 
	children_country_list[2] = "Cyprus"; 
	children_country_list[3] = "Czech Republic"; 
	children_country_list[4] = "Denmark"; 
	children_country_list[5] = "France"; 
	children_country_list[6] = "Indian Ocean"; 
	children_country_list[7] = "Indonesia"; 
	children_country_list[8] = "Italy"; 
	children_country_list[9] = "Malaysia"; 
	children_country_list[10] = "Mexico"; 
	children_country_list[11] = "Morocco"; 
	children_country_list[12] = "New Zealand"; 
	children_country_list[13] = "Portugal"; 
	children_country_list[14] = "South Africa"; 
	children_country_list[15] = "Spain"; 
	children_country_list[16] = "Thailand"; 
	children_country_list[17] = "United Kingdom"; 
	children_country_list[18] = "United States"; 
	var all_mms_countries = new Array();
	var mms_countries = new Array();
	var children_countries = new Array();	
	var ski_countries = new Array();
	var ski_offer_countries = new Array();	
	var friends_countries = new Array();
	var friends_location_list = new Array();

  var all_mms_country0 = new Array(); 
	all_mms_country0[0] = "Adelaide";
	all_mms_country0[1] = "Barossa Valley";
	all_mms_country0[2] = "Blue Mountains";
	all_mms_country0[3] = "Brisbane";
	all_mms_country0[4] = "Byron Bay";
	all_mms_country0[5] = "Central Coast";
	all_mms_country0[6] = "Central Highlands";
	all_mms_country0[7] = "Clare Valley";
	all_mms_country0[8] = "Great Ocean Road";
	all_mms_country0[9] = "Hobart";
	all_mms_country0[10] = "Hunter Valley";
	all_mms_country0[11] = "Kangaroo Island";
	all_mms_country0[12] = "Launceston";
	all_mms_country0[13] = "Lord Howe Island";
	all_mms_country0[14] = "Margaret River";
	all_mms_country0[15] = "Melbourne";
	all_mms_country0[16] = "Ningaloo Reef";
	all_mms_country0[17] = "Northern Beaches";
	all_mms_country0[18] = "Queensland & Great Barrier Reef";
	all_mms_country0[19] = "Red Centre";
	all_mms_country0[20] = "Southern Forests";
	all_mms_country0[21] = "Sydney";
	all_mms_country0[22] = "The Grampians";
	all_mms_country0[23] = "The Kimberley";
	all_mms_country0[24] = "Top End";
	all_mms_country0[25] = "Tweed Valley";
	all_mms_country0[26] = "Victoria";
	all_mms_countries[0] = all_mms_country0;
	
  var all_mms_country1 = new Array(); 
	all_mms_country1[0] = "Vienna";
	all_mms_country1[1] = "Zell Am See";
	all_mms_countries[1] = all_mms_country1;
	
  var all_mms_country2 = new Array(); 
	all_mms_country2[0] = "Antwerp";
	all_mms_country2[1] = "Brussels";
	all_mms_countries[2] = all_mms_country2;
	
  var all_mms_country3 = new Array(); 
	all_mms_country3[0] = "Bhutan";
	all_mms_countries[3] = all_mms_country3;
	
  var all_mms_country4 = new Array(); 
	all_mms_country4[0] = "Bahia";
	all_mms_country4[1] = "Rio De Janeiro";
	all_mms_countries[4] = all_mms_country4;
	
  var all_mms_country5 = new Array(); 
	all_mms_country5[0] = "Montreal";
	all_mms_country5[1] = "Toronto";
	all_mms_countries[5] = all_mms_country5;
	
  var all_mms_country6 = new Array(); 
	all_mms_country6[0] = "Antigua & Barbuda";
	all_mms_country6[1] = "Barbados";
	all_mms_country6[2] = "Grenada";
	all_mms_country6[3] = "Mustique";
	all_mms_country6[4] = "St Barths";
	all_mms_country6[5] = "St Lucia";
	all_mms_country6[6] = "Turks & Caicos";
	all_mms_countries[6] = all_mms_country6;
	
  var all_mms_country7 = new Array(); 
	all_mms_country7[0] = "Belize";
	all_mms_country7[1] = "Guatemala";
	all_mms_countries[7] = all_mms_country7;
	
  var all_mms_country8 = new Array(); 
	all_mms_country8[0] = "Beijing";
	all_mms_country8[1] = "Hong Kong";
	all_mms_country8[2] = "Shanghai";
	all_mms_country8[3] = "Yangshuo";
	all_mms_countries[8] = all_mms_country8;
	
  var all_mms_country9 = new Array(); 
	all_mms_country9[0] = "Limassol";
	all_mms_countries[9] = all_mms_country9;
	
  var all_mms_country10 = new Array(); 
	all_mms_country10[0] = "Prague";
	all_mms_country10[1] = "Tábor";
	all_mms_countries[10] = all_mms_country10;
	
  var all_mms_country11 = new Array(); 
	all_mms_country11[0] = "Copenhagen";
	all_mms_countries[11] = all_mms_country11;
	
  var all_mms_country12 = new Array(); 
	all_mms_country12[0] = "Tallinn";
	all_mms_countries[12] = all_mms_country12;
	
  var all_mms_country13 = new Array(); 
	all_mms_country13[0] = "Beaujolais";
	all_mms_country13[1] = "Bordeaux";
	all_mms_country13[2] = "Brittany";
	all_mms_country13[3] = "Côte D'azur (east)";
	all_mms_country13[4] = "Champagne-Ardennes";
	all_mms_country13[5] = "Courchevel";
	all_mms_country13[6] = "Dordogne";
	all_mms_country13[7] = "Gers";
	all_mms_country13[8] = "Languedoc-Roussillon";
	all_mms_country13[9] = "Normandy";
	all_mms_country13[10] = "Paris";
	all_mms_country13[11] = "Pays Basque";
	all_mms_country13[12] = "Poitou-Charentes";
	all_mms_country13[13] = "Provence";
	all_mms_country13[14] = "St Tropez";
	all_mms_country13[15] = "Tarn";
	all_mms_country13[16] = "Vaucluse, Provence";
	all_mms_countries[13] = all_mms_country13;
	
  var all_mms_country14 = new Array(); 
	all_mms_country14[0] = "Berlin";
	all_mms_country14[1] = "Munich";
	all_mms_countries[14] = all_mms_country14;
	
  var all_mms_country15 = new Array(); 
	all_mms_country15[0] = "Athens";
	all_mms_country15[1] = "Mykonos";
	all_mms_country15[2] = "Santorini";
	all_mms_countries[15] = all_mms_country15;
	
  var all_mms_country16 = new Array(); 
	all_mms_country16[0] = "Reykjavík";
	all_mms_countries[16] = all_mms_country16;
	
  var all_mms_country17 = new Array(); 
	all_mms_country17[0] = "Karnataka";
	all_mms_country17[1] = "Kerala";
	all_mms_countries[17] = all_mms_country17;
	
  var all_mms_country18 = new Array(); 
	all_mms_country18[0] = "Maldives";
	all_mms_country18[1] = "Mauritius";
	all_mms_country18[2] = "Seychelles";
	all_mms_countries[18] = all_mms_country18;
	
  var all_mms_country19 = new Array(); 
	all_mms_country19[0] = "Bali";
	all_mms_country19[1] = "Jakarta";
	all_mms_country19[2] = "Lombok";
	all_mms_country19[3] = "Sumba";
	all_mms_country19[4] = "Yogyakarta";
	all_mms_countries[19] = all_mms_country19;
	
  var all_mms_country20 = new Array(); 
	all_mms_country20[0] = "County Carlow";
	all_mms_country20[1] = "County Meath";
	all_mms_country20[2] = "Dublin";
	all_mms_countries[20] = all_mms_country20;
	
  var all_mms_country21 = new Array(); 
	all_mms_country21[0] = "Aeolian Islands, Sicily";
	all_mms_country21[1] = "Amalfi Coast";
	all_mms_country21[2] = "Capri";
	all_mms_country21[3] = "Florence";
	all_mms_country21[4] = "Milan";
	all_mms_country21[5] = "Piedmont";
	all_mms_country21[6] = "Puglia";
	all_mms_country21[7] = "Rome";
	all_mms_country21[8] = "Sardinia";
	all_mms_country21[9] = "Sicily";
	all_mms_country21[10] = "Sorrento";
	all_mms_country21[11] = "South Tyrol";
	all_mms_country21[12] = "Tuscany";
	all_mms_country21[13] = "Venice";
	all_mms_countries[21] = all_mms_country21;
	
  var all_mms_country22 = new Array(); 
	all_mms_country22[0] = "Kuala Lumpur";
	all_mms_country22[1] = "Langkawi";
	all_mms_countries[22] = all_mms_country22;
	
  var all_mms_country23 = new Array(); 
	all_mms_country23[0] = "Colima";
	all_mms_country23[1] = "Jalisco";
	all_mms_country23[2] = "Mexico City";
	all_mms_country23[3] = "Puebla";
	all_mms_country23[4] = "Riviera Maya";
	all_mms_country23[5] = "Yucatán";
	all_mms_countries[23] = all_mms_country23;
	
  var all_mms_country24 = new Array(); 
	all_mms_country24[0] = "Monte Carlo";
	all_mms_countries[24] = all_mms_country24;
	
  var all_mms_country25 = new Array(); 
	all_mms_country25[0] = "Atlas Mountains";
	all_mms_country25[1] = "Essaouira";
	all_mms_country25[2] = "Marrakech";
	all_mms_country25[3] = "Ouarzazate";
	all_mms_countries[25] = all_mms_country25;
	
  var all_mms_country26 = new Array(); 
	all_mms_country26[0] = "Amsterdam";
	all_mms_countries[26] = all_mms_country26;
	
  var all_mms_country27 = new Array(); 
	all_mms_country27[0] = "Auckland";
	all_mms_country27[1] = "Bay Of Islands";
	all_mms_country27[2] = "Hawkes Bay";
	all_mms_country27[3] = "Kaikoura";
	all_mms_country27[4] = "Lake Taupo";
	all_mms_country27[5] = "Queenstown";
	all_mms_country27[6] = "Wairarapa";
	all_mms_country27[7] = "Wellington";
	all_mms_countries[27] = all_mms_country27;
	
  var all_mms_country28 = new Array(); 
	all_mms_country28[0] = "Cascais";
	all_mms_country28[1] = "Douro Valley";
	all_mms_country28[2] = "Lisbon";
	all_mms_countries[28] = all_mms_country28;
	
  var all_mms_country29 = new Array(); 
	all_mms_country29[0] = "Singapore";
	all_mms_countries[29] = all_mms_country29;
	
  var all_mms_country30 = new Array(); 
	all_mms_country30[0] = "Cape Town";
	all_mms_country30[1] = "Garden Route & Winelands";
	all_mms_country30[2] = "Hermanus";
	all_mms_country30[3] = "Johannesburg";
	all_mms_country30[4] = "Kruger National Park";
	all_mms_country30[5] = "North West Province";
	all_mms_country30[6] = "Western Limpopo";
	all_mms_countries[30] = all_mms_country30;
	
  var all_mms_country31 = new Array(); 
	all_mms_country31[0] = "Barcelona";
	all_mms_country31[1] = "Cadiz Province";
	all_mms_country31[2] = "Córdoba";
	all_mms_country31[3] = "Costa De La Luz";
	all_mms_country31[4] = "Empordà";
	all_mms_country31[5] = "Extremadura";
	all_mms_country31[6] = "Granada";
	all_mms_country31[7] = "Ibiza, Balearic Islands";
	all_mms_country31[8] = "Madrid";
	all_mms_country31[9] = "Mallorca, Balearic Islands";
	all_mms_country31[10] = "Marbella";
	all_mms_country31[11] = "Ronda, Andalucia";
	all_mms_country31[12] = "San Sebastián";
	all_mms_country31[13] = "Seville Province";
	all_mms_country31[14] = "Tarifa";
	all_mms_country31[15] = "Valencia";
	all_mms_countries[31] = all_mms_country31;
	
  var all_mms_country32 = new Array(); 
	all_mms_country32[0] = "Stockholm";
	all_mms_countries[32] = all_mms_country32;
	
  var all_mms_country33 = new Array(); 
	all_mms_country33[0] = "Adelboden";
	all_mms_country33[1] = "Verbier";
	all_mms_countries[33] = all_mms_country33;
	
  var all_mms_country34 = new Array(); 
	all_mms_country34[0] = "Bangkok";
	all_mms_country34[1] = "Chiang Mai";
	all_mms_country34[2] = "Hua Hin";
	all_mms_country34[3] = "Koh Phi Phi";
	all_mms_country34[4] = "Koh Samui";
	all_mms_country34[5] = "Krabi";
	all_mms_country34[6] = "Phuket & Khao Lak";
	all_mms_countries[34] = all_mms_country34;
	
  var all_mms_country35 = new Array(); 
	all_mms_country35[0] = "Istanbul";
	all_mms_countries[35] = all_mms_country35;
	
  var all_mms_country36 = new Array(); 
	all_mms_country36[0] = "Dubai";
	all_mms_countries[36] = all_mms_country36;
	
  var all_mms_country37 = new Array(); 
	all_mms_country37[0] = "Argyll";
	all_mms_country37[1] = "Bath";
	all_mms_country37[2] = "Belfast";
	all_mms_country37[3] = "Berkshire";
	all_mms_country37[4] = "Birmingham";
	all_mms_country37[5] = "Brecon Beacons";
	all_mms_country37[6] = "Brighton";
	all_mms_country37[7] = "Cardigan Bay";
	all_mms_country37[8] = "Carmarthen Bay";
	all_mms_country37[9] = "Chilterns";
	all_mms_country37[10] = "Cornwall";
	all_mms_country37[11] = "Cotswolds";
	all_mms_country37[12] = "County Durham";
	all_mms_country37[13] = "Devon";
	all_mms_country37[14] = "Dorset";
	all_mms_country37[15] = "East Sussex";
	all_mms_country37[16] = "Edinburgh";
	all_mms_country37[17] = "Gloucestershire";
	all_mms_country37[18] = "Hampshire";
	all_mms_country37[19] = "Harrogate";
	all_mms_country37[20] = "Inverness";
	all_mms_country37[21] = "Kent";
	all_mms_country37[22] = "Lake District";
	all_mms_country37[23] = "Liverpool";
	all_mms_country37[24] = "London";
	all_mms_country37[25] = "Manchester";
	all_mms_country37[26] = "Norfolk";
	all_mms_country37[27] = "North Yorkshire";
	all_mms_country37[28] = "Northamptonshire";
	all_mms_country37[29] = "Northeast Somerset";
	all_mms_country37[30] = "Oxfordshire";
	all_mms_country37[31] = "Peak District";
	all_mms_country37[32] = "Somerset";
	all_mms_country37[33] = "Suffolk";
	all_mms_country37[34] = "Vale Of Glamorgan";
	all_mms_country37[35] = "Wales";
	all_mms_country37[36] = "West Sussex";
	all_mms_country37[37] = "Wester Ross";
	all_mms_country37[38] = "Wiltshire";
	all_mms_country37[39] = "Worcestershire";
	all_mms_countries[37] = all_mms_country37;
	
  var all_mms_country38 = new Array(); 
	all_mms_country38[0] = "Austin";
	all_mms_country38[1] = "Berkshires";
	all_mms_country38[2] = "Boston";
	all_mms_country38[3] = "Hamptons";
	all_mms_country38[4] = "Litchfield Hills";
	all_mms_country38[5] = "Los Angeles";
	all_mms_country38[6] = "Miami";
	all_mms_country38[7] = "Napa Valley";
	all_mms_country38[8] = "New York";
	all_mms_country38[9] = "Palm Springs";
	all_mms_country38[10] = "Portland";
	all_mms_country38[11] = "San Diego";
	all_mms_country38[12] = "San Francisco";
	all_mms_country38[13] = "Smoky Mountains";
	all_mms_country38[14] = "Sonoma County";
	all_mms_country38[15] = "Washington DC";
	all_mms_countries[38] = all_mms_country38;
	
  var all_mms_country39 = new Array(); 
	all_mms_country39[0] = "Lower Zambezi";
	all_mms_countries[39] = all_mms_country39;
	
  var mms_country0 = new Array(); 
	mms_country0[0] = "Barossa Valley";
	mms_country0[1] = "Blue Mountains";
	mms_country0[2] = "Brisbane";
	mms_country0[3] = "Byron Bay";
	mms_country0[4] = "Central Coast";
	mms_country0[5] = "Central Highlands";
	mms_country0[6] = "Clare Valley";
	mms_country0[7] = "Hobart";
	mms_country0[8] = "Hunter Valley";
	mms_country0[9] = "Kangaroo Island";
	mms_country0[10] = "Launceston";
	mms_country0[11] = "Lord Howe Island";
	mms_country0[12] = "Margaret River";
	mms_country0[13] = "Melbourne";
	mms_country0[14] = "Ningaloo Reef";
	mms_country0[15] = "Northern Beaches";
	mms_country0[16] = "Queensland & Great Barrier Reef";
	mms_country0[17] = "Red Centre";
	mms_country0[18] = "Southern Forests";
	mms_country0[19] = "Sydney";
	mms_country0[20] = "The Grampians";
	mms_country0[21] = "The Kimberley";
	mms_country0[22] = "Top End";
	mms_countries[0] = mms_country0;
	
  var mms_country1 = new Array(); 
	mms_country1[0] = "Vienna";
	mms_country1[1] = "Zell Am See";
	mms_countries[1] = mms_country1;
	
  var mms_country2 = new Array(); 
	mms_country2[0] = "Antwerp";
	mms_country2[1] = "Brussels";
	mms_countries[2] = mms_country2;
	
  var mms_country3 = new Array(); 
	mms_country3[0] = "Bhutan";
	mms_countries[3] = mms_country3;
	
  var mms_country4 = new Array(); 
	mms_country4[0] = "Bahia";
	mms_country4[1] = "Rio De Janeiro";
	mms_countries[4] = mms_country4;
	
  var mms_country5 = new Array(); 
	mms_country5[0] = "Montreal";
	mms_country5[1] = "Toronto";
	mms_countries[5] = mms_country5;
	
  var mms_country6 = new Array(); 
	mms_country6[0] = "Antigua & Barbuda";
	mms_country6[1] = "Barbados";
	mms_country6[2] = "Grenada";
	mms_country6[3] = "Mustique";
	mms_country6[4] = "St Barths";
	mms_country6[5] = "St Lucia";
	mms_country6[6] = "Turks & Caicos";
	mms_countries[6] = mms_country6;
	
  var mms_country7 = new Array(); 
	mms_country7[0] = "Belize";
	mms_country7[1] = "Guatemala";
	mms_countries[7] = mms_country7;
	
  var mms_country8 = new Array(); 
	mms_country8[0] = "Beijing";
	mms_country8[1] = "Hong Kong";
	mms_country8[2] = "Shanghai";
	mms_country8[3] = "Yangshuo";
	mms_countries[8] = mms_country8;
	
  var mms_country9 = new Array(); 
	mms_country9[0] = "Limassol";
	mms_countries[9] = mms_country9;
	
  var mms_country10 = new Array(); 
	mms_country10[0] = "Prague";
	mms_country10[1] = "Tábor";
	mms_countries[10] = mms_country10;
	
  var mms_country11 = new Array(); 
	mms_country11[0] = "Copenhagen";
	mms_countries[11] = mms_country11;
	
  var mms_country12 = new Array(); 
	mms_country12[0] = "Tallinn";
	mms_countries[12] = mms_country12;
	
  var mms_country13 = new Array(); 
	mms_country13[0] = "Beaujolais";
	mms_country13[1] = "Bordeaux";
	mms_country13[2] = "Brittany";
	mms_country13[3] = "Côte D'azur (east)";
	mms_country13[4] = "Champagne-Ardennes";
	mms_country13[5] = "Dordogne";
	mms_country13[6] = "Languedoc-Roussillon";
	mms_country13[7] = "Normandy";
	mms_country13[8] = "Paris";
	mms_country13[9] = "Pays Basque";
	mms_country13[10] = "Poitou-Charentes";
	mms_country13[11] = "Provence";
	mms_country13[12] = "St Tropez";
	mms_country13[13] = "Tarn";
	mms_country13[14] = "Vaucluse, Provence";
	mms_countries[13] = mms_country13;
	
  var mms_country14 = new Array(); 
	mms_country14[0] = "Berlin";
	mms_country14[1] = "Munich";
	mms_countries[14] = mms_country14;
	
  var mms_country15 = new Array(); 
	mms_country15[0] = "Athens";
	mms_country15[1] = "Mykonos";
	mms_country15[2] = "Santorini";
	mms_countries[15] = mms_country15;
	
  var mms_country16 = new Array(); 
	mms_country16[0] = "Reykjavík";
	mms_countries[16] = mms_country16;
	
  var mms_country17 = new Array(); 
	mms_country17[0] = "Karnataka";
	mms_country17[1] = "Kerala";
	mms_countries[17] = mms_country17;
	
  var mms_country18 = new Array(); 
	mms_country18[0] = "Maldives";
	mms_country18[1] = "Mauritius";
	mms_country18[2] = "Seychelles";
	mms_countries[18] = mms_country18;
	
  var mms_country19 = new Array(); 
	mms_country19[0] = "Bali";
	mms_country19[1] = "Jakarta";
	mms_country19[2] = "Lombok";
	mms_country19[3] = "Sumba";
	mms_country19[4] = "Yogyakarta";
	mms_countries[19] = mms_country19;
	
  var mms_country20 = new Array(); 
	mms_country20[0] = "County Carlow";
	mms_country20[1] = "County Meath";
	mms_country20[2] = "Dublin";
	mms_countries[20] = mms_country20;
	
  var mms_country21 = new Array(); 
	mms_country21[0] = "Aeolian Islands, Sicily";
	mms_country21[1] = "Amalfi Coast";
	mms_country21[2] = "Capri";
	mms_country21[3] = "Florence";
	mms_country21[4] = "Milan";
	mms_country21[5] = "Piedmont";
	mms_country21[6] = "Puglia";
	mms_country21[7] = "Rome";
	mms_country21[8] = "Sardinia";
	mms_country21[9] = "Sicily";
	mms_country21[10] = "Sorrento";
	mms_country21[11] = "South Tyrol";
	mms_country21[12] = "Tuscany";
	mms_country21[13] = "Venice";
	mms_countries[21] = mms_country21;
	
  var mms_country22 = new Array(); 
	mms_country22[0] = "Kuala Lumpur";
	mms_country22[1] = "Langkawi";
	mms_countries[22] = mms_country22;
	
  var mms_country23 = new Array(); 
	mms_country23[0] = "Colima";
	mms_country23[1] = "Jalisco";
	mms_country23[2] = "Mexico City";
	mms_country23[3] = "Puebla";
	mms_country23[4] = "Riviera Maya";
	mms_country23[5] = "Yucatán";
	mms_countries[23] = mms_country23;
	
  var mms_country24 = new Array(); 
	mms_country24[0] = "Monte Carlo";
	mms_countries[24] = mms_country24;
	
  var mms_country25 = new Array(); 
	mms_country25[0] = "Atlas Mountains";
	mms_country25[1] = "Essaouira";
	mms_country25[2] = "Marrakech";
	mms_country25[3] = "Ouarzazate";
	mms_countries[25] = mms_country25;
	
  var mms_country26 = new Array(); 
	mms_country26[0] = "Amsterdam";
	mms_countries[26] = mms_country26;
	
  var mms_country27 = new Array(); 
	mms_country27[0] = "Auckland";
	mms_country27[1] = "Bay Of Islands";
	mms_country27[2] = "Hawkes Bay";
	mms_country27[3] = "Kaikoura";
	mms_country27[4] = "Lake Taupo";
	mms_country27[5] = "Queenstown";
	mms_country27[6] = "Wairarapa";
	mms_country27[7] = "Wellington";
	mms_countries[27] = mms_country27;
	
  var mms_country28 = new Array(); 
	mms_country28[0] = "Cascais";
	mms_country28[1] = "Douro Valley";
	mms_country28[2] = "Lisbon";
	mms_countries[28] = mms_country28;
	
  var mms_country29 = new Array(); 
	mms_country29[0] = "Singapore";
	mms_countries[29] = mms_country29;
	
  var mms_country30 = new Array(); 
	mms_country30[0] = "Cape Town";
	mms_country30[1] = "Garden Route & Winelands";
	mms_country30[2] = "Hermanus";
	mms_country30[3] = "Johannesburg";
	mms_country30[4] = "Kruger National Park";
	mms_country30[5] = "North West Province";
	mms_country30[6] = "Western Limpopo";
	mms_countries[30] = mms_country30;
	
  var mms_country31 = new Array(); 
	mms_country31[0] = "Barcelona";
	mms_country31[1] = "Cadiz Province";
	mms_country31[2] = "Córdoba";
	mms_country31[3] = "Costa De La Luz";
	mms_country31[4] = "Empordà";
	mms_country31[5] = "Extremadura";
	mms_country31[6] = "Granada";
	mms_country31[7] = "Ibiza, Balearic Islands";
	mms_country31[8] = "Madrid";
	mms_country31[9] = "Mallorca, Balearic Islands";
	mms_country31[10] = "Marbella";
	mms_country31[11] = "Ronda, Andalucia";
	mms_country31[12] = "San Sebastián";
	mms_country31[13] = "Seville Province";
	mms_country31[14] = "Tarifa";
	mms_country31[15] = "Valencia";
	mms_countries[31] = mms_country31;
	
  var mms_country32 = new Array(); 
	mms_country32[0] = "Stockholm";
	mms_countries[32] = mms_country32;
	
  var mms_country33 = new Array(); 
	mms_country33[0] = "Adelboden";
	mms_countries[33] = mms_country33;
	
  var mms_country34 = new Array(); 
	mms_country34[0] = "Bangkok";
	mms_country34[1] = "Chiang Mai";
	mms_country34[2] = "Hua Hin";
	mms_country34[3] = "Koh Phi Phi";
	mms_country34[4] = "Koh Samui";
	mms_country34[5] = "Krabi";
	mms_country34[6] = "Phuket & Khao Lak";
	mms_countries[34] = mms_country34;
	
  var mms_country35 = new Array(); 
	mms_country35[0] = "Istanbul";
	mms_countries[35] = mms_country35;
	
  var mms_country36 = new Array(); 
	mms_country36[0] = "Dubai";
	mms_countries[36] = mms_country36;
	
  var mms_country37 = new Array(); 
	mms_country37[0] = "Bath";
	mms_country37[1] = "Belfast";
	mms_country37[2] = "Berkshire";
	mms_country37[3] = "Brecon Beacons";
	mms_country37[4] = "Brighton";
	mms_country37[5] = "Cardigan Bay";
	mms_country37[6] = "Carmarthen Bay";
	mms_country37[7] = "Chilterns";
	mms_country37[8] = "Cornwall";
	mms_country37[9] = "Cotswolds";
	mms_country37[10] = "County Durham";
	mms_country37[11] = "Devon";
	mms_country37[12] = "Dorset";
	mms_country37[13] = "East Sussex";
	mms_country37[14] = "Edinburgh";
	mms_country37[15] = "Gloucestershire";
	mms_country37[16] = "Hampshire";
	mms_country37[17] = "Harrogate";
	mms_country37[18] = "Kent";
	mms_country37[19] = "Lake District";
	mms_country37[20] = "Liverpool";
	mms_country37[21] = "London";
	mms_country37[22] = "Norfolk";
	mms_country37[23] = "North Yorkshire";
	mms_country37[24] = "Northamptonshire";
	mms_country37[25] = "Northeast Somerset";
	mms_country37[26] = "Oxfordshire";
	mms_country37[27] = "Peak District";
	mms_country37[28] = "Suffolk";
	mms_country37[29] = "Vale Of Glamorgan";
	mms_country37[30] = "Wales";
	mms_country37[31] = "West Sussex";
	mms_country37[32] = "Wester Ross";
	mms_country37[33] = "Wiltshire";
	mms_country37[34] = "Worcestershire";
	mms_countries[37] = mms_country37;
	
  var mms_country38 = new Array(); 
	mms_country38[0] = "Austin";
	mms_country38[1] = "Berkshires";
	mms_country38[2] = "Boston";
	mms_country38[3] = "Hamptons";
	mms_country38[4] = "Litchfield Hills";
	mms_country38[5] = "Los Angeles";
	mms_country38[6] = "Miami";
	mms_country38[7] = "Napa Valley";
	mms_country38[8] = "New York";
	mms_country38[9] = "Palm Springs";
	mms_country38[10] = "Portland";
	mms_country38[11] = "San Diego";
	mms_country38[12] = "San Francisco";
	mms_country38[13] = "Smoky Mountains";
	mms_country38[14] = "Sonoma County";
	mms_country38[15] = "Washington DC";
	mms_countries[38] = mms_country38;
	
  var mms_country39 = new Array(); 
	mms_country39[0] = "Lower Zambezi";
	mms_countries[39] = mms_country39;
	
  var ski_country0 = new Array(); 
	ski_country0[0] = "Chamonix";
	ski_country0[1] = "Courchevel";
	ski_country0[2] = "Tignes";
	ski_countries[0] = ski_country0;
	
  var ski_country1 = new Array(); 
	ski_country1[0] = "Verbier";
	ski_countries[1] = ski_country1;
	
  var friends_country0 = new Array(); 
	friends_country0[0] = "Adelaide";
	friends_country0[1] = "Barossa Valley";
	friends_country0[2] = "Great Ocean Road";
	friends_country0[3] = "Queensland & Great Barrier Reef";
	friends_country0[4] = "The Grampians";
	friends_country0[5] = "Tweed Valley";
	friends_country0[6] = "Victoria";
	friends_countries[0] = friends_country0;
	
  var friends_country1 = new Array(); 
	friends_country1[0] = "Gers";
	friends_country1[1] = "Languedoc-roussillon";
	friends_country1[2] = "Paris";
	friends_country1[3] = "Provence";
	friends_countries[1] = friends_country1;
	
  var friends_country2 = new Array(); 
	friends_country2[0] = "Tuscany";
	friends_countries[2] = friends_country2;
	
  var friends_country3 = new Array(); 
	friends_country3[0] = "Marrakech";
	friends_countries[3] = friends_country3;
	
  var friends_country4 = new Array(); 
	friends_country4[0] = "Queenstown";
	friends_countries[4] = friends_country4;
	
  var friends_country5 = new Array(); 
	friends_country5[0] = "Barcelona";
	friends_country5[1] = "Ibiza, Balearic Islands";
	friends_country5[2] = "Mallorca, Balearic Islands";
	friends_country5[3] = "Ronda, Andalucia";
	friends_countries[5] = friends_country5;
	
  var friends_country6 = new Array(); 
	friends_country6[0] = "Argyll";
	friends_country6[1] = "Bath";
	friends_country6[2] = "Berkshire";
	friends_country6[3] = "Birmingham";
	friends_country6[4] = "Cornwall";
	friends_country6[5] = "Cotswolds";
	friends_country6[6] = "Devon";
	friends_country6[7] = "Dorset";
	friends_country6[8] = "Gloucestershire";
	friends_country6[9] = "Harrogate";
	friends_country6[10] = "Inverness";
	friends_country6[11] = "Kent";
	friends_country6[12] = "Lake District";
	friends_country6[13] = "London";
	friends_country6[14] = "Manchester";
	friends_country6[15] = "Norfolk";
	friends_country6[16] = "Somerset";
	friends_country6[17] = "Wales";
	friends_country6[18] = "Wiltshire";
	friends_countries[6] = friends_country6;
	
  var friends_country7 = new Array(); 
	friends_country7[0] = "Hamptons";
	friends_countries[7] = friends_country7;
	
  var children_country0 = new Array(); 
	children_country0[0] = "Blue Mountains";
	children_country0[1] = "Central Coast";
	children_country0[2] = "Clare Valley";
	children_country0[3] = "Hobart";
	children_country0[4] = "Kangaroo Island";
	children_country0[5] = "Launceston";
	children_country0[6] = "Lord Howe Island";
	children_country0[7] = "Melbourne";
	children_country0[8] = "Northern Beaches";
	children_country0[9] = "The Grampians";
	children_countries[0] = children_country0;
	
  var children_country1 = new Array(); 
	children_country1[0] = "Belize";
	children_countries[1] = children_country1;
	
  var children_country2 = new Array(); 
	children_country2[0] = "Limassol";
	children_countries[2] = children_country2;
	
  var children_country3 = new Array(); 
	children_country3[0] = "Tábor";
	children_countries[3] = children_country3;
	
  var children_country4 = new Array(); 
	children_country4[0] = "Copenhagen";
	children_countries[4] = children_country4;
	
  var children_country5 = new Array(); 
	children_country5[0] = "Brittany";
	children_country5[1] = "Normandy";
	children_countries[5] = children_country5;
	
  var children_country6 = new Array(); 
	children_country6[0] = "Seychelles";
	children_countries[6] = children_country6;
	
  var children_country7 = new Array(); 
	children_country7[0] = "Bali";
	children_country7[1] = "Sumba";
	children_country7[2] = "Yogyakarta";
	children_countries[7] = children_country7;
	
  var children_country8 = new Array(); 
	children_country8[0] = "Florence";
	children_country8[1] = "Puglia";
	children_country8[2] = "Rome";
	children_country8[3] = "Tuscany";
	children_countries[8] = children_country8;
	
  var children_country9 = new Array(); 
	children_country9[0] = "Langkawi";
	children_countries[9] = children_country9;
	
  var children_country10 = new Array(); 
	children_country10[0] = "Colima";
	children_country10[1] = "Riviera Maya";
	children_countries[10] = children_country10;
	
  var children_country11 = new Array(); 
	children_country11[0] = "Essaouira";
	children_country11[1] = "Marrakech";
	children_countries[11] = children_country11;
	
  var children_country12 = new Array(); 
	children_country12[0] = "Auckland";
	children_country12[1] = "Bay Of Islands";
	children_country12[2] = "Hawkes Bay";
	children_country12[3] = "Kaikoura";
	children_country12[4] = "Lake Taupo";
	children_country12[5] = "Queenstown";
	children_country12[6] = "Wairarapa";
	children_country12[7] = "Wellington";
	children_countries[12] = children_country12;
	
  var children_country13 = new Array(); 
	children_country13[0] = "Douro Valley";
	children_countries[13] = children_country13;
	
  var children_country14 = new Array(); 
	children_country14[0] = "Cape Town";
	children_country14[1] = "Garden Route & Winelands";
	children_countries[14] = children_country14;
	
  var children_country15 = new Array(); 
	children_country15[0] = "Ibiza, Balearic Islands";
	children_country15[1] = "Ronda, Andalucia";
	children_countries[15] = children_country15;
	
  var children_country16 = new Array(); 
	children_country16[0] = "Bangkok";
	children_country16[1] = "Koh Samui";
	children_countries[16] = children_country16;
	
  var children_country17 = new Array(); 
	children_country17[0] = "Belfast";
	children_country17[1] = "Berkshire";
	children_country17[2] = "Cardigan Bay";
	children_country17[3] = "Cornwall";
	children_country17[4] = "Cotswolds";
	children_country17[5] = "Devon";
	children_country17[6] = "Dorset";
	children_country17[7] = "East Sussex";
	children_country17[8] = "Edinburgh";
	children_country17[9] = "Hampshire";
	children_country17[10] = "Liverpool";
	children_country17[11] = "London";
	children_country17[12] = "Norfolk";
	children_country17[13] = "North Yorkshire";
	children_country17[14] = "Northeast Somerset";
	children_country17[15] = "Oxfordshire";
	children_country17[16] = "Suffolk";
	children_country17[17] = "West Sussex";
	children_country17[18] = "Wiltshire";
	children_country17[19] = "Worcestershire";
	children_countries[17] = children_country17;
	
  var children_country18 = new Array(); 
	children_country18[0] = "Hamptons";
	children_country18[1] = "Los Angeles";
	children_country18[2] = "Napa Valley";
	children_country18[3] = "Palm Springs";
	children_country18[4] = "Smoky Mountains";
	children_countries[18] = children_country18;
	
  friends_location_list['Norfolk'] = new Array(); 
		friends_location_list['Norfolk'][0] = "11-20";
		friends_location_list['Norfolk'][1] = "5-10";
		friends_location_list['Norfolk'][2] = "21-30";
	
  friends_location_list['Cornwall'] = new Array(); 
		friends_location_list['Cornwall'][0] = "11-20";
		friends_location_list['Cornwall'][1] = "2-4";
		friends_location_list['Cornwall'][2] = "5-10";
		friends_location_list['Cornwall'][3] = "21-30";
		friends_location_list['Cornwall'][4] = "31-40";
		friends_location_list['Cornwall'][5] = "40+";
	
  friends_location_list['Cotswolds'] = new Array(); 
		friends_location_list['Cotswolds'][0] = "2-4";
		friends_location_list['Cotswolds'][1] = "21-30";
		friends_location_list['Cotswolds'][2] = "5-10";
	
  friends_location_list['Argyll'] = new Array(); 
		friends_location_list['Argyll'][0] = "11-20";
	
  friends_location_list['Wales'] = new Array(); 
		friends_location_list['Wales'][0] = "5-10";
	
  friends_location_list['Inverness'] = new Array(); 
		friends_location_list['Inverness'][0] = "11-20";
	
  friends_location_list['Ibiza, Balearic Islands'] = new Array(); 
		friends_location_list['Ibiza, Balearic Islands'][0] = "11-20";
		friends_location_list['Ibiza, Balearic Islands'][1] = "2-4";
		friends_location_list['Ibiza, Balearic Islands'][2] = "5-10";
	
  friends_location_list['Somerset'] = new Array(); 
		friends_location_list['Somerset'][0] = "2-4";
		friends_location_list['Somerset'][1] = "5-10";
	
  friends_location_list['Dorset'] = new Array(); 
		friends_location_list['Dorset'][0] = "11-20";
	
  friends_location_list['Tuscany'] = new Array(); 
		friends_location_list['Tuscany'][0] = "2-4";
		friends_location_list['Tuscany'][1] = "5-10";
	
  friends_location_list['Devon'] = new Array(); 
		friends_location_list['Devon'][0] = "2-4";
		friends_location_list['Devon'][1] = "11-20";
	
  friends_location_list['Queensland & Great Barrier Reef'] = new Array(); 
		friends_location_list['Queensland & Great Barrier Reef'][0] = "5-10";
		friends_location_list['Queensland & Great Barrier Reef'][1] = "11-20";
	
  friends_location_list['Tweed Valley'] = new Array(); 
		friends_location_list['Tweed Valley'][0] = "2-4";
	
  friends_location_list['Birmingham'] = new Array(); 
		friends_location_list['Birmingham'][0] = "2-4";
	
  friends_location_list['Barcelona'] = new Array(); 
		friends_location_list['Barcelona'][0] = "2-4";
		friends_location_list['Barcelona'][1] = "5-10";
	
  friends_location_list['Great Ocean Road'] = new Array(); 
		friends_location_list['Great Ocean Road'][0] = "2-4";
		friends_location_list['Great Ocean Road'][1] = "5-10";
	
  friends_location_list['Mallorca, Balearic Islands'] = new Array(); 
		friends_location_list['Mallorca, Balearic Islands'][0] = "5-10";
		friends_location_list['Mallorca, Balearic Islands'][1] = "11-20";
	
  friends_location_list['Barossa Valley'] = new Array(); 
		friends_location_list['Barossa Valley'][0] = "5-10";
	
  friends_location_list['Kent'] = new Array(); 
		friends_location_list['Kent'][0] = "2-4";
		friends_location_list['Kent'][1] = "5-10";
	
  friends_location_list['Harrogate'] = new Array(); 
		friends_location_list['Harrogate'][0] = "11-20";
		friends_location_list['Harrogate'][1] = "2-4";
		friends_location_list['Harrogate'][2] = "5-10";
		friends_location_list['Harrogate'][3] = "21-30";
	
  friends_location_list['Adelaide'] = new Array(); 
		friends_location_list['Adelaide'][0] = "2-4";
	
  friends_location_list['The Grampians'] = new Array(); 
		friends_location_list['The Grampians'][0] = "2-4";
	
  friends_location_list['Manchester'] = new Array(); 
		friends_location_list['Manchester'][0] = "2-4";
	
  friends_location_list['Bath'] = new Array(); 
		friends_location_list['Bath'][0] = "2-4";
		friends_location_list['Bath'][1] = "5-10";
	
  friends_location_list['Lake District'] = new Array(); 
		friends_location_list['Lake District'][0] = "11-20";
	
  friends_location_list['Victoria'] = new Array(); 
		friends_location_list['Victoria'][0] = "2-4";
	
  friends_location_list['Wiltshire'] = new Array(); 
		friends_location_list['Wiltshire'][0] = "5-10";
	
  friends_location_list['London'] = new Array(); 
		friends_location_list['London'][0] = "2-4";
		friends_location_list['London'][1] = "5-10";
		friends_location_list['London'][2] = "11-20";
		friends_location_list['London'][3] = "21-30";
	
  friends_location_list['Queenstown'] = new Array(); 
		friends_location_list['Queenstown'][0] = "2-4";
		friends_location_list['Queenstown'][1] = "5-10";
	
  friends_location_list['Berkshire'] = new Array(); 
		friends_location_list['Berkshire'][0] = "5-10";
	
  friends_location_list['Ronda, Andalucia'] = new Array(); 
		friends_location_list['Ronda, Andalucia'][0] = "11-20";
	
  friends_location_list['Languedoc-roussillon'] = new Array(); 
		friends_location_list['Languedoc-roussillon'][0] = "2-4";
	
  friends_location_list['Hamptons'] = new Array(); 
		friends_location_list['Hamptons'][0] = "2-4";
		friends_location_list['Hamptons'][1] = "5-10";
		friends_location_list['Hamptons'][2] = "11-20";
		friends_location_list['Hamptons'][3] = "21-30";
	
  friends_location_list['Gloucestershire'] = new Array(); 
		friends_location_list['Gloucestershire'][0] = "2-4";
	
  friends_location_list['Paris'] = new Array(); 
		friends_location_list['Paris'][0] = "5-10";
	
  friends_location_list['Marrakech'] = new Array(); 
		friends_location_list['Marrakech'][0] = "5-10";
	
  friends_location_list['Gers'] = new Array(); 
		friends_location_list['Gers'][0] = "11-20";
	
  friends_location_list['Provence'] = new Array(); 
		friends_location_list['Provence'][0] = "2-4";
		friends_location_list['Provence'][1] = "5-10";
		friends_location_list['Provence'][2] = "11-20";
	

function show_countries()
{
	var region_dd = $('region_select');
	var country_dd = $('country_select');
	country_dd.options.length = 1;
	
	var regionArr = all_regions_list[region_dd.value];
	var option_length = regionArr.length;
	var x = 1;
	
	if(region_dd.value == 'all')
	{
		$(all_mms_country_list).each(function(value, key)
		{
			country_dd.options[x]		= new Option();
			country_dd.options[x].text	= value;
			country_dd.options[x].value	= key;
			if(value == $('country_hidden').value)
			{
				country_dd.options[x].selected = true;
			}
			x++;
		});
	}
	else
	{
		$(regionArr).each(function(value)
		{
			country_dd.options[x]		= new Option();
			country_dd.options[x].text	= value['name'];
			country_dd.options[x].value	= value['key'];
			if(value['name'] == $('country_hidden').value)
			{
				country_dd.options[x].selected = true;
			}
			x++;
		});
	}
}

function show_locations(country)
{
	//var location_dd = document.forms['hotel_search'].elements['location'];
    //var country_hidden = document.forms['hotel_search'].elements['country'];
    
    var location_dd = $('location_select');
    var country_hidden = $('country_hidden');

	location_dd.options.length = 1;
	
	if(country == '')
	{
		country_hidden.value = '';
	}
	else
	{
		
		
		var option_length = mms_countries[country].length + 1;
			
		var j = 0;
		for (var i = 1; i < option_length; i++)
		{
			location_dd.options[i] 			= new Option();
			location_dd.options[i].text 	= mms_countries[country][j];
			location_dd.options[i].value 	= mms_countries[country][j];
			j++;
		}
		
		country_hidden.value = mms_country_list[country];

	}
}

function show_ski_locations(country)
{
    var location_dd = $('ski_resort');
    var country_hidden = $('country_hidden');
	location_dd.options.length = 1;	
	if(country == '')
	{
		country_hidden.value = '';
	}
	else
	{		
		var option_length = ski_countries[country].length + 1;			
		var j = 0;
		for (var i = 1; i < option_length; i++)
		{
			location_dd.options[i] 			= new Option();
			location_dd.options[i].text 	= ski_countries[country][j];
			location_dd.options[i].value 	= ski_countries[country][j];
			j++;
		}		
		country_hidden.value = ski_country_list[country];
	}
}

function show_ski_offer_locations(country)
{
    var location_dd = $('ski_offer_resort');
    var country_offer_hidden = $('country_offer_hidden');
	location_dd.options.length = 1;	
	if(country == '')
	{
		country_offer_hidden.value = '';
	}
	else
	{		
		var option_length = ski_offer_countries[country].length + 1;			
		var j = 0;
		for (var i = 1; i < option_length; i++)
		{
			location_dd.options[i] 			= new Option();
			location_dd.options[i].text 	= ski_offer_countries[country][j];
			location_dd.options[i].value 	= ski_offer_countries[country][j];
			j++;
		}		
		country_offer_hidden.value = ski_offer_country_list[country];
	}
}


function show_friends_locations(country)
{
    var location_dd = $('location_select');
    var country_hidden = $('country_hidden');
	location_dd.options.length = 1;	
	if(country == '')
	{
		country_hidden.value = '';
	}
	else
	{		
		var option_length = friends_countries[country].length + 1;			
		var j = 0;
		for (var i = 1; i < option_length; i++)
		{
			location_dd.options[i] 			= new Option();
			location_dd.options[i].text 	= friends_countries[country][j];
			location_dd.options[i].value 	= friends_countries[country][j];
			j++;
		}		
		country_hidden.value = friends_country_list[country];
	}
}

function show_children_locations(country)
{
    var location_dd = $('location_select');
    var country_hidden = $('country_hidden');

	location_dd.options.length = 1;
	
	if(country == '')
	{
		country_hidden.value = '';
	}
	else
	{	
		var option_length = children_countries[country].length + 1;			
		var j = 0;
		for (var i = 1; i < option_length; i++)
		{
			location_dd.options[i] 			= new Option();
			location_dd.options[i].text 	= children_countries[country][j];
			location_dd.options[i].value 	= children_countries[country][j];
			j++;
		}
		
		country_hidden.value = children_country_list[country];

	}
}

function show_all_locations(country)
{
    var location_dd = $('location_select');
    var country_hidden = $('country_hidden');

	location_dd.options.length = 1;
	
	if(country == '')
	{
		country_hidden.value = '';
	}
	else
	{		
		var option_length = all_mms_countries[country].length + 1;			
		var j = 0;
		for (var i = 1; i < option_length; i++)
		{
			location_dd.options[i] 			= new Option();
			location_dd.options[i].text 	= all_mms_countries[country][j];
			location_dd.options[i].value 	= all_mms_countries[country][j];
			j++;
		}
		
		country_hidden.value = all_mms_country_list[country];

	}
}


/* Property sleeps */

function show_property_sleeps(location)
{
    var sleeps_dd = $('sleeps');
	sleeps_dd.options.length = 1;

	var option_length = friends_location_list[location].length + 1;			
	var j = 0;
	for (var i = 1; i < option_length; i++)
	{
		sleeps_dd.options[i] 		= new Option();
		sleeps_dd.options[i].text 	= friends_location_list[location][j];
		sleeps_dd.options[i].value 	= friends_location_list[location][j];
		j++;
	}
		
}

Event.observe(window, 'load', function() {
	if ($('region_select') && $('country_select')){
		if($('region_select').value != 'all'){
			show_countries();
		}
	}
	if($('country_hidden') && $('location_select') && $('country_select'))
	{
		if($('location_select').options.length <= 1)
		{
			show_locations($('country_select').value);
		}
	}
});


	


