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","Punta Cana",false,false); form.market.options[9] = new Option("San Raphael del Yuma","San Raphael del 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 la Maguana",false,false); form.market.options[2] = new Option("Las Matas de Faffàn","Las Matas de Faffàn",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","Dajabôn",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","Monción",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 Vsabella",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 Garcia","Pedro Garcia",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; } }