//var hide_empty_list=true; //uncomment this line to hide empty selection lists

var disable_empty_list=true; //uncomment this line to disable empty selection lists

addListGroup("countries", "region");

///=========================define the countries=============================////
addOption("region", "", "", "", 1); //Empty starter option for the countries
addList("region", "Albania", "Albania", "Albania");
addList("region", "Andora", "Andora", "Andora");
addList("region", "Austria", "Austria", "Austria");
addList("region", "Belarus", "Belarus", "Belarus");
addList("region", "Belgium", "Belgium", "Belgium");
addList("region", "Bosnia", "Bosnia", "Bosnia");
addList("region", "Bulgaria", "Bulgaria", "Bulgaria");
addList("region", "Croatia", "Croatia", "Croatia");
addList("region", "Cyprus", "Cyprus", "Cyprus");
addList("region", "Czech Republic", "Czech Republic", "Czech Republic");
addList("region", "Denmark", "Denmark", "Denmark");
addList("region", "England", "England", "England");
addList("region", "Estonia", "Estonia", "Estonia");
addList("region", "France", "France", "France");
addList("region", "Finland", "Finland", "Finland");
addList("region", "Fyrom", "Fyrom", "Fyrom");
addList("region", "Germany", "Germany", "Germany");
addList("region", "Gibraltar", "Gibraltar", "Gibraltar");
addList("region", "Greece", "Greece", "Greece");
addList("region", "Holland", "Holland", "Holland");
addList("region", "Hungary", "Hungary", "Hungary");
addList("region", "Iceland", "Iceland", "Iceland");
addList("region", "Ireland", "Ireland", "Ireland");
addList("region", "Italy", "Italy", "Italy");
addList("region", "Latvia", "Latvia", "Latvia");
addList("region", "Lithuania", "Lithuania", "Lithuania");
addList("region", "Luxemburg", "Luxemburg", "Luxemburg");
addList("region", "Malta", "Malta", "Malta");
addList("region", "Moldova", "Moldova", "Moldova");
addList("region", "Monaco", "Monaco", "Monaco");
addList("region", "Montenegro", "Montenegro", "Montenegro");
addList("region", "Northern Ireland", "Northern Ireland", "Northern Ireland");
addList("region", "Norway", "Norway", "Norway");
addList("region", "Poland", "Poland", "Poland");
addList("region", "Portugal", "Portugal", "Portugal");
addList("region", "Romania", "Romania", "Romania");
addList("region", "Russia", "Russia", "Russia");
addList("region", "Scotland", "Scotland", "Scotland");
addList("region", "Serbia", "Serbia", "Serbia");
addList("region", "Slovakia", "Slovakia", "Slovakia");
addList("region", "Slovenia", "Slovenia", "Slovenia");
addList("region", "Spain", "Spain", "Spain");
addList("region", "Sweden", "Sweden", "Sweden");
addList("region", "Switzerland", "Switzerland", "Switzerland");
addList("region", "Turkey", "Turkey", "Turkey");
addList("region", "Ukraine", "Ukraine", "Ukraine");
addList("region", "Wales", "Wales", "Wales");

///---------------------------------------------------------------------------////



///===================define the cities======================================///

addOption("Albania", "Select Region","", 1); //Albania cities options
addList("Albania", "All Regions", "");

addOption("Andora", "Select Region", "", 1); //Andora cities options
addList("Andora", "Canillo", "Canillo", "Canillo");
addList("Andora", "Ordino", "Ordino", "Ordino");
addList("Andora", "Pyrenees", "Pyrenees", "Pyrenees");

addOption("Austria", "Select Region", "", 1); //Austria cities options
addList("Austria", "East Tyrol", "East Tyrol");
addList("Austria", "Salzburger Land", "Salzburger Land");
addList("Austria", "Tirol", "Tirol");
addList("Austria", "Upper Austria", "Upper Austria");
addList("Austria", "Vienna", "Vienna");

addOption("Belarus", "Select Region","", 1); //Belarus cities options
addList("Belarus", "All Regions", "");

addOption("Belgium", "Select Region","", 1);//Belgium cities options
addList("Belgium", "Flanders & Brussels", "Flanders & Brussels");
addList("Belgium", "Wallonia", "Wallonia");

addOption("Bosnia", "Select Region","", 1); //Bosnia cities options
addList("Bosnia", "All Regions", "");

addOption("Bulgaria", "Select Region","", 1); //Bulgaria cities options
addList("Bulgaria", "Burgas", "Burgas");
addList("Bulgaria", "Lovech", "Lovech");
addList("Bulgaria", "Plovdiv", "Plovdiv");
addList("Bulgaria", "Sofia", "Sofia");
addList("Bulgaria", "Varna", "Varna");

addOption("Croatia", "Select Region","", 1); //Croatia cities options
addList("Croatia", "Split", "Split");

addOption("Cyprus", "Select Region","", 1); //Cyprus cities options
addList("Cyprus", "Famagusta region", "Famagusta region");
addList("Cyprus", "Larnaca region", "Larnaca region");
addList("Cyprus", "Limassol region", "Limassol region");
addList("Cyprus", "Nicosia region", "Nicosia region");
addList("Cyprus", "Northern Cyprus", "Northern Cyprus");
addList("Cyprus", "Paphos region", "Paphos region");

addOption("Czech Republic", "Select Region","", 1); //Czech Republic cities options
addList("Czech Republic", "All Regions", "");

addOption("Denmark", "Select Region","", 1); //Denmark cities options
addList("Denmark", "All Regions", "");

addOption("England", "Select Region","", 1); //England cities options
addList("England", "Cumbria - Lake District", "Cumbria - Lake District");
addList("England", "East of England", "East of England");
addList("England", "Heart of England", "Heart of England");
addList("England", "London", "London");
addList("England", "North West", "North West");
addList("England", "Northumbria", "Northumbria");
addList("England", "South East", "South East");
addList("England", "South of England", "South of England");
addList("England", "West Country", "West Country");
addList("England", "Yorkshire & Humberside", "Yorkshire & Humberside");

addOption("Estonia", "Select Region","", 1); //Estonia cities options
addList("Estonia", "All Regions", "");

addOption("France", "Select Region","", 1); //France cities options
addList("France", "Alsace, Lorraine & Vosges", "Alsace, Lorraine & Vosges");
addList("France", "Aquitaine", "Aquitaine");
addList("France", "Auvergne", "Auvergne");
addList("France", "Brittany", "Brittany");
addList("France", "Burgundy", "Burgundy");
addList("France", "Champagne - Ardenne", "Champagne - Ardenne");
addList("France", "Corsica", "Corsica");
addList("France", "Cote d'Azur - Riviera", "Cote d'Azur - Riviera");
addList("France", "Cote d'Azur - Provence", "Cote d'Azur - Provence");
addList("France", "Franche - Comte", "Franche - Comte");
addList("France", "Languedoc-Roussillon", "Languedoc-Roussillon");
addList("France", "Limousin", "Limousin");
addList("France", "Midi-Pyrenees", "Midi-Pyrenees");
addList("France", "Normandy", "Normandy");
addList("France", "North", "North");
addList("France", "Paris area", "Paris area");
addList("France", "Poitou-Charentes", "Poitou-Charentes");
addList("France", "Rhone-Alps", "Rhone-Alps");
addList("France", "Val de Loire", "Val de Loire");
addList("France", "Western Loire", "Western Loire");

addOption("Finland", "Select Region","", 1); //Finland cities options
addList("Finland", "All Regions", "");

addOption("Fyrom", "Select Region","", 1); //Fyrom cities options
addList("Fyrom", "All Regions", "");

addOption("Germany", "Select Region","", 1); //Germany cities options
addList("Germany", "Baden-Wurttemberg", "Baden-Wurttemberg");
addList("Germany", "Bavaria", "Bavaria");
addList("Germany", "Berlin", "Berlin");
addList("Germany", "Rheinland-Pfalz", "Rheinland-Pfalz");
addList("Germany", "Saxony", "Saxony");

addOption("Gibraltar", "Select Region","", 1); //Germany cities options
addList("Gibraltar", "All Regions", "");

addOption("Greece", "Select Region","", 1); //Greece cities options
addList("Greece", "Aegean Islands", "Aegean Islands");
addList("Greece", "Crete", "Crete");
addList("Greece", "Ionian Islands", "Ionian Islands");
addList("Greece", "Mainland and the Saronic Islands", "Mainland and the Saronic Islands");
addList("Greece", "Peloponnese", "Peloponnese");

addOption("Holland", "Select Region","", 1); //Holland cities options
addList("Holland", "All Regions", "");

addOption("Hungary", "Select Region","", 1); //Hungary cities options
addList("Hungary", "Central Danube Region", "Central Danube Region");
addList("Hungary", "Lake Balaton", "Lake Balaton");

addOption("Iceland", "Select Region","", 1); //Iceland cities options
addList("Iceland", "All Regions", "");

addOption("Ireland", "Select Region","", 1); //Ireland cities options
addList("Ireland", "All Regions", "");

addOption("Italy", "Select Region","", 1); //Italy cities options
addList("Italy", "Abruzzo", "Abruzzo");
addList("Italy", "Basilicata", "Basilicata");
addList("Italy", "Calabria", "Calabria");
addList("Italy", "Campania", "Campania");
addList("Italy", "Emilia Romagna", "Emilia Romagna");
addList("Italy", "Friuli-Venezia Giulia", "Friuli-Venezia Giulia");
addList("Italy", "Liguria", "Liguria");
addList("Italy", "Lombardy", "Lombardy");
addList("Italy", "Marche", "Marche");
addList("Italy", "Piedmont (Lake District)", "Piedmont (Lake District)");
addList("Italy", "Puglia", "Puglia");
addList("Italy", "Rome & Lazio", "Rome & Lazio");
addList("Italy", "Sardinia", "Sardinia");
addList("Italy", "Sicily", "Sicily");
addList("Italy", "Trentino-Alto Adige", "Trentino-Alto Adige");
addList("Italy", "Tuscany", "Tuscany");
addList("Italy", "Umbria", "Umbria");
addList("Italy", "Valle d'Aosta", "Valle d'Aosta");
addList("Italy", "Veneto - Venice", "Veneto - Venice");

addOption("Latvia", "Select Region","", 1); //Latvia cities options
addList("Latvia", "All Regions", "");

addOption("Lithuania", "Select Region","", 1); //Lithuania cities options
addList("Lithuania", "All Regions", "");

addOption("Luxemburg", "Select Region","", 1); //Luxemburg cities options
addList("Luxemburg", "All Regions", "");

addOption("Malta", "Select Region","", 1); //Malta cities options
addList("Malta", "All Regions", "");

addOption("Moldova", "Select Region","", 1); //Moldova cities options
addList("Moldova", "All Regions", "");

addOption("Monaco", "Select Region","", 1); //Monaco cities options
addList("Monaco", "All Regions", "");

addOption("Montenegro", "Select Region","", 1); //Montenegro cities options
addList("Montenegro", "All Regions", "");

addOption("Northern Ireland", "Select Region","", 1); //Northern Ireland cities options
addList("Northern Ireland", "All Regions", "");

addOption("Norway", "Select Region","", 1); //Norway cities options
addList("Norway", "East Norway", "East Norway");
addList("Norway", "Norwegian Fjords", "Norwegian Fjords");
addList("Norway", "South Norway", "South Norway");

addOption("Poland", "Select Region","", 1); //Poland cities options
addList("Poland", "Baltic Sea & Pomerania", "Baltic Sea & Pomerania");
addList("Poland", "Central & East Poland", "Central & East Poland");
addList("Poland", "Malopolskie & Carpathian Mountains", "Malopolskie & Carpathian Mountains");

addOption("Portugal", "Select Region","", 1); //Portugal cities options
addList("Portugal", "Alentejo", "Alentejo");
addList("Portugal", "Algarve", "Algarve");
addList("Portugal", "Cape Verde", "Cape Verde");
addList("Portugal", "Central Portugal", "Central Portugal");
addList("Portugal", "Lisbon & Costa de Lisboa", "Lisbon & Costa de Lisboa");
addList("Portugal", "Madeira", "Madeira");
addList("Portugal", "North Portugal", "North Portugal");

addOption("Romania", "Select Region","", 1); //Romania cities options
addList("Romania", "All Regions", "");

addOption("Russia", "Select Region","", 1); //Russia cities options
addList("Russia", "All Regions", "");

addOption("Scotland", "Select Region","", 1); //Scotland cities options
addList("Scotland", "City of Aberdeen", "City of Aberdeen");
addList("Scotland", "Aberdeenshire", "Aberdeenshire");
addList("Scotland", "Angus", "Angus");
addList("Scotland", "Argyll and Bute", "Argyll and Bute");
addList("Scotland", "Clackmannanshire", "Clackmannanshire");
addList("Scotland", "Dumfries and Galloway", "Dumfries and Galloway");
addList("Scotland", "City of Dundee", "City of Dundee");
addList("Scotland", "East Ayrshire", "East Ayrshire");
addList("Scotland", "East Dunbartonshire", "East Dunbartonshire");
addList("Scotland", "East Lothian", "East Lothian");
addList("Scotland", "East Renfrewshire", "East Renfrewshire");
addList("Scotland", "City of Edimburgh", "City of Edimburgh");
addList("Scotland", "Falkirk", "Falkirk");
addList("Scotland", "Fife", "Fife");
addList("Scotland", "Glasgow", "Glasgow");
addList("Scotland", "Highland", "Highland");
addList("Scotland", "Inverclyde", "Inverclyde");
addList("Scotland", "Midlothian", "Midlothian");
addList("Scotland", "Moray", "Moray");
addList("Scotland", "North Ayrshire", "North Ayrshire");
addList("Scotland", "North Lanarkshire", "North Lanarkshire");
addList("Scotland", "Orkney", "Orkney");
addList("Scotland", "Perth and Kinross", "Perth and Kinross");
addList("Scotland", "Renfrewshire", "Renfrewshire");
addList("Scotland", "Scottish Borders", "Scottish Borders");
addList("Scotland", "Shetland", "Shetland");
addList("Scotland", "South Ayrshire", "South Ayrshire");
addList("Scotland", "South Lanarkshire", "South Lanarkshire");
addList("Scotland", "Stirling", "Stirling");
addList("Scotland", "West Dunbartonshire", "West Dunbartonshire");
addList("Scotland", "West Lothian", "West Lothian");
addList("Scotland", "Western Isles", "Western Isles");

addOption("Serbia", "Select Region","", 1); //Serbia cities options
addList("Serbia", "All Regions", "");

addOption("Slovakia", "Select Region","", 1); //Slovakia cities options
addList("Slovakia", "All Regions", "");

addOption("Slovenia", "Select Region","", 1); //Slovenia cities options
addList("Slovenia", "All Regions", "");

addOption("Spain", "Select Region","", 1); //Spain cities options
addList("Spain", "Alicante - Costa Blanca", "Alicante - Costa Blanca");
addList("Spain", "Andalusia", "Andalusia");
addList("Spain", "Asturias", "Asturias");
addList("Spain", "Balearic Islands", "Balearic Islands");
addList("Spain", "Cantabria", "Cantabria");
addList("Spain", "Castilla La Mancha", "Castilla La Mancha");
addList("Spain", "Castilla-Leon", "Castilla-Leon");
addList("Spain", "Catalonia", "Catalonia");
addList("Spain", "Extremadura", "Extremadura");
addList("Spain", "Galicia", "Galicia");
addList("Spain", "Madrid Area", "Madrid Area");
addList("Spain", "Murcia - Costa Calida", "Murcia - Costa Calida");
addList("Spain", "Valencia - Costa del Azahar", "Valencia - Costa del Azahar");
addList("Spain", "Fuerteventura", "Fuerteventura");
addList("Spain", "Gran Canaria", "Gran Canaria");
addList("Spain", "Las Palmas", "Las Palmas");
addList("Spain", "Lanzarote", "Lanzarote");
addList("Spain", "Tenerife", "Tenerife");

addOption("Sweden", "Select Region","", 1); //Sweden cities options
addList("Sweden", "All Regions", "");

addOption("Switzerland", "Select Region","", 1); //Switzerland cities options
addList("Switzerland", "Bernese Oberland", "Bernese Oberland");
addList("Switzerland", "Central Switzerland", "Central Switzerland");
addList("Switzerland", "Graubunden", "Graubunden");
addList("Switzerland", "Jura / Fribourg", "Jura / Fribourg");
addList("Switzerland", "Mid Switzerland", "Mid Switzerland");
addList("Switzerland", "Ticino", "Ticino");
addList("Switzerland", "Valais", "Valais");
addList("Switzerland", "Vaud / Lake Geneva", "Vaud / Lake Geneva");

addOption("Turkey", "Select Region","", 1); //Turkey cities options
addList("Turkey", "All Regions", "");

addOption("Ukraine", "Select Region","", 1); //Ukraine cities options
addList("Ukraine", "All Regions", "");

addOption("Wales", "Select Region","", 1); //Wales cities options
addList("Wales", "Anglesey", "Anglesey");
addList("Wales", "Carmarthenshire", "Carmarthenshire");
addList("Wales", "Ceredigion", "Ceredigion");
addList("Wales", "Gwynedd - Snowdonia", "Gwynedd - Snowdonia");
addList("Wales", "Mid Wales", "Mid Wales");
addList("Wales", "North Wales", "North Wales");
addList("Wales", "Pembrokeshire", "Pembrokeshire");
addList("Wales", "South East Wales", "South East Wales");
addList("Wales", "Swansea - Gower Peninsula", "Swansea - Gower Peninsula");
