function PopulateMarket(form, selectbox) { //Clear any existing options for (i=0;form.market.length > 0;) form.market.options[0] = null; switch (selectbox.options[selectbox.selectedIndex].value) { case "17": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Bayahibe","bayahibe",false,false); form.market.options[2] = new Option("Boca de Yuma","Boca de Yuma",false,false); form.market.options[3] = new Option("Higuey","Higuey",false,false); form.market.options[4] = new Option("Las Lagunas de Nisibón","Las Lagunas de Nisibon",false,false); form.market.options[5] = new Option("Playa del Este","Playa del Este",false,false); form.market.options[6] = new Option("Playa Dominicus","Playa Dominicus",false,false); form.market.options[7] = new Option("Playa Juanilla","Playa Juanilla",false,false); form.market.options[8] = new Option("Punta Cana","PuntaCana",false,false); form.market.options[9] = new Option("San Raphael del Yuma","San Raphael de Yuma",false,false); break; case "24": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Barahona","baraona",false,false); form.market.options[2] = new Option("Cabral","cabral",false,false); form.market.options[3] = new Option("Enrenquillo","enrenquillo",false,false); form.market.options[4] = new Option("Fundacion","Fundacion",false,false); form.market.options[5] = new Option("Paraiso","Paraiso",false,false); form.market.options[6] = new Option("Vinvente Noble","vicente noble",false,false); break; case "28": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("San Juan de la Maguana","san juan de Maguana",false,false); form.market.options[2] = new Option("Las Matas de Faffàn","las matas de faffan",false,false); break; case "25": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Perdenales","perdenales",false,false); break; case "2": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Dajabôn","dajabon",false,false); form.market.options[2] = new Option("Loma de Cabrera","loma de cabrera",false,false); break; case "16": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("El Seibo ","el seibo",false,false); form.market.options[2] = new Option("Bayaguana uana","Bayaguana uana",false,false); form.market.options[3] = new Option("Miches","Miches",false,false); break; case "30": form.market.options[0] = new Option("Select an Area","",false,false); break; case "8": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Gaspar Hermandez","Gaspar Hermandez",false,false); form.market.options[2] = new Option("Jamao al Norte","Jamao al Norte",false,false); form.market.options[3] = new Option("José Contreras","José Contreras",false,false); form.market.options[4] = new Option("Moca","Moca",false,false); form.market.options[5] = new Option("Partido","Partido",false,false); form.market.options[6] = new Option("Playa Grande","Playa Grande",false,false); break; case "15": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Consuelo","consuelo",false,false); form.market.options[2] = new Option("Hato Mayor","hato mayor",false,false); form.market.options[3] = new Option("Sabana de la Mar","Sabana de la Mar",false,false); break; case "1": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Baitoa","baitoa",false,false); form.market.options[2] = new Option("Castañuelas","castanuelas",false,false); form.market.options[3] = new Option("Guayubin","guayubin",false,false); form.market.options[4] = new Option("La Isabella","la isabella",false,false); form.market.options[5] = new Option("Las Matas de Santa Cruz","las matas de santa cruz",false,false); form.market.options[7] = new Option("MonteCristi","MonteCristi",false,false); form.market.options[7] = new Option("Pepillo Salcedo","Pepillo Salcedo",false,false); form.market.options[8] = new Option("Villa Vasquez","Villa Vasquez",false,false); break; case "3": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Fundacion","fundacion",false,false); form.market.options[2] = new Option("Loas Almácigos","loas almácigos",false,false); form.market.options[3] = new Option("Monción","moncion",false,false); form.market.options[4] = new Option("Santiago Rodriguez","santiago rodriguez",false,false); break; case "4": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Amina","amina",false,false); form.market.options[2] = new Option("Arenoso","arenoso",false,false); form.market.options[3] = new Option("laguna Salada","laguna salada",false,false); form.market.options[4] = new Option("Mao","mao",false,false); break; case "5": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Altamira","altamira",false,false); form.market.options[2] = new Option("Cabarete","cabarete",false,false); form.market.options[3] = new Option("Cambiaso","cambiaso",false,false); form.market.options[4] = new Option("Guananico","guananico",false,false); form.market.options[5] = new Option("Imber","imber",false,false); form.market.options[6] = new Option("Los Hidalgos","los hidalgos",false,false); form.market.options[7] = new Option("Luperón","luperón",false,false); form.market.options[8] = new Option("Maimón","maimon",false,false); form.market.options[9] = new Option("Montelllano","montelllano",false,false); form.market.options[10] = new Option("Playa de Cofresi","playa de cofresi",false,false); form.market.options[11] = new Option("Puerto Plata","puerto plata",false,false); form.market.options[12] = new Option("Sabaneta de Yasica","sabaneta de yasica",false,false); form.market.options[13] = new Option("Sosua","sosua",false,false); form.market.options[14] = new Option("Villa Isabella","villa isabella",false,false); break; case "6": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("El Rubio","el rubio",false,false); form.market.options[2] = new Option("Janico","janico",false,false); form.market.options[3] = new Option("Pedro Garcla","pedro garcla",false,false); form.market.options[4] = new Option("Sabana Iglesia","Sabana Iglesia",false,false); form.market.options[5] = new Option("San Jose de las Matas","San Jose de las Matas",false,false); form.market.options[6] = new Option("Santiago","Santiago",false,false); form.market.options[7] = new Option("Villa Bisonó","Villa Bisonó",false,false); form.market.options[8] = new Option("Villa Gonzalez","villa gonzalez",false,false); break; case "7": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Azua","azua",false,false); form.market.options[2] = new Option("Constanza","constanza",false,false); form.market.options[3] = new Option("Jarabacoa","jarabacoa",false,false); form.market.options[4] = new Option("Jima Abajo","jima abajo",false,false); form.market.options[5] = new Option("La Vega","la vega",false,false); break; case "9": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Salcedo","salcedo",false,false); form.market.options[2] = new Option("Tenares","tenares",false,false); form.market.options[3] = new Option("Vila Tapia","vila tapia",false,false); break; case "10": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Castillo","Castillo",false,false); form.market.options[2] = new Option("Las Guaranas","Las Guaranas",false,false); form.market.options[3] = new Option("Pimentel","Pimentel",false,false); form.market.options[4] = new Option("San Francisco Macoris","San Francisco Macoris",false,false); form.market.options[5] = new Option("Seibo","Seibo",false,false); break; case "11": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Rio San Juan","Rio San Juan",false,false); form.market.options[2] = new Option("Cabrera","Cabrera",false,false); form.market.options[3] = new Option("Abreu","Abreu",false,false); form.market.options[4] = new Option("Nagua","Nagua",false,false); form.market.options[5] = new Option("Playa Diamante","Playa Diamante",false,false); form.market.options[6] = new Option("El Factor","El Factor",false,false); break; case "12": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Cevicos","Cevicos",false,false); form.market.options[2] = new Option("Cotui","Cotui",false,false); form.market.options[3] = new Option("Fantino","fantino",false,false); break; case "13": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Piedra Blanca","piedra blanca",false,false); form.market.options[2] = new Option("Bonao","bonao",false,false); break; case "14": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("El Portillo","el portillo",false,false); form.market.options[2] = new Option("Esperanza","esperanza",false,false); form.market.options[3] = new Option("Honduras","honduras",false,false); form.market.options[4] = new Option("Las Garitas","las garitas",false,false); form.market.options[5] = new Option("Las Gateras","las gateras",false,false); form.market.options[6] = new Option("Las Pascualoas","las pascualoas",false,false); form.market.options[7] = new Option("Las Terrenas","las terrenas",false,false); form.market.options[8] = new Option("Punta Gorda","punta gorda",false,false); form.market.options[9] = new Option("Rio San Juan","rio san juan",false,false); form.market.options[10] = new Option("Samana","samana",false,false); form.market.options[11] = new Option("Lansing","lansing",false,false); form.market.options[12] = new Option("Sanchez","sanchez",false,false); break; case "18": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Guaymate","Guaymate",false,false); form.market.options[2] = new Option("La Romana","La Romana",false,false); form.market.options[3] = new Option("Altos de Chavron","Altos de Chavron",false,false); break; case "19": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("San Pedro do Macoris","San Pedro do Macoris",false,false); form.market.options[2] = new Option("Playa Cumayasa","Playa Cumayasa",false,false); form.market.options[3] = new Option("Juan Dolio","Juan Dolio",false,false); form.market.options[4] = new Option("Playa la Coleta","Playa la Coleta",false,false); form.market.options[5] = new Option("Los Llanos ","Los Llanos ",false,false); form.market.options[6] = new Option("Guayacanes","Guayacanes",false,false); break; case "20": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("El Valle","el valle",false,false); form.market.options[2] = new Option("Ingenio Consuelo","ingenio consuelo",false,false); form.market.options[3] = new Option("Monte Plata","monte plata",false,false); form.market.options[4] = new Option("Yamasa","yamasa",false,false); break; case "21": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Boca Chica","Boca Chica",false,false); form.market.options[2] = new Option("Fundacion","Fundacion",false,false); form.market.options[3] = new Option("Sabana Grande de Palenque","Sabana Grande de Palenque",false,false); form.market.options[4] = new Option("San Cristobal","San Cristobal",false,false); form.market.options[5] = new Option("Santo Domingo","Santo Domingo",false,false); form.market.options[6] = new Option("Villa Altagracia","Villa Altagracia",false,false); form.market.options[7] = new Option("Yaquate","Yaquate",false,false); break; case "22": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Bani","bani",false,false); form.market.options[2] = new Option("El Cercado","El Cercado",false,false); form.market.options[3] = new Option("Matanzas","Matanzas",false,false); form.market.options[4] = new Option("Nizao","Nizao",false,false); form.market.options[5] = new Option("San Jose de Ocoa","San Jose de Ocoa",false,false); break; case "23": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Padres Las Casas","Padres Las Casas",false,false); form.market.options[2] = new Option("Palmar de Ocoa","Palmar de Ocoa",false,false); form.market.options[3] = new Option("Duvergé","Duverge",false,false); form.market.options[4] = new Option("Las Charcas","Las Charcas",false,false); break; case "26": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Jimani","jimani",false,false); form.market.options[2] = new Option("San Cristobal","san cristobal",false,false); break; case "27": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Galvàn","galvan",false,false); form.market.options[2] = new Option("Mebia","mebia",false,false); form.market.options[3] = new Option("Tamayo","tamayo",false,false); break; case "29": form.market.options[0] = new Option("Select an Area","",false,false); form.market.options[1] = new Option("Comendador","comendador",false,false); form.market.options[2] = new Option("Sabana Yegua","sabana yegua",false,false); break; default: form.market.options[0] = new Option("Select an Area","",false,false); break; } //NETSCAPE 4,6 if (document.layers) { form.market.selectedIndex = 0; } }