function switchStates(stateselector,regionbox,country) { var stateselectorrow = document.getElementById("stateselector"); var regionrow = document.getElementById("regionrow"); if (country == 'US' || country == 'United States') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Alabama", "AL", true, false); stateselector.options[stateselector.options.length]=new Option("Alaska", "AK", true, false); stateselector.options[stateselector.options.length]=new Option("Arizona", "AZ", true, false); stateselector.options[stateselector.options.length]=new Option("Arkansas", "AR", true, false); stateselector.options[stateselector.options.length]=new Option("California", "CA", true, false); stateselector.options[stateselector.options.length]=new Option("Colorado", "CO", true, false); stateselector.options[stateselector.options.length]=new Option("Connecticut", "CT", true, false); stateselector.options[stateselector.options.length]=new Option("Delaware", "DE", true, false); stateselector.options[stateselector.options.length]=new Option("Florida", "FL", true, false); stateselector.options[stateselector.options.length]=new Option("Georgia", "GA", true, false); stateselector.options[stateselector.options.length]=new Option("Hawaii", "HI", true, false); stateselector.options[stateselector.options.length]=new Option("Idaho", "ID", true, false); stateselector.options[stateselector.options.length]=new Option("Illinois", "IL", true, false); stateselector.options[stateselector.options.length]=new Option("Indiana", "IN", true, false); stateselector.options[stateselector.options.length]=new Option("Iowa", "IA", true, false); stateselector.options[stateselector.options.length]=new Option("Kansas", "KS", true, false); stateselector.options[stateselector.options.length]=new Option("Kentucky", "KY", true, false); stateselector.options[stateselector.options.length]=new Option("Louisiana", "LA", true, false); stateselector.options[stateselector.options.length]=new Option("Maine", "ME", true, false); stateselector.options[stateselector.options.length]=new Option("Maryland", "MD", true, false); stateselector.options[stateselector.options.length]=new Option("Massachusetts", "MA", true, false); stateselector.options[stateselector.options.length]=new Option("Michigan", "MI", true, false); stateselector.options[stateselector.options.length]=new Option("Minnesota", "MN", true, false); stateselector.options[stateselector.options.length]=new Option("Mississippi", "MS", true, false); stateselector.options[stateselector.options.length]=new Option("Missouri", "MO", true, false); stateselector.options[stateselector.options.length]=new Option("Montana", "MT", true, false); stateselector.options[stateselector.options.length]=new Option("Nebraska", "NE", true, false); stateselector.options[stateselector.options.length]=new Option("Nevada", "NV", true, false); stateselector.options[stateselector.options.length]=new Option("New Hampshire", "NH", true, false); stateselector.options[stateselector.options.length]=new Option("New Jersey", "NJ", true, false); stateselector.options[stateselector.options.length]=new Option("New Mexico", "NM", true, false); stateselector.options[stateselector.options.length]=new Option("New York", "NY", true, false); stateselector.options[stateselector.options.length]=new Option("North Carolina", "NC", true, false); stateselector.options[stateselector.options.length]=new Option("North Dakota", "ND", true, false); stateselector.options[stateselector.options.length]=new Option("Ohio", "OH", true, false); stateselector.options[stateselector.options.length]=new Option("Oklahoma", "OK", true, false); stateselector.options[stateselector.options.length]=new Option("Oregon", "OR", true, false); stateselector.options[stateselector.options.length]=new Option("Pennsylvania", "PA", true, false); stateselector.options[stateselector.options.length]=new Option("Puerto Rico", "PR", true, false); stateselector.options[stateselector.options.length]=new Option("Rhode Island", "RI", true, false); stateselector.options[stateselector.options.length]=new Option("South Carolina", "SC", true, false); stateselector.options[stateselector.options.length]=new Option("South Dakota", "SD", true, false); stateselector.options[stateselector.options.length]=new Option("Tennessee", "TN", true, false); stateselector.options[stateselector.options.length]=new Option("Texas", "TX", true, false); stateselector.options[stateselector.options.length]=new Option("Utah", "UT", true, false); stateselector.options[stateselector.options.length]=new Option("Vermont", "VT", true, false); stateselector.options[stateselector.options.length]=new Option("Virginia", "VA", true, false); stateselector.options[stateselector.options.length]=new Option("Washington", "WA", true, false); stateselector.options[stateselector.options.length]=new Option("Washington D.C.", "DC", true, false); stateselector.options[stateselector.options.length]=new Option("West Virginia", "WV", true, false); stateselector.options[stateselector.options.length]=new Option("Wisconsin", "WI", true, false); stateselector.options[stateselector.options.length]=new Option("Wyoming", "WY", true, false); stateselector.options[stateselector.options.length]=new Option("Army Europe", "AE", true, false); stateselector.options[stateselector.options.length]=new Option("Army Pacific", "AP", true, false); stateselector.options[stateselector.options.length]=new Option("Army America", "AA", true, false); } else if (country == 'CA' || country == 'Canada') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Alberta", "AB", true, false); stateselector.options[stateselector.options.length]=new Option("British Columbia", "BC", true, false); stateselector.options[stateselector.options.length]=new Option("Manitoba", "MB", true, false); stateselector.options[stateselector.options.length]=new Option("New Brunswick", "NB", true, false); stateselector.options[stateselector.options.length]=new Option("Newfoundland and Labrador", "NL", true, false); stateselector.options[stateselector.options.length]=new Option("Northwest Territories", "NT", true, false); stateselector.options[stateselector.options.length]=new Option("Nova Scotia", "NS", true, false); stateselector.options[stateselector.options.length]=new Option("Nunavut", "NU", true, false); stateselector.options[stateselector.options.length]=new Option("Ontario", "ON", true, false); stateselector.options[stateselector.options.length]=new Option("Prince Edward Island", "PE", true, false); stateselector.options[stateselector.options.length]=new Option("Quebec", "QC", true, false); stateselector.options[stateselector.options.length]=new Option("Saskatchewan", "SK", true, false); stateselector.options[stateselector.options.length]=new Option("Yukon Territory", "YT", true, false); } else if (country == 'AU' || country == 'Australia') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Queensland", "QLD", true, false); stateselector.options[stateselector.options.length]=new Option("New South Wales", "NSW", true, false); stateselector.options[stateselector.options.length]=new Option("Australian Capital Territory", "ACT", true, false); stateselector.options[stateselector.options.length]=new Option("Victoria", "VIC", true, false); stateselector.options[stateselector.options.length]=new Option("South Australia", "SA", true, false); stateselector.options[stateselector.options.length]=new Option("Western Australia", "WA", true, false); stateselector.options[stateselector.options.length]=new Option("Northern Territory", "NT", true, false); stateselector.options[stateselector.options.length]=new Option("Tasmania", "TAS", true, false); } else if (country == 'AT' || country == 'Austria') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Burgenland", "Burgenland", true, false); stateselector.options[stateselector.options.length]=new Option("Kärnten", "Kärnten", true, false); stateselector.options[stateselector.options.length]=new Option("Niederösterreich", "Niederösterreich", true, false); stateselector.options[stateselector.options.length]=new Option("Oberösterreich", "Oberösterreich", true, false); stateselector.options[stateselector.options.length]=new Option("Salzburg", "Salzburg", true, false); stateselector.options[stateselector.options.length]=new Option("Steiermark", "Steiermark", true, false); stateselector.options[stateselector.options.length]=new Option("Tirol", "Tirol", true, false); stateselector.options[stateselector.options.length]=new Option("Vorarlberg", "Vorarlberg", true, false); stateselector.options[stateselector.options.length]=new Option("Wien", "Wien", true, false); } else if (country == 'BE' || country == 'Belgium') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Antwerpen", "ANT", true, false); stateselector.options[stateselector.options.length]=new Option("Brabant Wallon", "WBR", true, false); stateselector.options[stateselector.options.length]=new Option("Brussel - Bruxelles", "BRU", true, false); stateselector.options[stateselector.options.length]=new Option("Hainaut", "HAI", true, false); stateselector.options[stateselector.options.length]=new Option("Liège", "LIE", true, false); stateselector.options[stateselector.options.length]=new Option("Limburg", "LIM", true, false); stateselector.options[stateselector.options.length]=new Option("Luxembourg", "LUX", true, false); stateselector.options[stateselector.options.length]=new Option("Namur", "NAM", true, false); stateselector.options[stateselector.options.length]=new Option("Oost-Vlaanderen", "OVL", true, false); stateselector.options[stateselector.options.length]=new Option("Vlaams-Brabant", "VBR", true, false); stateselector.options[stateselector.options.length]=new Option("West-Vlaanderen", "WVL", true, false); } else if (country == 'DE' || country == 'Germany') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Baden-Württemberg", "BW", true, false); stateselector.options[stateselector.options.length]=new Option("Bayern", "BY", true, false); stateselector.options[stateselector.options.length]=new Option("Berlin", "BE", true, false); stateselector.options[stateselector.options.length]=new Option("Brandenburg", "BR", true, false); stateselector.options[stateselector.options.length]=new Option("Bremen", "HB", true, false); stateselector.options[stateselector.options.length]=new Option("Hamburg", "HH", true, false); stateselector.options[stateselector.options.length]=new Option("Hessen", "HE", true, false); stateselector.options[stateselector.options.length]=new Option("Mecklenburg-Vorpommern", "MV", true, false); stateselector.options[stateselector.options.length]=new Option("Niedersachsen", "NI", true, false); stateselector.options[stateselector.options.length]=new Option("Nordrhein-Westfalen", "NW", true, false); stateselector.options[stateselector.options.length]=new Option("Rheinland-Pfalz", "RP", true, false); stateselector.options[stateselector.options.length]=new Option("Saarland", "SL", true, false); stateselector.options[stateselector.options.length]=new Option("Sachsen", "SN", true, false); stateselector.options[stateselector.options.length]=new Option("Sachsen-Anhalt", "ST", true, false); stateselector.options[stateselector.options.length]=new Option("Schleswig-Holstein", "SH", true, false); stateselector.options[stateselector.options.length]=new Option("Thüringen", "TH", true, false); } else if (country == 'ES' || country == 'Spain') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("A Coruña", "LC", true, false); stateselector.options[stateselector.options.length]=new Option("Alava", "AL", true, false); stateselector.options[stateselector.options.length]=new Option("Albacete", "AB", true, false); stateselector.options[stateselector.options.length]=new Option("Alicante", "AA", true, false); stateselector.options[stateselector.options.length]=new Option("Almeria", "AM", true, false); stateselector.options[stateselector.options.length]=new Option("Asturias", "AS", true, false); stateselector.options[stateselector.options.length]=new Option("Avila", "AV", true, false); stateselector.options[stateselector.options.length]=new Option("Badajoz", "BA", true, false); stateselector.options[stateselector.options.length]=new Option("Barcelona", "BC", true, false); stateselector.options[stateselector.options.length]=new Option("Bizkaia", "VI", true, false); stateselector.options[stateselector.options.length]=new Option("Burgos", "BU", true, false); stateselector.options[stateselector.options.length]=new Option("Caceres", "CC", true, false); stateselector.options[stateselector.options.length]=new Option("Cadiz", "CD", true, false); stateselector.options[stateselector.options.length]=new Option("Cantabria", "CT", true, false); stateselector.options[stateselector.options.length]=new Option("Castellon", "CS", true, false); stateselector.options[stateselector.options.length]=new Option("Ceuta", "CE", true, false); stateselector.options[stateselector.options.length]=new Option("Ciudad Real", "CR", true, false); stateselector.options[stateselector.options.length]=new Option("Cordoba", "CO", true, false); stateselector.options[stateselector.options.length]=new Option("Cuenca", "CU", true, false); stateselector.options[stateselector.options.length]=new Option("Gerona", "GI", true, false); stateselector.options[stateselector.options.length]=new Option("Gipuzkoa", "GP", true, false); stateselector.options[stateselector.options.length]=new Option("Granada", "GR", true, false); stateselector.options[stateselector.options.length]=new Option("Guadalajara", "GU", true, false); stateselector.options[stateselector.options.length]=new Option("Huelva", "HU", true, false); stateselector.options[stateselector.options.length]=new Option("Huesca", "HS", true, false); stateselector.options[stateselector.options.length]=new Option("Illes Balears", "IB", true, false); stateselector.options[stateselector.options.length]=new Option("Jaen", "JA", true, false); stateselector.options[stateselector.options.length]=new Option("La Rioja", "LR", true, false); stateselector.options[stateselector.options.length]=new Option("Las Palmas", "LP", true, false); stateselector.options[stateselector.options.length]=new Option("Leon", "LE", true, false); stateselector.options[stateselector.options.length]=new Option("Lerida", "LD", true, false); stateselector.options[stateselector.options.length]=new Option("Lugo", "LU", true, false); stateselector.options[stateselector.options.length]=new Option("Madrid", "MD", true, false); stateselector.options[stateselector.options.length]=new Option("Malaga", "MA", true, false); stateselector.options[stateselector.options.length]=new Option("Melilla", "ME", true, false); stateselector.options[stateselector.options.length]=new Option("Murcia", "MU", true, false); stateselector.options[stateselector.options.length]=new Option("Navarra", "NA", true, false); stateselector.options[stateselector.options.length]=new Option("Ourense", "OR", true, false); stateselector.options[stateselector.options.length]=new Option("Palencia", "PA", true, false); stateselector.options[stateselector.options.length]=new Option("Pontevedra", "PO", true, false); stateselector.options[stateselector.options.length]=new Option("Salamanca", "SA", true, false); stateselector.options[stateselector.options.length]=new Option("Segovia", "SG", true, false); stateselector.options[stateselector.options.length]=new Option("Sevilla", "SE", true, false); stateselector.options[stateselector.options.length]=new Option("Soria", "SO", true, false); stateselector.options[stateselector.options.length]=new Option("Tarragona", "TA", true, false); stateselector.options[stateselector.options.length]=new Option("Tenerife", "TF", true, false); stateselector.options[stateselector.options.length]=new Option("Teruel", "TE", true, false); stateselector.options[stateselector.options.length]=new Option("Toledo", "TO", true, false); stateselector.options[stateselector.options.length]=new Option("Valencia", "VC", true, false); stateselector.options[stateselector.options.length]=new Option("Valladolid", "VD", true, false); stateselector.options[stateselector.options.length]=new Option("Zamora", "ZM", true, false); stateselector.options[stateselector.options.length]=new Option("Zaragoza", "ZA", true, false); } else if (country == 'FR' || country == 'France') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Ain", "Ain", true, false); stateselector.options[stateselector.options.length]=new Option("Aisne", "Aisne", true, false); stateselector.options[stateselector.options.length]=new Option("Allier", "Allier", true, false); stateselector.options[stateselector.options.length]=new Option("Alpes-de-Haute-Provence", "Alpes-de-Haute-Provence", true, false); stateselector.options[stateselector.options.length]=new Option("Alpes-Maritimes", "Alpes-Maritimes", true, false); stateselector.options[stateselector.options.length]=new Option("Ardèche", "Ardèche", true, false); stateselector.options[stateselector.options.length]=new Option("Ardennes", "Ardennes", true, false); stateselector.options[stateselector.options.length]=new Option("Ariège", "Ariège", true, false); stateselector.options[stateselector.options.length]=new Option("Aube", "Aube", true, false); stateselector.options[stateselector.options.length]=new Option("Aude", "Aude", true, false); stateselector.options[stateselector.options.length]=new Option("Aveyron", "Aveyron", true, false); stateselector.options[stateselector.options.length]=new Option("Bas-Rhin", "Bas-Rhin", true, false); stateselector.options[stateselector.options.length]=new Option("Bouches-du-Rhône", "Bouches-du-Rhône", true, false); stateselector.options[stateselector.options.length]=new Option("Calvados", "Calvados", true, false); stateselector.options[stateselector.options.length]=new Option("Cantal", "Cantal", true, false); stateselector.options[stateselector.options.length]=new Option("Charente", "Charente", true, false); stateselector.options[stateselector.options.length]=new Option("Charente-Maritime", "Charente-Maritime", true, false); stateselector.options[stateselector.options.length]=new Option("Cher", "Cher", true, false); stateselector.options[stateselector.options.length]=new Option("Corrèze", "Corrèze", true, false); stateselector.options[stateselector.options.length]=new Option("Corsu-du-Sud", "Corsu-du-Sud", true, false); stateselector.options[stateselector.options.length]=new Option("Côte-d'Or", "Côte-d'Or", true, false); stateselector.options[stateselector.options.length]=new Option("Côtes-d'Armor", "Côtes-d'Armor", true, false); stateselector.options[stateselector.options.length]=new Option("Creuse", "Creuse", true, false); stateselector.options[stateselector.options.length]=new Option("Deux-Sevres", "Deux-Sevres", true, false); stateselector.options[stateselector.options.length]=new Option("Dordogne", "Dordogne", true, false); stateselector.options[stateselector.options.length]=new Option("Doubs", "Doubs", true, false); stateselector.options[stateselector.options.length]=new Option("Drôme", "Drôme", true, false); stateselector.options[stateselector.options.length]=new Option("Essonne", "Essonne", true, false); stateselector.options[stateselector.options.length]=new Option("Eure", "Eure", true, false); stateselector.options[stateselector.options.length]=new Option("Eure-et-Loir", "Eure-et-Loir", true, false); stateselector.options[stateselector.options.length]=new Option("Finistère", "Finistère", true, false); stateselector.options[stateselector.options.length]=new Option("Gard", "Gard", true, false); stateselector.options[stateselector.options.length]=new Option("Gers", "Gers", true, false); stateselector.options[stateselector.options.length]=new Option("Gironde", "Gironde", true, false); stateselector.options[stateselector.options.length]=new Option("Haut-Rhin", "Haut-Rhin", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Corse", "Haute-Corse", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Garonne", "Haute-Garonne", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Loire", "Haute-Loire", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Marne", "Haute-Marne", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Saône", "Haute-Saône", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Savoie", "Haute-Savoie", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Vienne", "Haute-Vienne", true, false); stateselector.options[stateselector.options.length]=new Option("Hautes-Alpes", "Hautes-Alpes", true, false); stateselector.options[stateselector.options.length]=new Option("Hautes-Pyrénées", "Hautes-Pyrénées", true, false); stateselector.options[stateselector.options.length]=new Option("Hauts-de-Seine", "Hauts-de-Seine", true, false); stateselector.options[stateselector.options.length]=new Option("Hérault", "Hérault", true, false); stateselector.options[stateselector.options.length]=new Option("Ille-et-Vilaine", "Ille-et-Vilaine", true, false); stateselector.options[stateselector.options.length]=new Option("Indre", "Indre", true, false); stateselector.options[stateselector.options.length]=new Option("Indre-et-Loire", "Indre-et-Loire", true, false); stateselector.options[stateselector.options.length]=new Option("Isère", "Isère", true, false); stateselector.options[stateselector.options.length]=new Option("Jura", "Jura", true, false); stateselector.options[stateselector.options.length]=new Option("Landes", "Landes", true, false); stateselector.options[stateselector.options.length]=new Option("Loir-et-Cher", "Loir-et-Cher", true, false); stateselector.options[stateselector.options.length]=new Option("Loire", "Loire", true, false); stateselector.options[stateselector.options.length]=new Option("Loire-Atlantique", "Loire-Atlantique", true, false); stateselector.options[stateselector.options.length]=new Option("Loiret", "Loiret", true, false); stateselector.options[stateselector.options.length]=new Option("Lot", "Lot", true, false); stateselector.options[stateselector.options.length]=new Option("Lot-et-Garonne", "Lot-et-Garonne", true, false); stateselector.options[stateselector.options.length]=new Option("Lozère", "Lozère", true, false); stateselector.options[stateselector.options.length]=new Option("Maine-et-Loire", "Maine-et-Loire", true, false); stateselector.options[stateselector.options.length]=new Option("Manche", "Manche", true, false); stateselector.options[stateselector.options.length]=new Option("Marne", "Marne", true, false); stateselector.options[stateselector.options.length]=new Option("Mayenne", "Mayenne", true, false); stateselector.options[stateselector.options.length]=new Option("Meurthe-et-Moselle", "Meurthe-et-Moselle", true, false); stateselector.options[stateselector.options.length]=new Option("Morbihan", "Morbihan", true, false); stateselector.options[stateselector.options.length]=new Option("Moselle", "Moselle", true, false); stateselector.options[stateselector.options.length]=new Option("Nièvre", "Nièvre", true, false); stateselector.options[stateselector.options.length]=new Option("Nord", "Nord", true, false); stateselector.options[stateselector.options.length]=new Option("Oise", "Oise", true, false); stateselector.options[stateselector.options.length]=new Option("Orne", "Orne", true, false); stateselector.options[stateselector.options.length]=new Option("Paris", "Paris", true, false); stateselector.options[stateselector.options.length]=new Option("Pas-de-Calais", "Pas-de-Calais", true, false); stateselector.options[stateselector.options.length]=new Option("Puy-de-Dôme", "Puy-de-Dôme", true, false); stateselector.options[stateselector.options.length]=new Option("Pyrénéees-Atlantiques", "Pyrénéees-Atlantiques", true, false); stateselector.options[stateselector.options.length]=new Option("Pyrénées-Orientales", "Pyrénées-Orientales", true, false); stateselector.options[stateselector.options.length]=new Option("Rhône", "Rhône", true, false); stateselector.options[stateselector.options.length]=new Option("Saône-et-Loire", "Saône-et-Loire", true, false); stateselector.options[stateselector.options.length]=new Option("Sarthe", "Sarthe", true, false); stateselector.options[stateselector.options.length]=new Option("Savoie", "Savoie", true, false); stateselector.options[stateselector.options.length]=new Option("Seine-et-Marne", "Seine-et-Marne", true, false); stateselector.options[stateselector.options.length]=new Option("Seine-Maritime", "Seine-Maritime", true, false); stateselector.options[stateselector.options.length]=new Option("Seine-Saint-Denis", "Seine-Saint-Denis", true, false); stateselector.options[stateselector.options.length]=new Option("Somme", "Somme", true, false); stateselector.options[stateselector.options.length]=new Option("Tarn", "Tarn", true, false); stateselector.options[stateselector.options.length]=new Option("Tarn-et-Garonne", "Tarn-et-Garonne", true, false); stateselector.options[stateselector.options.length]=new Option("Territoire-de-Belfort", "Territoire-de-Belfort", true, false); stateselector.options[stateselector.options.length]=new Option("Val-d'Oise", "Val-d'Oise", true, false); stateselector.options[stateselector.options.length]=new Option("Val-de-Marne", "Val-de-Marne", true, false); stateselector.options[stateselector.options.length]=new Option("Var", "Var", true, false); stateselector.options[stateselector.options.length]=new Option("Vaucluse", "Vaucluse", true, false); stateselector.options[stateselector.options.length]=new Option("Vendée", "Vendée", true, false); stateselector.options[stateselector.options.length]=new Option("Vienne", "Vienne", true, false); stateselector.options[stateselector.options.length]=new Option("Vosges", "Vosges", true, false); stateselector.options[stateselector.options.length]=new Option("Yonne", "Yonne", true, false); stateselector.options[stateselector.options.length]=new Option("Yvelines", "Yvelines", true, false); } else if (country == 'GB' || country == 'United Kingdom') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Antrim", "ANT", true, false); stateselector.options[stateselector.options.length]=new Option("Armagh", "ARM", true, false); stateselector.options[stateselector.options.length]=new Option("Bedfordshire", "BDF", true, false); stateselector.options[stateselector.options.length]=new Option("Berkshire", "BER", true, false); stateselector.options[stateselector.options.length]=new Option("Borders", "BOR", true, false); stateselector.options[stateselector.options.length]=new Option("Buckinghamshire", "BKM", true, false); stateselector.options[stateselector.options.length]=new Option("Cambridgeshire", "CAM", true, false); stateselector.options[stateselector.options.length]=new Option("Cheshire", "CHS", true, false); stateselector.options[stateselector.options.length]=new Option("Clwyd", "CLW", true, false); stateselector.options[stateselector.options.length]=new Option("Cornwall", "CON", true, false); stateselector.options[stateselector.options.length]=new Option("Cumbria", "CMA", true, false); stateselector.options[stateselector.options.length]=new Option("Derbyshire", "DBY", true, false); stateselector.options[stateselector.options.length]=new Option("Devon", "DEV", true, false); stateselector.options[stateselector.options.length]=new Option("Dorset", "DOR", true, false); stateselector.options[stateselector.options.length]=new Option("Down", "DOW", true, false); stateselector.options[stateselector.options.length]=new Option("Dumfries and Galloway", "DGY", true, false); stateselector.options[stateselector.options.length]=new Option("Durham", "DUR", true, false); stateselector.options[stateselector.options.length]=new Option("Dyfed", "DYF", true, false); stateselector.options[stateselector.options.length]=new Option("East Anglia", "EAN", true, false); stateselector.options[stateselector.options.length]=new Option("East Sussex", "ESX", true, false); stateselector.options[stateselector.options.length]=new Option("East Yorkshire", "EYS", true, false); stateselector.options[stateselector.options.length]=new Option("Essex", "ESS", true, false); stateselector.options[stateselector.options.length]=new Option("Fermanagh", "FER", true, false); stateselector.options[stateselector.options.length]=new Option("Fife", "FIF", true, false); stateselector.options[stateselector.options.length]=new Option("Glamorgan", "GLM", true, false); stateselector.options[stateselector.options.length]=new Option("Gloucestershire", "GLS", true, false); stateselector.options[stateselector.options.length]=new Option("Grampian", "GRA", true, false); stateselector.options[stateselector.options.length]=new Option("Greater London", "GLN", true, false); stateselector.options[stateselector.options.length]=new Option("Greater Manchester", "GMN", true, false); stateselector.options[stateselector.options.length]=new Option("Gwent", "GWE", true, false); stateselector.options[stateselector.options.length]=new Option("Gwynedd", "GWN", true, false); stateselector.options[stateselector.options.length]=new Option("Hampshire", "HAM", true, false); stateselector.options[stateselector.options.length]=new Option("Herefordshire", "HEF", true, false); stateselector.options[stateselector.options.length]=new Option("Hertfordshire", "HRT", true, false); stateselector.options[stateselector.options.length]=new Option("Highlands and Islands", "HAL", true, false); stateselector.options[stateselector.options.length]=new Option("Inner London", "ILN", true, false); stateselector.options[stateselector.options.length]=new Option("Isle of Wight", "IOW", true, false); stateselector.options[stateselector.options.length]=new Option("Isles of Scilly", "IOS", true, false); stateselector.options[stateselector.options.length]=new Option("Kent", "KEN", true, false); stateselector.options[stateselector.options.length]=new Option("Lancashire", "LAN", true, false); stateselector.options[stateselector.options.length]=new Option("Leicestershire", "LEC", true, false); stateselector.options[stateselector.options.length]=new Option("Lincolnshire", "LIN", true, false); stateselector.options[stateselector.options.length]=new Option("Londonderry", "LDY", true, false); stateselector.options[stateselector.options.length]=new Option("Lothian", "LTN", true, false); stateselector.options[stateselector.options.length]=new Option("Merseyside", "MRS", true, false); stateselector.options[stateselector.options.length]=new Option("Mid Glamorgan", "MGL", true, false); stateselector.options[stateselector.options.length]=new Option("Norfolk", "NFK", true, false); stateselector.options[stateselector.options.length]=new Option("North Yorkshire", "NYK", true, false); stateselector.options[stateselector.options.length]=new Option("Northamptonshire", "NTH", true, false); stateselector.options[stateselector.options.length]=new Option("Northumberland", "NBL", true, false); stateselector.options[stateselector.options.length]=new Option("Nottinghamshire", "NTT", true, false); stateselector.options[stateselector.options.length]=new Option("Oxfordshire", "OXF", true, false); stateselector.options[stateselector.options.length]=new Option("Powys", "POW", true, false); stateselector.options[stateselector.options.length]=new Option("Rutland", "RUT", true, false); stateselector.options[stateselector.options.length]=new Option("Shropshire", "SHR", true, false); stateselector.options[stateselector.options.length]=new Option("Somerset", "SOM", true, false); stateselector.options[stateselector.options.length]=new Option("South Yorkshire", "SYS", true, false); stateselector.options[stateselector.options.length]=new Option("Staffordshire", "STS", true, false); stateselector.options[stateselector.options.length]=new Option("Strathclyde", "SCL", true, false); stateselector.options[stateselector.options.length]=new Option("Suffolk", "SFK", true, false); stateselector.options[stateselector.options.length]=new Option("Surrey", "SRY", true, false); stateselector.options[stateselector.options.length]=new Option("Tayside", "TYS", true, false); stateselector.options[stateselector.options.length]=new Option("Tees Valley", "TVL", true, false); stateselector.options[stateselector.options.length]=new Option("Tyne and Wear", "TAW", true, false); stateselector.options[stateselector.options.length]=new Option("Tyrone", "TYR", true, false); stateselector.options[stateselector.options.length]=new Option("Warwickshire", "WAR", true, false); stateselector.options[stateselector.options.length]=new Option("West Glamorgan", "WGM", true, false); stateselector.options[stateselector.options.length]=new Option("West Midlands", "WML", true, false); stateselector.options[stateselector.options.length]=new Option("West Sussex", "WSX", true, false); stateselector.options[stateselector.options.length]=new Option("West Yorkshire", "WYS", true, false); stateselector.options[stateselector.options.length]=new Option("Wiltshire", "WIL", true, false); stateselector.options[stateselector.options.length]=new Option("Worcestershire", "WOR", true, false); } else if (country == 'IT' || country == 'Italy') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Agrigento", "AG", true, false); stateselector.options[stateselector.options.length]=new Option("Alessandria", "AL", true, false); stateselector.options[stateselector.options.length]=new Option("Ancona", "AN", true, false); stateselector.options[stateselector.options.length]=new Option("Arezzo", "AR", true, false); stateselector.options[stateselector.options.length]=new Option("Ascoli Piceno", "AP", true, false); stateselector.options[stateselector.options.length]=new Option("Asti", "AT", true, false); stateselector.options[stateselector.options.length]=new Option("Avellino", "AV", true, false); stateselector.options[stateselector.options.length]=new Option("Bari", "BA", true, false); stateselector.options[stateselector.options.length]=new Option("Belluno", "BL", true, false); stateselector.options[stateselector.options.length]=new Option("Benevento", "BN", true, false); stateselector.options[stateselector.options.length]=new Option("Bergamo", "BG", true, false); stateselector.options[stateselector.options.length]=new Option("Biella", "BI", true, false); stateselector.options[stateselector.options.length]=new Option("Bologna", "BO", true, false); stateselector.options[stateselector.options.length]=new Option("Bolzano", "BZ", true, false); stateselector.options[stateselector.options.length]=new Option("Brescia", "BS", true, false); stateselector.options[stateselector.options.length]=new Option("Brindisi", "BR", true, false); stateselector.options[stateselector.options.length]=new Option("Cagliari", "CA", true, false); stateselector.options[stateselector.options.length]=new Option("Caltanissetta", "CL", true, false); stateselector.options[stateselector.options.length]=new Option("Campobasso", "CB", true, false); stateselector.options[stateselector.options.length]=new Option("Caserta", "CE", true, false); stateselector.options[stateselector.options.length]=new Option("Catania", "CT", true, false); stateselector.options[stateselector.options.length]=new Option("Catanzaro", "CZ", true, false); stateselector.options[stateselector.options.length]=new Option("Chieti", "CH", true, false); stateselector.options[stateselector.options.length]=new Option("Como", "CO", true, false); stateselector.options[stateselector.options.length]=new Option("Cosenza", "CS", true, false); stateselector.options[stateselector.options.length]=new Option("Cremona", "CR", true, false); stateselector.options[stateselector.options.length]=new Option("Crotone", "KR", true, false); stateselector.options[stateselector.options.length]=new Option("Cuneo", "CN", true, false); stateselector.options[stateselector.options.length]=new Option("Enna", "EN", true, false); stateselector.options[stateselector.options.length]=new Option("Ferrara", "FE", true, false); stateselector.options[stateselector.options.length]=new Option("Firenze", "FI", true, false); stateselector.options[stateselector.options.length]=new Option("Foggia", "FG", true, false); stateselector.options[stateselector.options.length]=new Option("Forlì-Cesena", "FC", true, false); stateselector.options[stateselector.options.length]=new Option("Frosinone", "FR", true, false); stateselector.options[stateselector.options.length]=new Option("Genova", "GE", true, false); stateselector.options[stateselector.options.length]=new Option("Gorizia", "GO", true, false); stateselector.options[stateselector.options.length]=new Option("Grosseto", "GR", true, false); stateselector.options[stateselector.options.length]=new Option("Imperia", "IM", true, false); stateselector.options[stateselector.options.length]=new Option("Isernia", "IS", true, false); stateselector.options[stateselector.options.length]=new Option("L'Aquila", "AQ", true, false); stateselector.options[stateselector.options.length]=new Option("La Spezia", "SP", true, false); stateselector.options[stateselector.options.length]=new Option("Latina", "LT", true, false); stateselector.options[stateselector.options.length]=new Option("Lecce", "LE", true, false); stateselector.options[stateselector.options.length]=new Option("Lecco", "LC", true, false); stateselector.options[stateselector.options.length]=new Option("Livorno", "LI", true, false); stateselector.options[stateselector.options.length]=new Option("Lodi", "LO", true, false); stateselector.options[stateselector.options.length]=new Option("Lucca", "LU", true, false); stateselector.options[stateselector.options.length]=new Option("Macerata", "MC", true, false); stateselector.options[stateselector.options.length]=new Option("Mantova", "MN", true, false); stateselector.options[stateselector.options.length]=new Option("Massa-Carrara", "MS", true, false); stateselector.options[stateselector.options.length]=new Option("Matera", "MT", true, false); stateselector.options[stateselector.options.length]=new Option("Messina", "ME", true, false); stateselector.options[stateselector.options.length]=new Option("Milano", "MI", true, false); stateselector.options[stateselector.options.length]=new Option("Modena", "MO", true, false); stateselector.options[stateselector.options.length]=new Option("Napoli", "NA", true, false); stateselector.options[stateselector.options.length]=new Option("Novara", "NO", true, false); stateselector.options[stateselector.options.length]=new Option("Nuoro", "NU", true, false); stateselector.options[stateselector.options.length]=new Option("Oristano", "OR", true, false); stateselector.options[stateselector.options.length]=new Option("Padova", "PD", true, false); stateselector.options[stateselector.options.length]=new Option("Palermo", "PA", true, false); stateselector.options[stateselector.options.length]=new Option("Parma", "PR", true, false); stateselector.options[stateselector.options.length]=new Option("Pavia", "PV", true, false); stateselector.options[stateselector.options.length]=new Option("Perugia", "PG", true, false); stateselector.options[stateselector.options.length]=new Option("Pesaro e Urbino", "PU", true, false); stateselector.options[stateselector.options.length]=new Option("Pescara", "PE", true, false); stateselector.options[stateselector.options.length]=new Option("Piacenza", "PC", true, false); stateselector.options[stateselector.options.length]=new Option("Pisa", "PI", true, false); stateselector.options[stateselector.options.length]=new Option("Pistoia", "PT", true, false); stateselector.options[stateselector.options.length]=new Option("Pordenone", "PN", true, false); stateselector.options[stateselector.options.length]=new Option("Potenza", "PZ", true, false); stateselector.options[stateselector.options.length]=new Option("Prato", "PO", true, false); stateselector.options[stateselector.options.length]=new Option("Ragusa", "RG", true, false); stateselector.options[stateselector.options.length]=new Option("Ravenna", "RA", true, false); stateselector.options[stateselector.options.length]=new Option("Reggio Calabria", "RC", true, false); stateselector.options[stateselector.options.length]=new Option("Reggio Emilia", "RE", true, false); stateselector.options[stateselector.options.length]=new Option("Rieti", "RI", true, false); stateselector.options[stateselector.options.length]=new Option("Rimini", "RN", true, false); stateselector.options[stateselector.options.length]=new Option("Roma", "RM", true, false); stateselector.options[stateselector.options.length]=new Option("Rovigo", "RO", true, false); stateselector.options[stateselector.options.length]=new Option("Salerno", "SA", true, false); stateselector.options[stateselector.options.length]=new Option("Sassari", "SS", true, false); stateselector.options[stateselector.options.length]=new Option("Savona", "SV", true, false); stateselector.options[stateselector.options.length]=new Option("Siena", "SI", true, false); stateselector.options[stateselector.options.length]=new Option("Siracusa", "SR", true, false); stateselector.options[stateselector.options.length]=new Option("Sondrio", "SO", true, false); stateselector.options[stateselector.options.length]=new Option("Taranto", "TA", true, false); stateselector.options[stateselector.options.length]=new Option("Teramo", "TE", true, false); stateselector.options[stateselector.options.length]=new Option("Terni", "TR", true, false); stateselector.options[stateselector.options.length]=new Option("Torino", "TO", true, false); stateselector.options[stateselector.options.length]=new Option("Trapani", "TP", true, false); stateselector.options[stateselector.options.length]=new Option("Trento", "TN", true, false); stateselector.options[stateselector.options.length]=new Option("Treviso", "TV", true, false); stateselector.options[stateselector.options.length]=new Option("Trieste", "TS", true, false); stateselector.options[stateselector.options.length]=new Option("Udine", "UD", true, false); stateselector.options[stateselector.options.length]=new Option("Valle d'Aosta", "AO", true, false); stateselector.options[stateselector.options.length]=new Option("Varese", "VA", true, false); stateselector.options[stateselector.options.length]=new Option("Venezia", "VE", true, false); stateselector.options[stateselector.options.length]=new Option("Verbano-Cusio-Ossola", "VB", true, false); stateselector.options[stateselector.options.length]=new Option("Vercelli", "VC", true, false); stateselector.options[stateselector.options.length]=new Option("Verona", "VR", true, false); stateselector.options[stateselector.options.length]=new Option("Vibo Valentia", "VV", true, false); stateselector.options[stateselector.options.length]=new Option("Vicenza", "VI", true, false); stateselector.options[stateselector.options.length]=new Option("Viterbo", "VT", true, false); } else if (country == 'LU' || country == 'Luxembourg') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Diekirch", "D", true, false); stateselector.options[stateselector.options.length]=new Option("Grevenmacher", "G", true, false); stateselector.options[stateselector.options.length]=new Option("Luxemburg", "L", true, false); } else if (country == 'NL' || country == 'Netherlands') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Drenthe", "DRE", true, false); stateselector.options[stateselector.options.length]=new Option("Flevoland", "FLE", true, false); stateselector.options[stateselector.options.length]=new Option("Friesland", "FRI", true, false); stateselector.options[stateselector.options.length]=new Option("Gelderland", "GEL", true, false); stateselector.options[stateselector.options.length]=new Option("Groningen", "GRO", true, false); stateselector.options[stateselector.options.length]=new Option("Limburg", "LIM", true, false); stateselector.options[stateselector.options.length]=new Option("Noord-Brabant", "NBR", true, false); stateselector.options[stateselector.options.length]=new Option("Noord-Holland", "NHO", true, false); stateselector.options[stateselector.options.length]=new Option("Overijssel", "OVE", true, false); stateselector.options[stateselector.options.length]=new Option("Utrecht", "UTR", true, false); stateselector.options[stateselector.options.length]=new Option("Zeeland", "ZEE", true, false); stateselector.options[stateselector.options.length]=new Option("Zuid-Holland", "ZHO", true, false); } else { regionbox.disabled=false; regionrow.style.display=''; stateselector.options.length=0; stateselectorrow.style.display='none'; } } function switchStates2(stateselector,regionbox,country) { var stateselectorrow = document.getElementById("stateselector2"); var regionrow = document.getElementById("regionrow2"); if (country == 'US' || country == 'United States') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Alabama", "AL", true, false); stateselector.options[stateselector.options.length]=new Option("Alaska", "AK", true, false); stateselector.options[stateselector.options.length]=new Option("Arizona", "AZ", true, false); stateselector.options[stateselector.options.length]=new Option("Arkansas", "AR", true, false); stateselector.options[stateselector.options.length]=new Option("California", "CA", true, false); stateselector.options[stateselector.options.length]=new Option("Colorado", "CO", true, false); stateselector.options[stateselector.options.length]=new Option("Connecticut", "CT", true, false); stateselector.options[stateselector.options.length]=new Option("Delaware", "DE", true, false); stateselector.options[stateselector.options.length]=new Option("Florida", "FL", true, false); stateselector.options[stateselector.options.length]=new Option("Georgia", "GA", true, false); stateselector.options[stateselector.options.length]=new Option("Hawaii", "HI", true, false); stateselector.options[stateselector.options.length]=new Option("Idaho", "ID", true, false); stateselector.options[stateselector.options.length]=new Option("Illinois", "IL", true, false); stateselector.options[stateselector.options.length]=new Option("Indiana", "IN", true, false); stateselector.options[stateselector.options.length]=new Option("Iowa", "IA", true, false); stateselector.options[stateselector.options.length]=new Option("Kansas", "KS", true, false); stateselector.options[stateselector.options.length]=new Option("Kentucky", "KY", true, false); stateselector.options[stateselector.options.length]=new Option("Louisiana", "LA", true, false); stateselector.options[stateselector.options.length]=new Option("Maine", "ME", true, false); stateselector.options[stateselector.options.length]=new Option("Maryland", "MD", true, false); stateselector.options[stateselector.options.length]=new Option("Massachusetts", "MA", true, false); stateselector.options[stateselector.options.length]=new Option("Michigan", "MI", true, false); stateselector.options[stateselector.options.length]=new Option("Minnesota", "MN", true, false); stateselector.options[stateselector.options.length]=new Option("Mississippi", "MS", true, false); stateselector.options[stateselector.options.length]=new Option("Missouri", "MO", true, false); stateselector.options[stateselector.options.length]=new Option("Montana", "MT", true, false); stateselector.options[stateselector.options.length]=new Option("Nebraska", "NE", true, false); stateselector.options[stateselector.options.length]=new Option("Nevada", "NV", true, false); stateselector.options[stateselector.options.length]=new Option("New Hampshire", "NH", true, false); stateselector.options[stateselector.options.length]=new Option("New Jersey", "NJ", true, false); stateselector.options[stateselector.options.length]=new Option("New Mexico", "NM", true, false); stateselector.options[stateselector.options.length]=new Option("New York", "NY", true, false); stateselector.options[stateselector.options.length]=new Option("North Carolina", "NC", true, false); stateselector.options[stateselector.options.length]=new Option("North Dakota", "ND", true, false); stateselector.options[stateselector.options.length]=new Option("Ohio", "OH", true, false); stateselector.options[stateselector.options.length]=new Option("Oklahoma", "OK", true, false); stateselector.options[stateselector.options.length]=new Option("Oregon", "OR", true, false); stateselector.options[stateselector.options.length]=new Option("Pennsylvania", "PA", true, false); stateselector.options[stateselector.options.length]=new Option("Puerto Rico", "PR", true, false); stateselector.options[stateselector.options.length]=new Option("Rhode Island", "RI", true, false); stateselector.options[stateselector.options.length]=new Option("South Carolina", "SC", true, false); stateselector.options[stateselector.options.length]=new Option("South Dakota", "SD", true, false); stateselector.options[stateselector.options.length]=new Option("Tennessee", "TN", true, false); stateselector.options[stateselector.options.length]=new Option("Texas", "TX", true, false); stateselector.options[stateselector.options.length]=new Option("Utah", "UT", true, false); stateselector.options[stateselector.options.length]=new Option("Vermont", "VT", true, false); stateselector.options[stateselector.options.length]=new Option("Virginia", "VA", true, false); stateselector.options[stateselector.options.length]=new Option("Washington", "WA", true, false); stateselector.options[stateselector.options.length]=new Option("Washington D.C.", "DC", true, false); stateselector.options[stateselector.options.length]=new Option("West Virginia", "WV", true, false); stateselector.options[stateselector.options.length]=new Option("Wisconsin", "WI", true, false); stateselector.options[stateselector.options.length]=new Option("Wyoming", "WY", true, false); stateselector.options[stateselector.options.length]=new Option("Army Europe", "AE", true, false); stateselector.options[stateselector.options.length]=new Option("Army Pacific", "AP", true, false); stateselector.options[stateselector.options.length]=new Option("Army America", "AA", true, false); } else if (country == 'CA' || country == 'Canada') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Alberta", "AB", true, false); stateselector.options[stateselector.options.length]=new Option("British Columbia", "BC", true, false); stateselector.options[stateselector.options.length]=new Option("Manitoba", "MB", true, false); stateselector.options[stateselector.options.length]=new Option("New Brunswick", "NB", true, false); stateselector.options[stateselector.options.length]=new Option("Newfoundland and Labrador", "NL", true, false); stateselector.options[stateselector.options.length]=new Option("Northwest Territories", "NT", true, false); stateselector.options[stateselector.options.length]=new Option("Nova Scotia", "NS", true, false); stateselector.options[stateselector.options.length]=new Option("Nunavut", "NU", true, false); stateselector.options[stateselector.options.length]=new Option("Ontario", "ON", true, false); stateselector.options[stateselector.options.length]=new Option("Prince Edward Island", "PE", true, false); stateselector.options[stateselector.options.length]=new Option("Quebec", "QC", true, false); stateselector.options[stateselector.options.length]=new Option("Saskatchewan", "SK", true, false); stateselector.options[stateselector.options.length]=new Option("Yukon Territory", "YT", true, false); } else if (country == 'AU' || country == 'Australia') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Queensland", "QLD", true, false); stateselector.options[stateselector.options.length]=new Option("New South Wales", "NSW", true, false); stateselector.options[stateselector.options.length]=new Option("Australian Capital Territory", "ACT", true, false); stateselector.options[stateselector.options.length]=new Option("Victoria", "VIC", true, false); stateselector.options[stateselector.options.length]=new Option("South Australia", "SA", true, false); stateselector.options[stateselector.options.length]=new Option("Western Australia", "WA", true, false); stateselector.options[stateselector.options.length]=new Option("Northern Territory", "NT", true, false); stateselector.options[stateselector.options.length]=new Option("Tasmania", "TAS", true, false); } else if (country == 'AT' || country == 'Austria') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Burgenland", "Burgenland", true, false); stateselector.options[stateselector.options.length]=new Option("Kärnten", "Kärnten", true, false); stateselector.options[stateselector.options.length]=new Option("Niederösterreich", "Niederösterreich", true, false); stateselector.options[stateselector.options.length]=new Option("Oberösterreich", "Oberösterreich", true, false); stateselector.options[stateselector.options.length]=new Option("Salzburg", "Salzburg", true, false); stateselector.options[stateselector.options.length]=new Option("Steiermark", "Steiermark", true, false); stateselector.options[stateselector.options.length]=new Option("Tirol", "Tirol", true, false); stateselector.options[stateselector.options.length]=new Option("Vorarlberg", "Vorarlberg", true, false); stateselector.options[stateselector.options.length]=new Option("Wien", "Wien", true, false); } else if (country == 'BE' || country == 'Belgium') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Antwerpen", "ANT", true, false); stateselector.options[stateselector.options.length]=new Option("Brabant Wallon", "WBR", true, false); stateselector.options[stateselector.options.length]=new Option("Brussel - Bruxelles", "BRU", true, false); stateselector.options[stateselector.options.length]=new Option("Hainaut", "HAI", true, false); stateselector.options[stateselector.options.length]=new Option("Liège", "LIE", true, false); stateselector.options[stateselector.options.length]=new Option("Limburg", "LIM", true, false); stateselector.options[stateselector.options.length]=new Option("Luxembourg", "LUX", true, false); stateselector.options[stateselector.options.length]=new Option("Namur", "NAM", true, false); stateselector.options[stateselector.options.length]=new Option("Oost-Vlaanderen", "OVL", true, false); stateselector.options[stateselector.options.length]=new Option("Vlaams-Brabant", "VBR", true, false); stateselector.options[stateselector.options.length]=new Option("West-Vlaanderen", "WVL", true, false); } else if (country == 'DE' || country == 'Germany') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Baden-Württemberg", "BW", true, false); stateselector.options[stateselector.options.length]=new Option("Bayern", "BY", true, false); stateselector.options[stateselector.options.length]=new Option("Berlin", "BE", true, false); stateselector.options[stateselector.options.length]=new Option("Brandenburg", "BR", true, false); stateselector.options[stateselector.options.length]=new Option("Bremen", "HB", true, false); stateselector.options[stateselector.options.length]=new Option("Hamburg", "HH", true, false); stateselector.options[stateselector.options.length]=new Option("Hessen", "HE", true, false); stateselector.options[stateselector.options.length]=new Option("Mecklenburg-Vorpommern", "MV", true, false); stateselector.options[stateselector.options.length]=new Option("Niedersachsen", "NI", true, false); stateselector.options[stateselector.options.length]=new Option("Nordrhein-Westfalen", "NW", true, false); stateselector.options[stateselector.options.length]=new Option("Rheinland-Pfalz", "RP", true, false); stateselector.options[stateselector.options.length]=new Option("Saarland", "SL", true, false); stateselector.options[stateselector.options.length]=new Option("Sachsen", "SN", true, false); stateselector.options[stateselector.options.length]=new Option("Sachsen-Anhalt", "ST", true, false); stateselector.options[stateselector.options.length]=new Option("Schleswig-Holstein", "SH", true, false); stateselector.options[stateselector.options.length]=new Option("Thüringen", "TH", true, false); } else if (country == 'ES' || country == 'Spain') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("A Coruña", "LC", true, false); stateselector.options[stateselector.options.length]=new Option("Alava", "AL", true, false); stateselector.options[stateselector.options.length]=new Option("Albacete", "AB", true, false); stateselector.options[stateselector.options.length]=new Option("Alicante", "AA", true, false); stateselector.options[stateselector.options.length]=new Option("Almeria", "AM", true, false); stateselector.options[stateselector.options.length]=new Option("Asturias", "AS", true, false); stateselector.options[stateselector.options.length]=new Option("Avila", "AV", true, false); stateselector.options[stateselector.options.length]=new Option("Badajoz", "BA", true, false); stateselector.options[stateselector.options.length]=new Option("Barcelona", "BC", true, false); stateselector.options[stateselector.options.length]=new Option("Bizkaia", "VI", true, false); stateselector.options[stateselector.options.length]=new Option("Burgos", "BU", true, false); stateselector.options[stateselector.options.length]=new Option("Caceres", "CC", true, false); stateselector.options[stateselector.options.length]=new Option("Cadiz", "CD", true, false); stateselector.options[stateselector.options.length]=new Option("Cantabria", "CT", true, false); stateselector.options[stateselector.options.length]=new Option("Castellon", "CS", true, false); stateselector.options[stateselector.options.length]=new Option("Ceuta", "CE", true, false); stateselector.options[stateselector.options.length]=new Option("Ciudad Real", "CR", true, false); stateselector.options[stateselector.options.length]=new Option("Cordoba", "CO", true, false); stateselector.options[stateselector.options.length]=new Option("Cuenca", "CU", true, false); stateselector.options[stateselector.options.length]=new Option("Gerona", "GI", true, false); stateselector.options[stateselector.options.length]=new Option("Gipuzkoa", "GP", true, false); stateselector.options[stateselector.options.length]=new Option("Granada", "GR", true, false); stateselector.options[stateselector.options.length]=new Option("Guadalajara", "GU", true, false); stateselector.options[stateselector.options.length]=new Option("Huelva", "HU", true, false); stateselector.options[stateselector.options.length]=new Option("Huesca", "HS", true, false); stateselector.options[stateselector.options.length]=new Option("Illes Balears", "IB", true, false); stateselector.options[stateselector.options.length]=new Option("Jaen", "JA", true, false); stateselector.options[stateselector.options.length]=new Option("La Rioja", "LR", true, false); stateselector.options[stateselector.options.length]=new Option("Las Palmas", "LP", true, false); stateselector.options[stateselector.options.length]=new Option("Leon", "LE", true, false); stateselector.options[stateselector.options.length]=new Option("Lerida", "LD", true, false); stateselector.options[stateselector.options.length]=new Option("Lugo", "LU", true, false); stateselector.options[stateselector.options.length]=new Option("Madrid", "MD", true, false); stateselector.options[stateselector.options.length]=new Option("Malaga", "MA", true, false); stateselector.options[stateselector.options.length]=new Option("Melilla", "ME", true, false); stateselector.options[stateselector.options.length]=new Option("Murcia", "MU", true, false); stateselector.options[stateselector.options.length]=new Option("Navarra", "NA", true, false); stateselector.options[stateselector.options.length]=new Option("Ourense", "OR", true, false); stateselector.options[stateselector.options.length]=new Option("Palencia", "PA", true, false); stateselector.options[stateselector.options.length]=new Option("Pontevedra", "PO", true, false); stateselector.options[stateselector.options.length]=new Option("Salamanca", "SA", true, false); stateselector.options[stateselector.options.length]=new Option("Segovia", "SG", true, false); stateselector.options[stateselector.options.length]=new Option("Sevilla", "SE", true, false); stateselector.options[stateselector.options.length]=new Option("Soria", "SO", true, false); stateselector.options[stateselector.options.length]=new Option("Tarragona", "TA", true, false); stateselector.options[stateselector.options.length]=new Option("Tenerife", "TF", true, false); stateselector.options[stateselector.options.length]=new Option("Teruel", "TE", true, false); stateselector.options[stateselector.options.length]=new Option("Toledo", "TO", true, false); stateselector.options[stateselector.options.length]=new Option("Valencia", "VC", true, false); stateselector.options[stateselector.options.length]=new Option("Valladolid", "VD", true, false); stateselector.options[stateselector.options.length]=new Option("Zamora", "ZM", true, false); stateselector.options[stateselector.options.length]=new Option("Zaragoza", "ZA", true, false); } else if (country == 'FR' || country == 'France') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Ain", "Ain", true, false); stateselector.options[stateselector.options.length]=new Option("Aisne", "Aisne", true, false); stateselector.options[stateselector.options.length]=new Option("Allier", "Allier", true, false); stateselector.options[stateselector.options.length]=new Option("Alpes-de-Haute-Provence", "Alpes-de-Haute-Provence", true, false); stateselector.options[stateselector.options.length]=new Option("Alpes-Maritimes", "Alpes-Maritimes", true, false); stateselector.options[stateselector.options.length]=new Option("Ardèche", "Ardèche", true, false); stateselector.options[stateselector.options.length]=new Option("Ardennes", "Ardennes", true, false); stateselector.options[stateselector.options.length]=new Option("Ariège", "Ariège", true, false); stateselector.options[stateselector.options.length]=new Option("Aube", "Aube", true, false); stateselector.options[stateselector.options.length]=new Option("Aude", "Aude", true, false); stateselector.options[stateselector.options.length]=new Option("Aveyron", "Aveyron", true, false); stateselector.options[stateselector.options.length]=new Option("Bas-Rhin", "Bas-Rhin", true, false); stateselector.options[stateselector.options.length]=new Option("Bouches-du-Rhône", "Bouches-du-Rhône", true, false); stateselector.options[stateselector.options.length]=new Option("Calvados", "Calvados", true, false); stateselector.options[stateselector.options.length]=new Option("Cantal", "Cantal", true, false); stateselector.options[stateselector.options.length]=new Option("Charente", "Charente", true, false); stateselector.options[stateselector.options.length]=new Option("Charente-Maritime", "Charente-Maritime", true, false); stateselector.options[stateselector.options.length]=new Option("Cher", "Cher", true, false); stateselector.options[stateselector.options.length]=new Option("Corrèze", "Corrèze", true, false); stateselector.options[stateselector.options.length]=new Option("Corsu-du-Sud", "Corsu-du-Sud", true, false); stateselector.options[stateselector.options.length]=new Option("Côte-d'Or", "Côte-d'Or", true, false); stateselector.options[stateselector.options.length]=new Option("Côtes-d'Armor", "Côtes-d'Armor", true, false); stateselector.options[stateselector.options.length]=new Option("Creuse", "Creuse", true, false); stateselector.options[stateselector.options.length]=new Option("Deux-Sevres", "Deux-Sevres", true, false); stateselector.options[stateselector.options.length]=new Option("Dordogne", "Dordogne", true, false); stateselector.options[stateselector.options.length]=new Option("Doubs", "Doubs", true, false); stateselector.options[stateselector.options.length]=new Option("Drôme", "Drôme", true, false); stateselector.options[stateselector.options.length]=new Option("Essonne", "Essonne", true, false); stateselector.options[stateselector.options.length]=new Option("Eure", "Eure", true, false); stateselector.options[stateselector.options.length]=new Option("Eure-et-Loir", "Eure-et-Loir", true, false); stateselector.options[stateselector.options.length]=new Option("Finistère", "Finistère", true, false); stateselector.options[stateselector.options.length]=new Option("Gard", "Gard", true, false); stateselector.options[stateselector.options.length]=new Option("Gers", "Gers", true, false); stateselector.options[stateselector.options.length]=new Option("Gironde", "Gironde", true, false); stateselector.options[stateselector.options.length]=new Option("Haut-Rhin", "Haut-Rhin", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Corse", "Haute-Corse", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Garonne", "Haute-Garonne", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Loire", "Haute-Loire", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Marne", "Haute-Marne", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Saône", "Haute-Saône", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Savoie", "Haute-Savoie", true, false); stateselector.options[stateselector.options.length]=new Option("Haute-Vienne", "Haute-Vienne", true, false); stateselector.options[stateselector.options.length]=new Option("Hautes-Alpes", "Hautes-Alpes", true, false); stateselector.options[stateselector.options.length]=new Option("Hautes-Pyrénées", "Hautes-Pyrénées", true, false); stateselector.options[stateselector.options.length]=new Option("Hauts-de-Seine", "Hauts-de-Seine", true, false); stateselector.options[stateselector.options.length]=new Option("Hérault", "Hérault", true, false); stateselector.options[stateselector.options.length]=new Option("Ille-et-Vilaine", "Ille-et-Vilaine", true, false); stateselector.options[stateselector.options.length]=new Option("Indre", "Indre", true, false); stateselector.options[stateselector.options.length]=new Option("Indre-et-Loire", "Indre-et-Loire", true, false); stateselector.options[stateselector.options.length]=new Option("Isère", "Isère", true, false); stateselector.options[stateselector.options.length]=new Option("Jura", "Jura", true, false); stateselector.options[stateselector.options.length]=new Option("Landes", "Landes", true, false); stateselector.options[stateselector.options.length]=new Option("Loir-et-Cher", "Loir-et-Cher", true, false); stateselector.options[stateselector.options.length]=new Option("Loire", "Loire", true, false); stateselector.options[stateselector.options.length]=new Option("Loire-Atlantique", "Loire-Atlantique", true, false); stateselector.options[stateselector.options.length]=new Option("Loiret", "Loiret", true, false); stateselector.options[stateselector.options.length]=new Option("Lot", "Lot", true, false); stateselector.options[stateselector.options.length]=new Option("Lot-et-Garonne", "Lot-et-Garonne", true, false); stateselector.options[stateselector.options.length]=new Option("Lozère", "Lozère", true, false); stateselector.options[stateselector.options.length]=new Option("Maine-et-Loire", "Maine-et-Loire", true, false); stateselector.options[stateselector.options.length]=new Option("Manche", "Manche", true, false); stateselector.options[stateselector.options.length]=new Option("Marne", "Marne", true, false); stateselector.options[stateselector.options.length]=new Option("Mayenne", "Mayenne", true, false); stateselector.options[stateselector.options.length]=new Option("Meurthe-et-Moselle", "Meurthe-et-Moselle", true, false); stateselector.options[stateselector.options.length]=new Option("Morbihan", "Morbihan", true, false); stateselector.options[stateselector.options.length]=new Option("Moselle", "Moselle", true, false); stateselector.options[stateselector.options.length]=new Option("Nièvre", "Nièvre", true, false); stateselector.options[stateselector.options.length]=new Option("Nord", "Nord", true, false); stateselector.options[stateselector.options.length]=new Option("Oise", "Oise", true, false); stateselector.options[stateselector.options.length]=new Option("Orne", "Orne", true, false); stateselector.options[stateselector.options.length]=new Option("Paris", "Paris", true, false); stateselector.options[stateselector.options.length]=new Option("Pas-de-Calais", "Pas-de-Calais", true, false); stateselector.options[stateselector.options.length]=new Option("Puy-de-Dôme", "Puy-de-Dôme", true, false); stateselector.options[stateselector.options.length]=new Option("Pyrénéees-Atlantiques", "Pyrénéees-Atlantiques", true, false); stateselector.options[stateselector.options.length]=new Option("Pyrénées-Orientales", "Pyrénées-Orientales", true, false); stateselector.options[stateselector.options.length]=new Option("Rhône", "Rhône", true, false); stateselector.options[stateselector.options.length]=new Option("Saône-et-Loire", "Saône-et-Loire", true, false); stateselector.options[stateselector.options.length]=new Option("Sarthe", "Sarthe", true, false); stateselector.options[stateselector.options.length]=new Option("Savoie", "Savoie", true, false); stateselector.options[stateselector.options.length]=new Option("Seine-et-Marne", "Seine-et-Marne", true, false); stateselector.options[stateselector.options.length]=new Option("Seine-Maritime", "Seine-Maritime", true, false); stateselector.options[stateselector.options.length]=new Option("Seine-Saint-Denis", "Seine-Saint-Denis", true, false); stateselector.options[stateselector.options.length]=new Option("Somme", "Somme", true, false); stateselector.options[stateselector.options.length]=new Option("Tarn", "Tarn", true, false); stateselector.options[stateselector.options.length]=new Option("Tarn-et-Garonne", "Tarn-et-Garonne", true, false); stateselector.options[stateselector.options.length]=new Option("Territoire-de-Belfort", "Territoire-de-Belfort", true, false); stateselector.options[stateselector.options.length]=new Option("Val-d'Oise", "Val-d'Oise", true, false); stateselector.options[stateselector.options.length]=new Option("Val-de-Marne", "Val-de-Marne", true, false); stateselector.options[stateselector.options.length]=new Option("Var", "Var", true, false); stateselector.options[stateselector.options.length]=new Option("Vaucluse", "Vaucluse", true, false); stateselector.options[stateselector.options.length]=new Option("Vendée", "Vendée", true, false); stateselector.options[stateselector.options.length]=new Option("Vienne", "Vienne", true, false); stateselector.options[stateselector.options.length]=new Option("Vosges", "Vosges", true, false); stateselector.options[stateselector.options.length]=new Option("Yonne", "Yonne", true, false); stateselector.options[stateselector.options.length]=new Option("Yvelines", "Yvelines", true, false); } else if (country == 'GB' || country == 'United Kingdom') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Antrim", "ANT", true, false); stateselector.options[stateselector.options.length]=new Option("Armagh", "ARM", true, false); stateselector.options[stateselector.options.length]=new Option("Bedfordshire", "BDF", true, false); stateselector.options[stateselector.options.length]=new Option("Berkshire", "BER", true, false); stateselector.options[stateselector.options.length]=new Option("Borders", "BOR", true, false); stateselector.options[stateselector.options.length]=new Option("Buckinghamshire", "BKM", true, false); stateselector.options[stateselector.options.length]=new Option("Cambridgeshire", "CAM", true, false); stateselector.options[stateselector.options.length]=new Option("Cheshire", "CHS", true, false); stateselector.options[stateselector.options.length]=new Option("Clwyd", "CLW", true, false); stateselector.options[stateselector.options.length]=new Option("Cornwall", "CON", true, false); stateselector.options[stateselector.options.length]=new Option("Cumbria", "CMA", true, false); stateselector.options[stateselector.options.length]=new Option("Derbyshire", "DBY", true, false); stateselector.options[stateselector.options.length]=new Option("Devon", "DEV", true, false); stateselector.options[stateselector.options.length]=new Option("Dorset", "DOR", true, false); stateselector.options[stateselector.options.length]=new Option("Down", "DOW", true, false); stateselector.options[stateselector.options.length]=new Option("Dumfries and Galloway", "DGY", true, false); stateselector.options[stateselector.options.length]=new Option("Durham", "DUR", true, false); stateselector.options[stateselector.options.length]=new Option("Dyfed", "DYF", true, false); stateselector.options[stateselector.options.length]=new Option("East Anglia", "EAN", true, false); stateselector.options[stateselector.options.length]=new Option("East Sussex", "ESX", true, false); stateselector.options[stateselector.options.length]=new Option("East Yorkshire", "EYS", true, false); stateselector.options[stateselector.options.length]=new Option("Essex", "ESS", true, false); stateselector.options[stateselector.options.length]=new Option("Fermanagh", "FER", true, false); stateselector.options[stateselector.options.length]=new Option("Fife", "FIF", true, false); stateselector.options[stateselector.options.length]=new Option("Glamorgan", "GLM", true, false); stateselector.options[stateselector.options.length]=new Option("Gloucestershire", "GLS", true, false); stateselector.options[stateselector.options.length]=new Option("Grampian", "GRA", true, false); stateselector.options[stateselector.options.length]=new Option("Greater London", "GLN", true, false); stateselector.options[stateselector.options.length]=new Option("Greater Manchester", "GMN", true, false); stateselector.options[stateselector.options.length]=new Option("Gwent", "GWE", true, false); stateselector.options[stateselector.options.length]=new Option("Gwynedd", "GWN", true, false); stateselector.options[stateselector.options.length]=new Option("Hampshire", "HAM", true, false); stateselector.options[stateselector.options.length]=new Option("Herefordshire", "HEF", true, false); stateselector.options[stateselector.options.length]=new Option("Hertfordshire", "HRT", true, false); stateselector.options[stateselector.options.length]=new Option("Highlands and Islands", "HAL", true, false); stateselector.options[stateselector.options.length]=new Option("Inner London", "ILN", true, false); stateselector.options[stateselector.options.length]=new Option("Isle of Wight", "IOW", true, false); stateselector.options[stateselector.options.length]=new Option("Isles of Scilly", "IOS", true, false); stateselector.options[stateselector.options.length]=new Option("Kent", "KEN", true, false); stateselector.options[stateselector.options.length]=new Option("Lancashire", "LAN", true, false); stateselector.options[stateselector.options.length]=new Option("Leicestershire", "LEC", true, false); stateselector.options[stateselector.options.length]=new Option("Lincolnshire", "LIN", true, false); stateselector.options[stateselector.options.length]=new Option("Londonderry", "LDY", true, false); stateselector.options[stateselector.options.length]=new Option("Lothian", "LTN", true, false); stateselector.options[stateselector.options.length]=new Option("Merseyside", "MRS", true, false); stateselector.options[stateselector.options.length]=new Option("Mid Glamorgan", "MGL", true, false); stateselector.options[stateselector.options.length]=new Option("Norfolk", "NFK", true, false); stateselector.options[stateselector.options.length]=new Option("North Yorkshire", "NYK", true, false); stateselector.options[stateselector.options.length]=new Option("Northamptonshire", "NTH", true, false); stateselector.options[stateselector.options.length]=new Option("Northumberland", "NBL", true, false); stateselector.options[stateselector.options.length]=new Option("Nottinghamshire", "NTT", true, false); stateselector.options[stateselector.options.length]=new Option("Oxfordshire", "OXF", true, false); stateselector.options[stateselector.options.length]=new Option("Powys", "POW", true, false); stateselector.options[stateselector.options.length]=new Option("Rutland", "RUT", true, false); stateselector.options[stateselector.options.length]=new Option("Shropshire", "SHR", true, false); stateselector.options[stateselector.options.length]=new Option("Somerset", "SOM", true, false); stateselector.options[stateselector.options.length]=new Option("South Yorkshire", "SYS", true, false); stateselector.options[stateselector.options.length]=new Option("Staffordshire", "STS", true, false); stateselector.options[stateselector.options.length]=new Option("Strathclyde", "SCL", true, false); stateselector.options[stateselector.options.length]=new Option("Suffolk", "SFK", true, false); stateselector.options[stateselector.options.length]=new Option("Surrey", "SRY", true, false); stateselector.options[stateselector.options.length]=new Option("Tayside", "TYS", true, false); stateselector.options[stateselector.options.length]=new Option("Tees Valley", "TVL", true, false); stateselector.options[stateselector.options.length]=new Option("Tyne and Wear", "TAW", true, false); stateselector.options[stateselector.options.length]=new Option("Tyrone", "TYR", true, false); stateselector.options[stateselector.options.length]=new Option("Warwickshire", "WAR", true, false); stateselector.options[stateselector.options.length]=new Option("West Glamorgan", "WGM", true, false); stateselector.options[stateselector.options.length]=new Option("West Midlands", "WML", true, false); stateselector.options[stateselector.options.length]=new Option("West Sussex", "WSX", true, false); stateselector.options[stateselector.options.length]=new Option("West Yorkshire", "WYS", true, false); stateselector.options[stateselector.options.length]=new Option("Wiltshire", "WIL", true, false); stateselector.options[stateselector.options.length]=new Option("Worcestershire", "WOR", true, false); } else if (country == 'IT' || country == 'Italy') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Agrigento", "AG", true, false); stateselector.options[stateselector.options.length]=new Option("Alessandria", "AL", true, false); stateselector.options[stateselector.options.length]=new Option("Ancona", "AN", true, false); stateselector.options[stateselector.options.length]=new Option("Arezzo", "AR", true, false); stateselector.options[stateselector.options.length]=new Option("Ascoli Piceno", "AP", true, false); stateselector.options[stateselector.options.length]=new Option("Asti", "AT", true, false); stateselector.options[stateselector.options.length]=new Option("Avellino", "AV", true, false); stateselector.options[stateselector.options.length]=new Option("Bari", "BA", true, false); stateselector.options[stateselector.options.length]=new Option("Belluno", "BL", true, false); stateselector.options[stateselector.options.length]=new Option("Benevento", "BN", true, false); stateselector.options[stateselector.options.length]=new Option("Bergamo", "BG", true, false); stateselector.options[stateselector.options.length]=new Option("Biella", "BI", true, false); stateselector.options[stateselector.options.length]=new Option("Bologna", "BO", true, false); stateselector.options[stateselector.options.length]=new Option("Bolzano", "BZ", true, false); stateselector.options[stateselector.options.length]=new Option("Brescia", "BS", true, false); stateselector.options[stateselector.options.length]=new Option("Brindisi", "BR", true, false); stateselector.options[stateselector.options.length]=new Option("Cagliari", "CA", true, false); stateselector.options[stateselector.options.length]=new Option("Caltanissetta", "CL", true, false); stateselector.options[stateselector.options.length]=new Option("Campobasso", "CB", true, false); stateselector.options[stateselector.options.length]=new Option("Caserta", "CE", true, false); stateselector.options[stateselector.options.length]=new Option("Catania", "CT", true, false); stateselector.options[stateselector.options.length]=new Option("Catanzaro", "CZ", true, false); stateselector.options[stateselector.options.length]=new Option("Chieti", "CH", true, false); stateselector.options[stateselector.options.length]=new Option("Como", "CO", true, false); stateselector.options[stateselector.options.length]=new Option("Cosenza", "CS", true, false); stateselector.options[stateselector.options.length]=new Option("Cremona", "CR", true, false); stateselector.options[stateselector.options.length]=new Option("Crotone", "KR", true, false); stateselector.options[stateselector.options.length]=new Option("Cuneo", "CN", true, false); stateselector.options[stateselector.options.length]=new Option("Enna", "EN", true, false); stateselector.options[stateselector.options.length]=new Option("Ferrara", "FE", true, false); stateselector.options[stateselector.options.length]=new Option("Firenze", "FI", true, false); stateselector.options[stateselector.options.length]=new Option("Foggia", "FG", true, false); stateselector.options[stateselector.options.length]=new Option("Forlì-Cesena", "FC", true, false); stateselector.options[stateselector.options.length]=new Option("Frosinone", "FR", true, false); stateselector.options[stateselector.options.length]=new Option("Genova", "GE", true, false); stateselector.options[stateselector.options.length]=new Option("Gorizia", "GO", true, false); stateselector.options[stateselector.options.length]=new Option("Grosseto", "GR", true, false); stateselector.options[stateselector.options.length]=new Option("Imperia", "IM", true, false); stateselector.options[stateselector.options.length]=new Option("Isernia", "IS", true, false); stateselector.options[stateselector.options.length]=new Option("L'Aquila", "AQ", true, false); stateselector.options[stateselector.options.length]=new Option("La Spezia", "SP", true, false); stateselector.options[stateselector.options.length]=new Option("Latina", "LT", true, false); stateselector.options[stateselector.options.length]=new Option("Lecce", "LE", true, false); stateselector.options[stateselector.options.length]=new Option("Lecco", "LC", true, false); stateselector.options[stateselector.options.length]=new Option("Livorno", "LI", true, false); stateselector.options[stateselector.options.length]=new Option("Lodi", "LO", true, false); stateselector.options[stateselector.options.length]=new Option("Lucca", "LU", true, false); stateselector.options[stateselector.options.length]=new Option("Macerata", "MC", true, false); stateselector.options[stateselector.options.length]=new Option("Mantova", "MN", true, false); stateselector.options[stateselector.options.length]=new Option("Massa-Carrara", "MS", true, false); stateselector.options[stateselector.options.length]=new Option("Matera", "MT", true, false); stateselector.options[stateselector.options.length]=new Option("Messina", "ME", true, false); stateselector.options[stateselector.options.length]=new Option("Milano", "MI", true, false); stateselector.options[stateselector.options.length]=new Option("Modena", "MO", true, false); stateselector.options[stateselector.options.length]=new Option("Napoli", "NA", true, false); stateselector.options[stateselector.options.length]=new Option("Novara", "NO", true, false); stateselector.options[stateselector.options.length]=new Option("Nuoro", "NU", true, false); stateselector.options[stateselector.options.length]=new Option("Oristano", "OR", true, false); stateselector.options[stateselector.options.length]=new Option("Padova", "PD", true, false); stateselector.options[stateselector.options.length]=new Option("Palermo", "PA", true, false); stateselector.options[stateselector.options.length]=new Option("Parma", "PR", true, false); stateselector.options[stateselector.options.length]=new Option("Pavia", "PV", true, false); stateselector.options[stateselector.options.length]=new Option("Perugia", "PG", true, false); stateselector.options[stateselector.options.length]=new Option("Pesaro e Urbino", "PU", true, false); stateselector.options[stateselector.options.length]=new Option("Pescara", "PE", true, false); stateselector.options[stateselector.options.length]=new Option("Piacenza", "PC", true, false); stateselector.options[stateselector.options.length]=new Option("Pisa", "PI", true, false); stateselector.options[stateselector.options.length]=new Option("Pistoia", "PT", true, false); stateselector.options[stateselector.options.length]=new Option("Pordenone", "PN", true, false); stateselector.options[stateselector.options.length]=new Option("Potenza", "PZ", true, false); stateselector.options[stateselector.options.length]=new Option("Prato", "PO", true, false); stateselector.options[stateselector.options.length]=new Option("Ragusa", "RG", true, false); stateselector.options[stateselector.options.length]=new Option("Ravenna", "RA", true, false); stateselector.options[stateselector.options.length]=new Option("Reggio Calabria", "RC", true, false); stateselector.options[stateselector.options.length]=new Option("Reggio Emilia", "RE", true, false); stateselector.options[stateselector.options.length]=new Option("Rieti", "RI", true, false); stateselector.options[stateselector.options.length]=new Option("Rimini", "RN", true, false); stateselector.options[stateselector.options.length]=new Option("Roma", "RM", true, false); stateselector.options[stateselector.options.length]=new Option("Rovigo", "RO", true, false); stateselector.options[stateselector.options.length]=new Option("Salerno", "SA", true, false); stateselector.options[stateselector.options.length]=new Option("Sassari", "SS", true, false); stateselector.options[stateselector.options.length]=new Option("Savona", "SV", true, false); stateselector.options[stateselector.options.length]=new Option("Siena", "SI", true, false); stateselector.options[stateselector.options.length]=new Option("Siracusa", "SR", true, false); stateselector.options[stateselector.options.length]=new Option("Sondrio", "SO", true, false); stateselector.options[stateselector.options.length]=new Option("Taranto", "TA", true, false); stateselector.options[stateselector.options.length]=new Option("Teramo", "TE", true, false); stateselector.options[stateselector.options.length]=new Option("Terni", "TR", true, false); stateselector.options[stateselector.options.length]=new Option("Torino", "TO", true, false); stateselector.options[stateselector.options.length]=new Option("Trapani", "TP", true, false); stateselector.options[stateselector.options.length]=new Option("Trento", "TN", true, false); stateselector.options[stateselector.options.length]=new Option("Treviso", "TV", true, false); stateselector.options[stateselector.options.length]=new Option("Trieste", "TS", true, false); stateselector.options[stateselector.options.length]=new Option("Udine", "UD", true, false); stateselector.options[stateselector.options.length]=new Option("Valle d'Aosta", "AO", true, false); stateselector.options[stateselector.options.length]=new Option("Varese", "VA", true, false); stateselector.options[stateselector.options.length]=new Option("Venezia", "VE", true, false); stateselector.options[stateselector.options.length]=new Option("Verbano-Cusio-Ossola", "VB", true, false); stateselector.options[stateselector.options.length]=new Option("Vercelli", "VC", true, false); stateselector.options[stateselector.options.length]=new Option("Verona", "VR", true, false); stateselector.options[stateselector.options.length]=new Option("Vibo Valentia", "VV", true, false); stateselector.options[stateselector.options.length]=new Option("Vicenza", "VI", true, false); stateselector.options[stateselector.options.length]=new Option("Viterbo", "VT", true, false); } else if (country == 'LU' || country == 'Luxembourg') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Diekirch", "D", true, false); stateselector.options[stateselector.options.length]=new Option("Grevenmacher", "G", true, false); stateselector.options[stateselector.options.length]=new Option("Luxemburg", "L", true, false); } else if (country == 'NL' || country == 'Netherlands') { stateselectorrow.style.display=''; stateselector.disabled=false; regionbox.value=''; regionrow.style.display='none'; stateselector.options.length=0; stateselector.options[0]=new Option("choose...", "none", true, false); stateselector.options[stateselector.options.length]=new Option("Drenthe", "DRE", true, false); stateselector.options[stateselector.options.length]=new Option("Flevoland", "FLE", true, false); stateselector.options[stateselector.options.length]=new Option("Friesland", "FRI", true, false); stateselector.options[stateselector.options.length]=new Option("Gelderland", "GEL", true, false); stateselector.options[stateselector.options.length]=new Option("Groningen", "GRO", true, false); stateselector.options[stateselector.options.length]=new Option("Limburg", "LIM", true, false); stateselector.options[stateselector.options.length]=new Option("Noord-Brabant", "NBR", true, false); stateselector.options[stateselector.options.length]=new Option("Noord-Holland", "NHO", true, false); stateselector.options[stateselector.options.length]=new Option("Overijssel", "OVE", true, false); stateselector.options[stateselector.options.length]=new Option("Utrecht", "UTR", true, false); stateselector.options[stateselector.options.length]=new Option("Zeeland", "ZEE", true, false); stateselector.options[stateselector.options.length]=new Option("Zuid-Holland", "ZHO", true, false); } else { regionbox.disabled=false; regionrow.style.display=''; stateselector.options.length=0; stateselectorrow.style.display='none'; } }