
<!--
function resetStateText(theForm) {
  theForm.cstate.value = '';
  if (theForm.state.options.length > 1) {
    theForm.cstate.value = "      -- Select Above --";
  }
}

function resetZoneSelected(theForm) {
  if (theForm.state.options.length > 1) {
    theForm.cstate.value = "      -- Select Above --";
  }
}

function update_zone(theForm) {
  var NumState = theForm.state.options.length;
  var SelectedCountry = '';

  while(NumState > 0) {
    NumState--;
    theForm.state.options[NumState] = null;
  }         

  SelectedCountry = theForm.country.options[theForm.country.selectedIndex].value;
            
  if (SelectedCountry == "Austria") {
    theForm.state.options[0] = new Option("Please Select", "");
    theForm.state.options[1] = new Option("Burgenland", "Burgenland");
    theForm.state.options[2] = new Option("Kärnten", "Kärnten");
    theForm.state.options[3] = new Option("Niederösterreich", "Niederösterreich");
    theForm.state.options[4] = new Option("Oberösterreich", "Oberösterreich");
    theForm.state.options[5] = new Option("Salzburg", "Salzburg");
    theForm.state.options[6] = new Option("Steiermark", "Steiermark");
    theForm.state.options[7] = new Option("Tirol", "Tirol");
    theForm.state.options[8] = new Option("Voralberg", "Voralberg");
    theForm.state.options[9] = new Option("Wien", "Wien");
  }
  else if (SelectedCountry == "Canada") {
    theForm.state.options[0] = new Option("Please Select", "");
    theForm.state.options[1] = new Option("Alberta", "Alberta");
    theForm.state.options[2] = new Option("British Columbia", "British Columbia");
    theForm.state.options[3] = new Option("Manitoba", "Manitoba");
    theForm.state.options[4] = new Option("New Brunswick", "New Brunswick");
    theForm.state.options[5] = new Option("Newfoundland", "Newfoundland");
    theForm.state.options[6] = new Option("Northwest Territories", "Northwest Territories");
    theForm.state.options[7] = new Option("Nova Scotia", "Nova Scotia");
    theForm.state.options[8] = new Option("Nunavut", "Nunavut");
    theForm.state.options[9] = new Option("Ontario", "Ontario");
    theForm.state.options[10] = new Option("Prince Edward Island", "Prince Edward Island");
    theForm.state.options[11] = new Option("Quebec", "Quebec");
    theForm.state.options[12] = new Option("Saskatchewan", "Saskatchewan");
    theForm.state.options[13] = new Option("Yukon Territory", "Yukon Territory");
  }
  else if (SelectedCountry == "Germany") {
    theForm.state.options[0] = new Option("Please Select", "");
    theForm.state.options[1] = new Option("Baden-Württemberg", "Baden-Württemberg");
    theForm.state.options[2] = new Option("Bayern", "Bayern");
    theForm.state.options[3] = new Option("Berlin", "Berlin");
    theForm.state.options[4] = new Option("Brandenburg", "Brandenburg");
    theForm.state.options[5] = new Option("Bremen", "Bremen");
    theForm.state.options[6] = new Option("Hamburg", "Hamburg");
    theForm.state.options[7] = new Option("Hessen", "Hessen");
    theForm.state.options[8] = new Option("Mecklenburg-Vorpommern", "Mecklenburg-Vorpommern");
    theForm.state.options[9] = new Option("Niedersachsen", "Niedersachsen");
    theForm.state.options[10] = new Option("Nordrhein-Westfalen", "Nordrhein-Westfalen");
    theForm.state.options[11] = new Option("Rheinland-Pfalz", "Rheinland-Pfalz");
    theForm.state.options[12] = new Option("Saarland", "Saarland");
    theForm.state.options[13] = new Option("Sachsen", "Sachsen");
    theForm.state.options[14] = new Option("Sachsen-Anhalt", "Sachsen-Anhalt");
    theForm.state.options[15] = new Option("Schleswig-Holstein", "Schleswig-Holstein");
    theForm.state.options[16] = new Option("Thüringen", "Thüringen");
  }
  else if (SelectedCountry == "Spain") {
    theForm.state.options[0] = new Option("Please Select", "");
    theForm.state.options[1] = new Option("A Coruña", "A Coruña");
    theForm.state.options[2] = new Option("Alava", "Alava");
    theForm.state.options[3] = new Option("Alicante", "Alicante");
    theForm.state.options[4] = new Option("Almeria", "lmeria");
    theForm.state.options[5] = new Option("Asturias", "Asturias");
    theForm.state.options[6] = new Option("Avila", "Avila");
    theForm.state.options[7] = new Option("Badajoz", "Badajoz");
    theForm.state.options[8] = new Option("Baleares", "Baleares");
    theForm.state.options[9] = new Option("Barcelona", "Barcelona");
    theForm.state.options[10] = new Option("Burgos", "Burgos");
    theForm.state.options[11] = new Option("Caceres", "Caceres");
    theForm.state.options[12] = new Option("Cadiz", "Cadiz");
    theForm.state.options[13] = new Option("Cantabria", "Cantabria");
    theForm.state.options[14] = new Option("Cantabria", "Cantabria");
    theForm.state.options[15] = new Option("Castellon", "Castellon");
    theForm.state.options[16] = new Option("Ceuta", "Ceuta");
    theForm.state.options[17] = new Option("Ciudad Real", "Ciudad Real");
    theForm.state.options[18] = new Option("Cordoba", "Cordoba");
    theForm.state.options[19] = new Option("Cuenca", "Cuenca");
    theForm.state.options[20] = new Option("Girona", "Girona");
    theForm.state.options[21] = new Option("Granada", "Granada");
    theForm.state.options[22] = new Option("Guadalajara", "Guadalajara");
    theForm.state.options[23] = new Option("Guipuzcoa", "Guipuzcoa");
    theForm.state.options[24] = new Option("Huelva", "Huelva");
    theForm.state.options[25] = new Option("Huesca", "Huesca");
    theForm.state.options[26] = new Option("Jaen", "Jaen");
    theForm.state.options[27] = new Option("La Rioja", "La Rioja");
    theForm.state.options[28] = new Option("Las Palmas", "Las Palmas");
    theForm.state.options[29] = new Option("Leon", "Leon");
    theForm.state.options[30] = new Option("Lleida", "Lleida");
    theForm.state.options[31] = new Option("Lugo", "Lugo");
    theForm.state.options[32] = new Option("Madrid", "Madrid");
    theForm.state.options[33] = new Option("Malaga", "Malaga");
    theForm.state.options[34] = new Option("Melilla", "Melilla");
    theForm.state.options[35] = new Option("Murcia", "Murcia");
    theForm.state.options[36] = new Option("Navarra", "Navarra");
    theForm.state.options[37] = new Option("Ourense", "Ourense");
    theForm.state.options[38] = new Option("Palencia", "alencia");
    theForm.state.options[39] = new Option("Pontevedra", "Pontevedra");
    theForm.state.options[40] = new Option("Salamanca", "Salamanca");
    theForm.state.options[41] = new Option("Segovia", "Segovia");
    theForm.state.options[42] = new Option("Sevilla", "Sevilla");
    theForm.state.options[43] = new Option("Soria", "Soria");
    theForm.state.options[44] = new Option("Tarragona", "Tarragona");
    theForm.state.options[45] = new Option("Tenerife", "Tenerife");
    theForm.state.options[46] = new Option("Teruel", "Teruel");
    theForm.state.options[47] = new Option("Toledo", "Toledo");
    theForm.state.options[48] = new Option("Valencia", "Valencia");
    theForm.state.options[49] = new Option("Valladolid", "Valladolid");
    theForm.state.options[50] = new Option("Vizcaya", "Vizcaya");
    theForm.state.options[51] = new Option("Zamora", "Zamora");
    theForm.state.options[52] = new Option("Zaragoza", "Zaragoza");
  }
  else if (SelectedCountry == "Switzerland") {
    theForm.state.options[0] = new Option("Please Select", "");
    theForm.state.options[1] = new Option("Aargau", "Aargau");
    theForm.state.options[2] = new Option("Appenzell Ausserrhoden", "Appenzell Ausserrhoden");
    theForm.state.options[3] = new Option("Appenzell Innerrhoden", "Appenzell Innerrhoden");
    theForm.state.options[4] = new Option("Basel-Landschaft", "Basel-Landschaft");
    theForm.state.options[5] = new Option("Basel-Stadt", "Basel-Stadt");
    theForm.state.options[6] = new Option("Bern", "Bern");
    theForm.state.options[7] = new Option("Freiburg", "Freiburg");
    theForm.state.options[8] = new Option("Genf", "Genf");
    theForm.state.options[9] = new Option("Glarus", "Glarus");
    theForm.state.options[10] = new Option("Graubünden", "Graubünden");
    theForm.state.options[11] = new Option("Jura", "Jura");
    theForm.state.options[12] = new Option("Luzern", "Luzern");
    theForm.state.options[13] = new Option("Neuenburg", "Neuenburg");
    theForm.state.options[14] = new Option("Nidwalden", "Nidwalden");
    theForm.state.options[15] = new Option("Obwalden", "Obwalden");
    theForm.state.options[16] = new Option("Schaffhausen", "Schaffhausen");
    theForm.state.options[17] = new Option("Schwyz", "Schwyz");
    theForm.state.options[18] = new Option("Solothurn", "Solothurn");
    theForm.state.options[19] = new Option("St. Gallen", "St. Gallen");
    theForm.state.options[20] = new Option("Tessin", "Tessin");
    theForm.state.options[21] = new Option("Thurgau", "Thurgau");
    theForm.state.options[22] = new Option("Uri", "Uri");
    theForm.state.options[23] = new Option("Waadt", "Waadt");
    theForm.state.options[24] = new Option("Wallis", "Wallis");
    theForm.state.options[25] = new Option("Zug", "Zug");
    theForm.state.options[26] = new Option("Zürich", "Zürich");
  }
  else if (SelectedCountry == "United_States") {
    theForm.state.options[0] = new Option("Please Select", "");
    theForm.state.options[1] = new Option("Alabama", "Alabama");
    theForm.state.options[2] = new Option("Alaska", "Alaska");
    theForm.state.options[3] = new Option("American Samoa", "American Samoa");
    theForm.state.options[4] = new Option("Arizona", "Arizona");
    theForm.state.options[5] = new Option("Arkansas", "Arkansas");
    theForm.state.options[6] = new Option("Armed Forces Africa", "Armed Forces Africa");
    theForm.state.options[7] = new Option("Armed Forces Americas", "Armed Forces Americas");
    theForm.state.options[8] = new Option("Armed Forces Canada", "Armed Forces Canada");
    theForm.state.options[9] = new Option("Armed Forces Europe", "Armed Forces Europe");
    theForm.state.options[10] = new Option("Armed Forces Middle East", "Armed Forces Middle East");
    theForm.state.options[11] = new Option("Armed Forces Pacific", "Armed Forces Pacific");
    theForm.state.options[12] = new Option("California", "California");
    theForm.state.options[13] = new Option("Colorado", "Colorado");
    theForm.state.options[14] = new Option("Connecticut", "Connecticut");
    theForm.state.options[15] = new Option("Delaware", "Delaware");
    theForm.state.options[16] = new Option("District of Columbia", "District of Columbia");
    theForm.state.options[17] = new Option("Federated States Of Micronesia", "Federated States Of Micronesia");
    theForm.state.options[18] = new Option("Florida", "Florida");
    theForm.state.options[19] = new Option("Georgia", "Georgia");
    theForm.state.options[20] = new Option("Guam", "Guam");
    theForm.state.options[21] = new Option("Hawaii", "Hawaii");
    theForm.state.options[22] = new Option("Idaho", "Idaho");
    theForm.state.options[23] = new Option("Illinois", "Illinois");
    theForm.state.options[24] = new Option("Indiana", "Indiana");
    theForm.state.options[25] = new Option("Iowa", "Iowa");
    theForm.state.options[26] = new Option("Kansas", "Kansas");
    theForm.state.options[27] = new Option("Kentucky", "Kentucky");
    theForm.state.options[28] = new Option("Louisiana", "Louisiana");
    theForm.state.options[29] = new Option("Maine", "Maine");
    theForm.state.options[30] = new Option("Marshall Islands", "Marshall Islands");
    theForm.state.options[31] = new Option("Maryland", "Maryland");
    theForm.state.options[32] = new Option("Massachusetts", "Massachusetts");
    theForm.state.options[33] = new Option("Michigan", "Michigan");
    theForm.state.options[34] = new Option("Minnesota", "Minnesota");
    theForm.state.options[35] = new Option("Mississippi", "Mississippi");
    theForm.state.options[36] = new Option("Missouri", "Missouri");
    theForm.state.options[37] = new Option("Montana", "Montana");
    theForm.state.options[38] = new Option("Nebraska", "Nebraska");
    theForm.state.options[39] = new Option("Nevada", "Nevada");
    theForm.state.options[40] = new Option("New Hampshire", "New Hampshire");
    theForm.state.options[41] = new Option("New Jersey", "New Jersey");
    theForm.state.options[42] = new Option("New Mexico", "New Mexico");
    theForm.state.options[43] = new Option("New York", "New York");
    theForm.state.options[44] = new Option("North Carolina", "North Carolina");
    theForm.state.options[45] = new Option("North Dakota", "North Dakota");
    theForm.state.options[46] = new Option("Northern Mariana Islands", "Northern Mariana Islands");
    theForm.state.options[47] = new Option("Ohio", "Ohio");
    theForm.state.options[48] = new Option("Oklahoma", "Oklahoma");
    theForm.state.options[49] = new Option("Oregon", "Oregon");
    theForm.state.options[50] = new Option("Palau", "Palau");
    theForm.state.options[51] = new Option("Pennsylvania", "Pennsylvania");
    theForm.state.options[52] = new Option("Puerto Rico", "Puerto Rico");
    theForm.state.options[53] = new Option("Rhode Island", "Rhode Island");
    theForm.state.options[54] = new Option("South Carolina", "South Carolina");
    theForm.state.options[55] = new Option("South Dakota", "South Dakota");
    theForm.state.options[56] = new Option("Tenessee", "Tenessee");
    theForm.state.options[57] = new Option("Texas", "Texas");
    theForm.state.options[58] = new Option("Utah", "Utah");
    theForm.state.options[59] = new Option("Vermont", "Vermont");
    theForm.state.options[60] = new Option("Virgin Islands", "Virgin Islands");
    theForm.state.options[61] = new Option("Virginia", "Virginia");
    theForm.state.options[62] = new Option("Washington", "Washington");
    theForm.state.options[63] = new Option("West Virginia", "West Virginia");
    theForm.state.options[64] = new Option("Wisconsin", "Wisconsin");
    theForm.state.options[65] = new Option("Wyoming", "Wyoming");
  }
  else {
    theForm.state.options[0] = new Option("Type Below", "");
  }

  resetStateText(theForm);
}
//-->


