function update_zone(theForm) { 
var NumState = theForm.zone_id.options.length; 
while(NumState > 0) { NumState--; theForm.zone_id.options[NumState] = null; } var SelectedCountry = ''; SelectedCountry = theForm.country.options[theForm.country.selectedIndex].value;  theForm.zone_id.options[0] = new Option('Selectionner', ''); if (SelectedCountry == 14) {  theForm.zone_id.options[1] = new Option("BL - Burgenland", "102"); theForm.zone_id.options[2] = new Option("KN - Kärnten", "99"); theForm.zone_id.options[3] = new Option("NO - Niederösterreich", "96"); theForm.zone_id.options[4] = new Option("OO - Oberösterreich", "97"); theForm.zone_id.options[5] = new Option("SB - Salzburg", "98"); theForm.zone_id.options[6] = new Option("ST - Steiermark", "100"); theForm.zone_id.options[7] = new Option("TI - Tirol", "101"); theForm.zone_id.options[8] = new Option("VB - Voralberg", "103"); theForm.zone_id.options[9] = new Option("WI - Wien", "95"); } 
if (SelectedCountry == 38) {  theForm.zone_id.options[1] = new Option("AB - Alberta", "66"); theForm.zone_id.options[2] = new Option("BC - British Columbia", "67"); theForm.zone_id.options[3] = new Option("MB - Manitoba", "68"); theForm.zone_id.options[4] = new Option("NB - New Brunswick", "70"); theForm.zone_id.options[5] = new Option("NF - Newfoundland", "69"); theForm.zone_id.options[6] = new Option("NT - Northwest Territories", "72"); theForm.zone_id.options[7] = new Option("NS - Nova Scotia", "71"); theForm.zone_id.options[8] = new Option("NU - Nunavut", "73"); theForm.zone_id.options[9] = new Option("ON - Ontario", "74"); theForm.zone_id.options[10] = new Option("PE - Prince Edward Island", "75"); theForm.zone_id.options[11] = new Option("QC - Quebec", "76"); theForm.zone_id.options[12] = new Option("SK - Saskatchewan", "77"); theForm.zone_id.options[13] = new Option("YT - Yukon Territory", "78"); } 
if (SelectedCountry == 73) {  theForm.zone_id.options[1] = new Option("01 - Ain", "183"); theForm.zone_id.options[2] = new Option("02 - Aisne", "184"); theForm.zone_id.options[3] = new Option("03 - Allier", "185"); theForm.zone_id.options[4] = new Option("04 - Alpes Hte Provence", "186"); theForm.zone_id.options[5] = new Option("06 - Alpes Maritime", "188"); theForm.zone_id.options[6] = new Option("07 - Ardêche", "189"); theForm.zone_id.options[7] = new Option("08 - Ardennes", "190"); theForm.zone_id.options[8] = new Option("09 - Ariège", "191"); theForm.zone_id.options[9] = new Option("10 - Aube", "192"); theForm.zone_id.options[10] = new Option("11 - Aude", "193"); theForm.zone_id.options[11] = new Option("12 - Aveyron", "194"); theForm.zone_id.options[12] = new Option("67 - Bas Rhin", "249"); theForm.zone_id.options[13] = new Option("90 - Belfort", "272"); theForm.zone_id.options[14] = new Option("13 - Bouches Du Rhone", "195"); theForm.zone_id.options[15] = new Option("14 - Calvados", "196"); theForm.zone_id.options[16] = new Option("15 - Cantal", "197"); theForm.zone_id.options[17] = new Option("16 - Charente", "198"); theForm.zone_id.options[18] = new Option("17 - Charente Maritime", "199"); theForm.zone_id.options[19] = new Option("18 - Cher", "200"); theForm.zone_id.options[20] = new Option("19 - Corrèze", "201"); theForm.zone_id.options[21] = new Option("20 - Corse", "202"); theForm.zone_id.options[22] = new Option("21 - Cote D'Or", "203"); theForm.zone_id.options[23] = new Option("22 - Cotes D'Armor", "204"); theForm.zone_id.options[24] = new Option("23 - Creuse", "205"); theForm.zone_id.options[25] = new Option("79 - Deux Sèvres", "261"); theForm.zone_id.options[26] = new Option("24 - Dordogne", "206"); theForm.zone_id.options[27] = new Option("25 - Doubs", "207"); theForm.zone_id.options[28] = new Option("26 - Drôme", "208"); theForm.zone_id.options[29] = new Option("91 - Essonne", "273"); theForm.zone_id.options[30] = new Option("27 - Eure", "209"); theForm.zone_id.options[31] = new Option("28 - Eure et Loire", "210"); theForm.zone_id.options[32] = new Option("29 - Finistère", "211"); theForm.zone_id.options[33] = new Option("30 - Gard", "212"); theForm.zone_id.options[34] = new Option("32 - Gers", "214"); theForm.zone_id.options[35] = new Option("33 - Gironde", "215"); theForm.zone_id.options[36] = new Option("68 - Haut Rhin", "250"); theForm.zone_id.options[37] = new Option("31 - Haute Garonne", "213"); theForm.zone_id.options[38] = new Option("43 - Haute Loire", "225"); theForm.zone_id.options[39] = new Option("52 - Haute Marne", "234"); theForm.zone_id.options[40] = new Option("65 - Haute Pyrenées", "247"); theForm.zone_id.options[41] = new Option("70 - Haute Saône", "252"); theForm.zone_id.options[42] = new Option("74 - Haute Savoie", "256"); theForm.zone_id.options[43] = new Option("87 - Haute Vienne", "269"); theForm.zone_id.options[44] = new Option("05 - Hautes Alpes", "187"); theForm.zone_id.options[45] = new Option("92 - Hauts De Seine", "274"); theForm.zone_id.options[46] = new Option("34 - Hérault", "216"); theForm.zone_id.options[47] = new Option("35 - Ille et Vilaine", "217"); theForm.zone_id.options[48] = new Option("36 - Indre", "218"); theForm.zone_id.options[49] = new Option("37 - Indre et Loire", "219"); theForm.zone_id.options[50] = new Option("38 - Isère", "220"); theForm.zone_id.options[51] = new Option("39 - Jura", "221"); theForm.zone_id.options[52] = new Option("55 - La Meuse", "237"); theForm.zone_id.options[53] = new Option("40 - Landes", "222"); theForm.zone_id.options[54] = new Option("41 - Loir et Cher", "223"); theForm.zone_id.options[55] = new Option("42 - Loire", "224"); theForm.zone_id.options[56] = new Option("44 - Loire Atlantique", "226"); theForm.zone_id.options[57] = new Option("45 - Loiret", "227"); theForm.zone_id.options[58] = new Option("46 - Lot", "228"); theForm.zone_id.options[59] = new Option("47 - Lot et Garonne", "229"); theForm.zone_id.options[60] = new Option("48 - Lozère", "230"); theForm.zone_id.options[61] = new Option("49 - Maine et Loire", "231"); theForm.zone_id.options[62] = new Option("50 - Manche", "232"); theForm.zone_id.options[63] = new Option("51 - Marne", "233"); theForm.zone_id.options[64] = new Option("53 - Mayenne", "235"); theForm.zone_id.options[65] = new Option("54 - Meurthe et Moselle", "236"); theForm.zone_id.options[66] = new Option("56 - Morbihan", "238"); theForm.zone_id.options[67] = new Option("57 - Moselle", "239"); theForm.zone_id.options[68] = new Option("58 - Nièvre", "240"); theForm.zone_id.options[69] = new Option("59 - Nord", "241"); theForm.zone_id.options[70] = new Option("60 - Oise", "242"); theForm.zone_id.options[71] = new Option("61 - Orne", "243"); theForm.zone_id.options[72] = new Option("75 - Paris", "257"); theForm.zone_id.options[73] = new Option("62 - Pas de Calais", "244"); theForm.zone_id.options[74] = new Option("63 - Puy de Dôme", "245"); theForm.zone_id.options[75] = new Option("64 - Pyrenées Atlantiques", "246"); theForm.zone_id.options[76] = new Option("66 - Pyrenées Orientales", "248"); theForm.zone_id.options[77] = new Option("69 - Rhone", "251"); theForm.zone_id.options[78] = new Option("71 - Saône Et Loire", "253"); theForm.zone_id.options[79] = new Option("72 - Sarthe", "254"); theForm.zone_id.options[80] = new Option("73 - Savoie", "255"); theForm.zone_id.options[81] = new Option("77 - Seine et Marne", "259"); theForm.zone_id.options[82] = new Option("76 - Seine Maritime", "258"); theForm.zone_id.options[83] = new Option("93 - Seine St Denis", "275"); theForm.zone_id.options[84] = new Option("80 - Somme", "262"); theForm.zone_id.options[85] = new Option("81 - Tarn", "263"); theForm.zone_id.options[86] = new Option("82 - Tarn et Garonne", "264"); theForm.zone_id.options[87] = new Option("95 - Val D'Oise", "277"); theForm.zone_id.options[88] = new Option("94 - Val De Marne", "276"); theForm.zone_id.options[89] = new Option("83 - Var", "265"); theForm.zone_id.options[90] = new Option("84 - Vaucluse", "266"); theForm.zone_id.options[91] = new Option("85 - Vendée", "267"); theForm.zone_id.options[92] = new Option("86 - Vienne", "268"); theForm.zone_id.options[93] = new Option("88 - Vosges", "270"); theForm.zone_id.options[94] = new Option("89 - Yonne", "271"); theForm.zone_id.options[95] = new Option("78 - Yvelines", "260"); } 
if (SelectedCountry == 81) {  theForm.zone_id.options[1] = new Option("BAW - Baden-Württemberg", "80"); theForm.zone_id.options[2] = new Option("BAY - Bayern", "81"); theForm.zone_id.options[3] = new Option("BER - Berlin", "82"); theForm.zone_id.options[4] = new Option("BRG - Brandenburg", "83"); theForm.zone_id.options[5] = new Option("BRE - Bremen", "84"); theForm.zone_id.options[6] = new Option("HAM - Hamburg", "85"); theForm.zone_id.options[7] = new Option("HES - Hessen", "86"); theForm.zone_id.options[8] = new Option("MEC - Mecklenburg-Vorpommern", "87"); theForm.zone_id.options[9] = new Option("NDS - Niedersachsen", "79"); theForm.zone_id.options[10] = new Option("NRW - Nordrhein-Westfalen", "88"); theForm.zone_id.options[11] = new Option("RHE - Rheinland-Pfalz", "89"); theForm.zone_id.options[12] = new Option("SAR - Saarland", "90"); theForm.zone_id.options[13] = new Option("SAS - Sachsen", "91"); theForm.zone_id.options[14] = new Option("SAC - Sachsen-Anhalt", "92"); theForm.zone_id.options[15] = new Option("SCN - Schleswig-Holstein", "93"); theForm.zone_id.options[16] = new Option("THE - Thüringen", "94"); } 
if (SelectedCountry == 195) {  theForm.zone_id.options[1] = new Option("Alava - Alava", "130"); theForm.zone_id.options[2] = new Option("Alicante - Alicante", "138"); theForm.zone_id.options[3] = new Option("Almeria - Almeria", "139"); theForm.zone_id.options[4] = new Option("Asturias - Asturias", "140"); theForm.zone_id.options[5] = new Option("Avila - Avila", "141"); theForm.zone_id.options[6] = new Option("Badajoz - Badajoz", "142"); theForm.zone_id.options[7] = new Option("Baleares - Baleares", "164"); theForm.zone_id.options[8] = new Option("Barcelona - Barcelona", "136"); theForm.zone_id.options[9] = new Option("Burgos - Burgos", "143"); theForm.zone_id.options[10] = new Option("Caceres - Caceres", "144"); theForm.zone_id.options[11] = new Option("Cadiz - Cadiz", "145"); theForm.zone_id.options[12] = new Option("Cantabria - Cantabria", "146"); theForm.zone_id.options[13] = new Option("Cantabria - Cantabria", "165"); theForm.zone_id.options[14] = new Option("Castellon - Castellon", "147"); theForm.zone_id.options[15] = new Option("Ceuta - Ceuta", "148"); theForm.zone_id.options[16] = new Option("Ciudad Real - Ciudad Real", "149"); theForm.zone_id.options[17] = new Option("Cordoba - Cordoba", "150"); theForm.zone_id.options[18] = new Option("Cuenca - Cuenca", "151"); theForm.zone_id.options[19] = new Option("Gerona - Gerona", "152"); theForm.zone_id.options[20] = new Option("Granada - Granada", "133"); theForm.zone_id.options[21] = new Option("Guadalajara - Guadalajara", "154"); theForm.zone_id.options[22] = new Option("Guipuzcoa - Guipuzcoa", "155"); theForm.zone_id.options[23] = new Option("Huelva - Huelva", "156"); theForm.zone_id.options[24] = new Option("Huesca - Huesca", "157"); theForm.zone_id.options[25] = new Option("Jaen - Jaen", "134"); theForm.zone_id.options[26] = new Option("La Coruña - La Coruña", "158"); theForm.zone_id.options[27] = new Option("La Rioja - La Rioja", "159"); theForm.zone_id.options[28] = new Option("Las Palmas - Las Palmas", "153"); theForm.zone_id.options[29] = new Option("Leon - Leon", "160"); theForm.zone_id.options[30] = new Option("Lleida - Lleida", "162"); theForm.zone_id.options[31] = new Option("Lugo - Lugo", "161"); theForm.zone_id.options[32] = new Option("Madrid - Madrid", "163"); theForm.zone_id.options[33] = new Option("Malaga - Malaga", "131"); theForm.zone_id.options[34] = new Option("Melilla - Melilla", "181"); theForm.zone_id.options[35] = new Option("Murcia - Murcia", "166"); theForm.zone_id.options[36] = new Option("Navarra - Navarra", "167"); theForm.zone_id.options[37] = new Option("Orense - Orense", "168"); theForm.zone_id.options[38] = new Option("Palencia - Palencia", "169"); theForm.zone_id.options[39] = new Option("Pontevedra - Pontevedra", "170"); theForm.zone_id.options[40] = new Option("Salamanca - Salamanca", "171"); theForm.zone_id.options[41] = new Option("Segovia - Segovia", "132"); theForm.zone_id.options[42] = new Option("Sevilla - Sevilla", "135"); theForm.zone_id.options[43] = new Option("Soria - Soria", "172"); theForm.zone_id.options[44] = new Option("Tarragona - Tarragona", "173"); theForm.zone_id.options[45] = new Option("Tenerife - Tenerife", "174"); theForm.zone_id.options[46] = new Option("Teruel - Teruel", "175"); theForm.zone_id.options[47] = new Option("Toledo - Toledo", "176"); theForm.zone_id.options[48] = new Option("Valencia - Valencia", "137"); theForm.zone_id.options[49] = new Option("Valladolid - Valladolid", "177"); theForm.zone_id.options[50] = new Option("Vizcaya - Vizcaya", "178"); theForm.zone_id.options[51] = new Option("Zamora - Zamora", "179"); theForm.zone_id.options[52] = new Option("Zaragoza - Zaragoza", "180"); } 
if (SelectedCountry == 204) {  theForm.zone_id.options[1] = new Option("AG - Aargau", "104"); theForm.zone_id.options[2] = new Option("AR - Appenzell Ausserrhoden", "106"); theForm.zone_id.options[3] = new Option("AI - Appenzell Innerrhoden", "105"); theForm.zone_id.options[4] = new Option("BL - Basel-Landschaft", "108"); theForm.zone_id.options[5] = new Option("BS - Basel-Stadt", "109"); theForm.zone_id.options[6] = new Option("BE - Bern", "107"); theForm.zone_id.options[7] = new Option("FR - Freiburg", "110"); theForm.zone_id.options[8] = new Option("GE - Genf", "111"); theForm.zone_id.options[9] = new Option("GL - Glarus", "112"); theForm.zone_id.options[10] = new Option("JU - Graubünden", "113"); theForm.zone_id.options[11] = new Option("JU - Jura", "114"); theForm.zone_id.options[12] = new Option("LU - Luzern", "115"); theForm.zone_id.options[13] = new Option("NE - Neuenburg", "116"); theForm.zone_id.options[14] = new Option("NW - Nidwalden", "117"); theForm.zone_id.options[15] = new Option("OW - Obwalden", "118"); theForm.zone_id.options[16] = new Option("SH - Schaffhausen", "120"); theForm.zone_id.options[17] = new Option("SZ - Schwyz", "122"); theForm.zone_id.options[18] = new Option("SO - Solothurn", "121"); theForm.zone_id.options[19] = new Option("SG - St. Gallen", "119"); theForm.zone_id.options[20] = new Option("TI - Tessin", "124"); theForm.zone_id.options[21] = new Option("TG - Thurgau", "123"); theForm.zone_id.options[22] = new Option("UR - Uri", "125"); theForm.zone_id.options[23] = new Option("VD - Waadt", "126"); theForm.zone_id.options[24] = new Option("VS - Wallis", "127"); theForm.zone_id.options[25] = new Option("ZG - Zug", "128"); theForm.zone_id.options[26] = new Option("ZH - Zürich", "129"); } 
if (SelectedCountry == 223) {  theForm.zone_id.options[1] = new Option("AL - Alabama", "1"); theForm.zone_id.options[2] = new Option("AK - Alaska", "2"); theForm.zone_id.options[3] = new Option("AS - American Samoa", "3"); theForm.zone_id.options[4] = new Option("AZ - Arizona", "4"); theForm.zone_id.options[5] = new Option("AR - Arkansas", "5"); theForm.zone_id.options[6] = new Option("AF - Armed Forces Africa", "6"); theForm.zone_id.options[7] = new Option("AA - Armed Forces Americas", "7"); theForm.zone_id.options[8] = new Option("AC - Armed Forces Canada", "8"); theForm.zone_id.options[9] = new Option("AE - Armed Forces Europe", "9"); theForm.zone_id.options[10] = new Option("AM - Armed Forces Middle East", "10"); theForm.zone_id.options[11] = new Option("AP - Armed Forces Pacific", "11"); theForm.zone_id.options[12] = new Option("CA - California", "12"); theForm.zone_id.options[13] = new Option("CO - Colorado", "13"); theForm.zone_id.options[14] = new Option("CT - Connecticut", "14"); theForm.zone_id.options[15] = new Option("DE - Delaware", "15"); theForm.zone_id.options[16] = new Option("DC - District of Columbia", "16"); theForm.zone_id.options[17] = new Option("FM - Federated States Of Micronesia", "17"); theForm.zone_id.options[18] = new Option("FL - Florida", "18"); theForm.zone_id.options[19] = new Option("GA - Georgia", "19"); theForm.zone_id.options[20] = new Option("GU - Guam", "20"); theForm.zone_id.options[21] = new Option("HI - Hawaii", "21"); theForm.zone_id.options[22] = new Option("ID - Idaho", "22"); theForm.zone_id.options[23] = new Option("IL - Illinois", "23"); theForm.zone_id.options[24] = new Option("IN - Indiana", "24"); theForm.zone_id.options[25] = new Option("IA - Iowa", "25"); theForm.zone_id.options[26] = new Option("KS - Kansas", "26"); theForm.zone_id.options[27] = new Option("KY - Kentucky", "27"); theForm.zone_id.options[28] = new Option("LA - Louisiana", "28"); theForm.zone_id.options[29] = new Option("ME - Maine", "29"); theForm.zone_id.options[30] = new Option("MH - Marshall Islands", "30"); theForm.zone_id.options[31] = new Option("MD - Maryland", "31"); theForm.zone_id.options[32] = new Option("MA - Massachusetts", "32"); theForm.zone_id.options[33] = new Option("MI - Michigan", "33"); theForm.zone_id.options[34] = new Option("MN - Minnesota", "34"); theForm.zone_id.options[35] = new Option("MS - Mississippi", "35"); theForm.zone_id.options[36] = new Option("MO - Missouri", "36"); theForm.zone_id.options[37] = new Option("MT - Montana", "37"); theForm.zone_id.options[38] = new Option("NE - Nebraska", "38"); theForm.zone_id.options[39] = new Option("NV - Nevada", "39"); theForm.zone_id.options[40] = new Option("NH - New Hampshire", "40"); theForm.zone_id.options[41] = new Option("NJ - New Jersey", "41"); theForm.zone_id.options[42] = new Option("NM - New Mexico", "42"); theForm.zone_id.options[43] = new Option("NY - New York", "43"); theForm.zone_id.options[44] = new Option("NC - North Carolina", "44"); theForm.zone_id.options[45] = new Option("ND - North Dakota", "45"); theForm.zone_id.options[46] = new Option("MP - Northern Mariana Islands", "46"); theForm.zone_id.options[47] = new Option("OH - Ohio", "47"); theForm.zone_id.options[48] = new Option("OK - Oklahoma", "48"); theForm.zone_id.options[49] = new Option("OR - Oregon", "49"); theForm.zone_id.options[50] = new Option("PW - Palau", "50"); theForm.zone_id.options[51] = new Option("PA - Pennsylvania", "51"); theForm.zone_id.options[52] = new Option("PR - Puerto Rico", "52"); theForm.zone_id.options[53] = new Option("RI - Rhode Island", "53"); theForm.zone_id.options[54] = new Option("SC - South Carolina", "54"); theForm.zone_id.options[55] = new Option("SD - South Dakota", "55"); theForm.zone_id.options[56] = new Option("TN - Tenessee", "56"); theForm.zone_id.options[57] = new Option("TX - Texas", "57"); theForm.zone_id.options[58] = new Option("UT - Utah", "58"); theForm.zone_id.options[59] = new Option("VT - Vermont", "59"); theForm.zone_id.options[60] = new Option("VI - Virgin Islands", "60"); theForm.zone_id.options[61] = new Option("VA - Virginia", "61"); theForm.zone_id.options[62] = new Option("WA - Washington", "62"); theForm.zone_id.options[63] = new Option("WV - West Virginia", "63"); theForm.zone_id.options[64] = new Option("WI - Wisconsin", "64"); theForm.zone_id.options[65] = new Option("WY - Wyoming", "65"); } 
} 

