function slctr(texto,valor){
	this.texto = texto
	this.valor = valor
}
var region1=new Array()
	region1[0] = new slctr('Seleccione')
	region1[1] = new slctr("Alto Hospicio",'Alto_Hospicio')
	region1[2] = new slctr("Camiña",'Camiña')
	region1[3] = new slctr("Colchane",'Colchane')
	region1[4] = new slctr("Huara",'Huara')
	region1[5] = new slctr("Iquique",'Iquique')
	region1[6] = new slctr("Pica",'Pica')
	region1[7] = new slctr("Pozo Almonte",'Pozo Almonte')
	
var region2=new Array()
	region2[0] = new slctr('Seleccione')
	region2[1] = new slctr("Antofagasta",'Antofagasta')
	region2[2] = new slctr("Calama",'Calama')
	region2[3] = new slctr("María Elena",'Maria_Elena')
	region2[4] = new slctr("Mejillones",'Mejillones')
	region2[5] = new slctr("Ollagüe",'Ollague')
	region2[6] = new slctr("San Pedro de Atacama",'San_Pedro_de_Atacama')
	region2[7] = new slctr("Sierra Gorda",'Sierra_Gorda')
	region2[8] = new slctr("Taltal",'Taltal')
	region2[9] = new slctr("Tocopilla",'Tocopilla')

var region3=new Array()
	region3[0] = new slctr('Seleccione')
	region3[1] = new slctr("Alto del Carmen",'Alto_del_Carmen')
	region3[2] = new slctr("Caldera",'Caldera')
	region3[3] = new slctr("Chañaral",'Chañaral')
	region3[4] = new slctr("Copiapó",'Copiapo')
	region3[5] = new slctr("Diego de Almagro",'Diego_de_Almagro')
	region3[6] = new slctr("Frieirina",'Frieirina')
	region3[7] = new slctr("Huasco",'Huasco')
	region3[8] = new slctr("Tierra Amarilla",'Tierra_Amarilla')
	region3[9] = new slctr("Vallenar",'Vallenar')

var region4=new Array()
    region4[0] = new slctr('Seleccione')
	region4[1] = new slctr("Andacollo",'Andacollo')
	region4[2] = new slctr("Canela",'Canela')
    region4[3] = new slctr("Combarbalá",'Combarbala')
	region4[4] = new slctr("Coquimbo",'Coquimbo')
	region4[5] = new slctr("Illapel",'Illapel')
	region4[6] = new slctr("La Higuera",'La_Higuera')
	region4[7] = new slctr("La Serena",'La_Serena')
	region4[8] = new slctr("Los Vilos",'Los_Vilos')
	region4[9] = new slctr("Monte Patria",'Monte_Patria')
	region4[10] = new slctr("Ovalle",'Ovalle')
	region4[11] = new slctr("Paihuano",'Paihuano')
	region4[12] = new slctr("Punitaqui",'Punitaqui')
	region4[13] = new slctr("Río Hurtado",'Rio_Hurtado')
	region4[14] = new slctr("Salamanca",'Salamanca')
	region4[15] = new slctr("Vicuña",'Vicuna')
var region5=new Array()
	region5[0] = new slctr('Seleccione')
	region5[1] = new slctr("Algarrobo",'Algarrobo')
	region5[2] = new slctr("Cabildo",'Cabildo')
	region5[3] = new slctr("Calera",'Calera')
	region5[4] = new slctr("Calle Larga",'Calle_Larga')
	region5[5] = new slctr("Cartagena",'Cartagena')
	region5[6] = new slctr("Casablanca",'Casablanca')
	region5[7] = new slctr("Catemu",'Catemu')
	region5[8] = new slctr("Concón",'Concon')
	region5[9] = new slctr("El Quisco",'El_Quisco')
	region5[10] = new slctr("El Tabo",'El_Tabo')
	region5[11] = new slctr("Hijuelas",'Hijuelas')
	region5[12] = new slctr("Isla de Pascua",'Isla_de_Pascua')
	region5[13] = new slctr("Juan Fernández",'Juan_Fernandez')
	region5[14] = new slctr("La Cruz",'La Cruz')
	region5[15] = new slctr("La Ligua",'La Ligua')
	region5[16] = new slctr("Limache",'Limache')
	region5[17] = new slctr("Llay-Llay",'Llay_Llay')
	region5[18] = new slctr("Los Andes",'Los_Andes')
	region5[19] = new slctr("Nogales",'Nogales')
	region5[20] = new slctr("Olmué",'Olmue')
	region5[21] = new slctr("Panquehue",'Panquehue')
	region5[22] = new slctr("Papudo",'Papudo')
	region5[23] = new slctr("Petorca",'Petorca')
	region5[24] = new slctr("Puchuncaví",'Puchuncavi')
	region5[25] = new slctr("Putaendo",'Putaendo')
	region5[26] = new slctr("Quillota",'Quillota')
	region5[27] = new slctr("Quilpué",'Quilpue')
	region5[28] = new slctr("Quintero",'Quintero')
	region5[29] = new slctr("Rinconada",'Rinconada')
	region5[30] = new slctr("San Antonio",'San_Antonio')
	region5[31] = new slctr("San Esteban",'San_Esteban')
	region5[32] = new slctr("San Felipe",'San_Felipe')
	region5[33] = new slctr("Santa María",'Santa_Maria')
	region5[34] = new slctr("Santo Domingo",'Santo_Domingo')
	region5[35] = new slctr("Valparaíso",'Valparaiso')
	region5[36] = new slctr("Villa Alemana",'Villa_Alemana')
	region5[37] = new slctr("Viña del Mar",'Viña_del_Mar')
	region5[38] = new slctr("Zapallar",'Zapallar')
	
var region6=new Array()
    region6[0] = new slctr('Seleccione')
    region6[1] = new slctr("Chépica",'Chepica')
    region6[2] = new slctr("Chimbarongo",'Chimbarongo')
    region6[3] = new slctr("Codegua",'Codegua')
    region6[4] = new slctr("Coinco",'Coinco')
    region6[5] = new slctr("Coltauco",'Coltauco')
    region6[6] = new slctr("Doñihue",'Donihue')
    region6[7] = new slctr("Graneros",'Graneros')
    region6[8] = new slctr("La Estrella",'La_Estrella')
    region6[9] = new slctr("Las Cabras",'Las_Cabras')
    region6[10] = new slctr("Litueche",'Litueche')
    region6[11] = new slctr("Lolol",'Lolol')
    region6[12] = new slctr("Machalí",'Machali')
    region6[13] = new slctr("Malloa",'Malloa')
    region6[14] = new slctr("Marchihue",'Marchihue')
    region6[15] = new slctr("Mostazal",'Mostazal')
    region6[16] = new slctr("Nancagua",'Nancagua')
    region6[17] = new slctr("Navidad",'Navidad')
    region6[18] = new slctr("Olivar",'Olivar')
    region6[19] = new slctr("Palmilla",'Palmilla')
    region6[20] = new slctr("Paredones",'Paredones')
    region6[21] = new slctr("Peralillo",'Peralillo')
    region6[22] = new slctr("Peumo",'Peumo')
    region6[23] = new slctr("Pichidegua",'Pichidegua')
    region6[24] = new slctr("Pichilemu",'Pichilemu')
    region6[25] = new slctr("Placilla",'Placilla')
    region6[26] = new slctr("Pumanque",'Pumanque')
    region6[27] = new slctr("Quinta de Tilcoco",'Quinta_de_Tilcoco')
    region6[28] = new slctr("Rancagua",'Rancagua')
    region6[29] = new slctr("Rengo",'Rengo')
    region6[30] = new slctr("Requinoa",'Requinoa')
    region6[31] = new slctr("San Fernando",'San_Fernando')
    region6[32] = new slctr("San Vicente de Tagua Tagua",'San_Vicente_de_Tagua_Tagua')
    region6[33] = new slctr("Santa Cruz",'Santa_Cruz')
	
var region7=new Array()
    region7[0] = new slctr('Seleccione')
    region7[1] = new slctr("Cauquenes",'Cauquenes')
    region7[2] = new slctr("Chanco",'Chanco')
    region7[3] = new slctr("Colbún",'Colbun')
    region7[4] = new slctr("Constitución",'Constitucion')
    region7[5] = new slctr("Curepto",'Curepto')
    region7[6] = new slctr("Curicó",'Curico')
    region7[7] = new slctr("Empedrado",'Empedrado')
    region7[8] = new slctr("Hualañé",'Hualane')
    region7[9] = new slctr("Licantén",'Licanten')
    region7[10] = new slctr("Linares",'Linares')
    region7[11] = new slctr("Longaví",'Longavi')
    region7[12] = new slctr("Maule",'Maule')
    region7[13] = new slctr("Molina",'Molina')
    region7[14] = new slctr("Parral",'Parral')
    region7[15] = new slctr("Pelarco",'Pelarco')
    region7[16] = new slctr("Pelluhue",'Pelluhue')
    region7[17] = new slctr("Pencahue",'Pencahue')
    region7[18] = new slctr("Rauco",'Rauco')
    region7[19] = new slctr("Retiro",'Retiro')
    region7[20] = new slctr("Río Claro",'Rio_Claro')
    region7[21] = new slctr("Romeral",'Romeral')
    region7[22] = new slctr("Sagrada Familia",'Sagrada_Familia')
    region7[23] = new slctr("San Clemente",'San_Clemente')
    region7[24] = new slctr("San Javier",'San_Javier')
    region7[25] = new slctr("San Rafael",'San_Rafael')
    region7[26] = new slctr("Talca",'Talca')
    region7[27] = new slctr("Teno",'Teno')
    region7[28] = new slctr("Vichuquén",'Vichuquen')
    region7[29] = new slctr("Villa Alegre",'Villa_Alegre')
    region7[30] = new slctr("Yerbas Buenas",'Yerbas_Buenas')

var region8=new Array()
    region8[0] = new slctr('Seleccione')
    region8[1] = new slctr("Alto Biobío",'Alto_Biobio')
    region8[2] = new slctr("Antuco",'Antuco')
    region8[3] = new slctr("Arauco",'Arauco')
    region8[4] = new slctr("Bulnes",'Bulnes')
    region8[5] = new slctr("Cabrero",'Cabrero')
    region8[6] = new slctr("Cañete",'Canete')
    region8[7] = new slctr("Chiguayante",'Chiguayante')
    region8[8] = new slctr("Chillán",'Chillan')
    region8[9] = new slctr("Chillán Viejo",'Chillan_Viejo')
    region8[10] = new slctr("Cobquecura",'Cobquecura')
    region8[11] = new slctr("Coelemu",'Coelemu')
    region8[12] = new slctr("Coihueco",'Coihueco')
    region8[13] = new slctr("Concepción",'Concepcion')
    region8[14] = new slctr("Contulmo",'Contulmo')
    region8[15] = new slctr("Coronel",'Coronel')
    region8[16] = new slctr("Curanilahue",'Curanilahue')
    region8[17] = new slctr("El Carmen",'El_Carmen')
    region8[18] = new slctr("Florida",'Florida')
    region8[19] = new slctr("Hualpén",'Hualpen')
    region8[20] = new slctr("Hualqui",'Hualqui')
    region8[21] = new slctr("Laja",'Laja')
    region8[22] = new slctr("Lebu",'Lebu')
    region8[23] = new slctr("Los Álamos",'Los_Alamos')
    region8[24] = new slctr("Los Ángeles",'Los_Angeles')
    region8[25] = new slctr("Lota",'Lota')
    region8[26] = new slctr("Mulchén",'Mulchen')
    region8[27] = new slctr("Ñiquén",'Niquen')
    region8[28] = new slctr("Nacimiento",'Nacimiento')
    region8[29] = new slctr("Negrete",'Negrete')
    region8[30] = new slctr("Ninhue",'Ninhue')
    region8[31] = new slctr("Ñiquen",'Niquen')
    region8[32] = new slctr("Pemuco",'Pemuco')
    region8[33] = new slctr("Penco",'Penco')
    region8[34] = new slctr("Pinto",'Pinto')
    region8[35] = new slctr("Portezuelo",'Portezuelo')
    region8[36] = new slctr("Quilaco",'Quilaco')
    region8[37] = new slctr("Quilleco",'Quilleco')
    region8[38] = new slctr("Quillón",'Quillon')
    region8[39] = new slctr("Quirihue",'Quirihue')
    region8[40] = new slctr("Ránquil",'Ranquil')
    region8[41] = new slctr("San Carlos",'San_Carlos')
    region8[42] = new slctr("San Fabián",'San_Fabian')
    region8[43] = new slctr("San Ignacio",'San_Ignacio')
    region8[44] = new slctr("San Nicolás",'San_Nicolas')
    region8[45] = new slctr("San Pedro de la Paz",'San_Pedro_de_la_Paz')
    region8[46] = new slctr("San Rosendo",'San_Rosendo')
    region8[47] = new slctr("Santa Bárbara",'Santa_Barbara')
    region8[48] = new slctr("Santa Juana",'Santa_Juana')
    region8[49] = new slctr("Talcahuano",'Talcahuano')
    region8[50] = new slctr("Tirúa",'Tirua')
    region8[51] = new slctr("Tomé",'Tome')
    region8[52] = new slctr("Trehuaco",'Trehuaco')
    region8[53] = new slctr("Tucapel",'Tucapel')
    region8[54] = new slctr("Yumbel",'Yumbel')
    region8[55] = new slctr("Yungay",'Yungay')
	
var region9=new Array()
    region9[0] = new slctr('Seleccione')
    region9[1] = new slctr("Angol",'Angol')
    region9[2] = new slctr("Carahue",'Carahue')
    region9[3] = new slctr("Cholchol",'Cholchol')
    region9[4] = new slctr("Collipulli",'Collipulli')
    region9[5] = new slctr("Cunco",'Cunco')
    region9[6] = new slctr("Curacautín",'Curacautin')
    region9[7] = new slctr("Curarrehue",'Curarrehue')
    region9[8] = new slctr("Ercilla",'Ercilla')
    region9[9] = new slctr("Freire",'Freire')
    region9[10] = new slctr("Galvarino",'Galvarino')
    region9[11] = new slctr("Gorbea",'Gorbea')
    region9[12] = new slctr("Lautaro",'Lautaro')
    region9[13] = new slctr("Loncoche",'Loncoche')
    region9[14] = new slctr("Lonquimay",'Lonquimay')
    region9[15] = new slctr("Los Sauces",'Los_Sauces')
    region9[16] = new slctr("Lumaco",'Lumaco')
    region9[17] = new slctr("Melipeuco",'Melipeuco')
    region9[18] = new slctr("Nueva Imperial",'Nueva_Imperial')
    region9[19] = new slctr("Padre las Casas",'Padre_las_Casas')
    region9[20] = new slctr("Perquenco",'Perquenco')
    region9[21] = new slctr("Pitrufquén",'Pitrufquen')
    region9[22] = new slctr("Pucón",'Pucon')
    region9[23] = new slctr("Purén",'Puren')
    region9[24] = new slctr("Renaico",'Renaico')
    region9[25] = new slctr("Saavedra",'Saavedra')
    region9[26] = new slctr("Temuco",'Temuco')
    region9[27] = new slctr("Teodoro Schmidt",'Teodoro_Schmidt')
    region9[28] = new slctr("Toltén",'Tolten')
    region9[29] = new slctr("Traiguén",'Traiguen')
    region9[30] = new slctr("Victoria",'Victoria')
    region9[31] = new slctr("Vilcún",'Vilcun')
    region9[32] = new slctr("Villarrica",'Villarrica')
	
var region10=new Array()
    region10[0] = new slctr('Seleccione')
    region10[1] = new slctr("Ancud",'Ancud')
    region10[2] = new slctr("Calbuco",'Calbuco')
    region10[3] = new slctr("Castro",'Castro')
    region10[4] = new slctr("Chaitén",'Chaiten')
    region10[5] = new slctr("Chonchi",'Chonchi')
    region10[6] = new slctr("Cochamó",'Cochamo')
    region10[7] = new slctr("Curaco de Vélez",'Curaco_de_Velez')
    region10[8] = new slctr("Dalcahue",'Dalcahue')
    region10[9] = new slctr("Fresia",'Fresia')
    region10[10] = new slctr("Frutillar",'Frutillar')
    region10[11] = new slctr("Futaleufú",'Futaleufu')
    region10[12] = new slctr("Hualaihué",'Hualaihue')
    region10[13] = new slctr("Llanquihue",'Llanquihue')
    region10[14] = new slctr("Los Muermos",'Los_Muermos')
    region10[15] = new slctr("Maullín",'Maullin')
    region10[16] = new slctr("Osorno",'Osorno')
    region10[17] = new slctr("Palena",'Palena')
    region10[18] = new slctr("Puerto Montt",'Puerto_Montt')
    region10[19] = new slctr("Puerto Octay",'Puerto_Octay')
    region10[20] = new slctr("Puerto Varas",'Puerto_Varas')
    region10[21] = new slctr("Puqueldón",'Puqueldon')
    region10[22] = new slctr("Purranque",'Purranque')
    region10[23] = new slctr("Puyehue",'Puyehue')
    region10[24] = new slctr("Queilén",'Queilén')
    region10[25] = new slctr("Quellón",'Quellón')
    region10[26] = new slctr("Quemchi",'Quemchi')
    region10[27] = new slctr("Quinchao",'Quinchao')
    region10[28] = new slctr("Río Negro",'Río_Negro')
    region10[29] = new slctr("San Juan de la Costa",'San_Juan_de_la_Costa')
    region10[30] = new slctr("San Pablo",'San_Pablo')
	
var region11=new Array()
    region11[0] = new slctr('Seleccione')
    region11[1] = new slctr("Aysén",'Aysen')
    region11[2] = new slctr("Chile Chico",'Chile_Chico')
    region11[3] = new slctr("Cisnes",'Cisnes')
    region11[4] = new slctr("Cochrane",'Cochrane')
    region11[5] = new slctr("Coyhaique",'Coyhaique')
    region11[6] = new slctr("Guaitecas",'Guaitecas')
    region11[7] = new slctr("Lago Verde",'Lago_Verde')
    region11[8] = new slctr("O'Higgins",'OHiggins')
    region11[9] = new slctr("Río Ibáñez",'Rio_Ibanez')
    region11[10] = new slctr("Tortel",'Tortel')
	
var region12=new Array()
    region12[0] = new slctr('Seleccione')
    region12[1] = new slctr("Antártica",'Antartica')
    region12[2] = new slctr("Cabo de Hornos",'Cabo_de_Hornos')
    region12[3] = new slctr("Laguna Blanca",'Laguna_Blanca')
    region12[4] = new slctr("Natales",'Natales')
    region12[5] = new slctr("Porvenir",'Porvenir')
    region12[6] = new slctr("Primavera",'Primavera')
    region12[7] = new slctr("Punta Arenas",'Punta_Arenas')
    region12[8] = new slctr("Río Verde",'Río_Verde')
    region12[9] = new slctr("San Gregorio",'San_Gregorio')
    region12[10] = new slctr("Timaukel",'Timaukel')
    region12[11] = new slctr("Torres del Paine",'Torres_del_Paine')
	
var region13=new Array()
    region13[0] = new slctr('Seleccione')
	region13[1] = new slctr("Alhué",'Alhue')
    region13[2] = new slctr("Buin",'Buin')
    region13[3] = new slctr("Calera de Tango",'Calera_de_Tango')
    region13[4] = new slctr("Cerrillos",'Cerrillos')
    region13[5] = new slctr("Cerro Navia",'Cerro Navia')
    region13[6] = new slctr("Colina",'Colina')
    region13[7] = new slctr("Conchalí",'Conchali')
    region13[8] = new slctr("Curacaví",'Curacavi')
    region13[9] = new slctr("El Bosque",'El_Bosque')
    region13[10] = new slctr("El Monte",'El_Monte')
    region13[11] = new slctr("Estación Central",'Estacion_Central')
    region13[12] = new slctr("Huechuraba",'Huechuraba')
    region13[13] = new slctr("Independencia",'Independencia')
    region13[14] = new slctr("Isla de Maipo",'Isla_de_Maipo')
    region13[15] = new slctr("La Cisterna",'La_Cisterna')
    region13[16] = new slctr("La Florida",'La_Florida')
    region13[17] = new slctr("La Granja",'La_Granja')
    region13[18] = new slctr("La Pintana",'La_Pintana')
    region13[19] = new slctr("La Reina",'La_Reina')
    region13[20] = new slctr("Lampa",'Lampa')
    region13[21] = new slctr("Las Condes",'Las_Condes')
    region13[22] = new slctr("Lo Barnechea",'Lo_Barnechea')
    region13[23] = new slctr("Lo Espejo",'Lo_Espejo')
    region13[24] = new slctr("Lo Prado",'Lo_Prado')
    region13[25] = new slctr("Macul",'Macul')
    region13[26] = new slctr("Maipú",'Maipu')
    region13[27] = new slctr("María Pinto",'Maria_Pinto')
    region13[28] = new slctr("Melipilla",'Melipilla')
    region13[29] = new slctr("Ñuñoa",'Nunoa')
    region13[30] = new slctr("Padre Hurtado",'Padre_Hurtado')
    region13[31] = new slctr("Paine",'Paine')
    region13[32] = new slctr("Pedro Aguirre Cerda",'Pedro_Aguirre_Cerda')
    region13[33] = new slctr("Peñaflor",'Penaflor')
    region13[34] = new slctr("Peñalolén",'Penalolen')
    region13[35] = new slctr("Pirque",'Pirque')
    region13[36] = new slctr("Providencia",'Providencia')
    region13[37] = new slctr("Pudahuel",'Pudahuel')
    region13[38] = new slctr("Puente Alto",'Puente_Alto')
    region13[39] = new slctr("Quilicura",'Quilicura')
    region13[40] = new slctr("Quinta Normal",'Quinta_Normal')
    region13[41] = new slctr("Recoleta",'Recoleta')
    region13[42] = new slctr("Renca",'Renca')
    region13[43] = new slctr("San Bernardo",'San_Bernardo')
    region13[44] = new slctr("San Joaquín",'San_Joaquin')
    region13[45] = new slctr("San José de Maipo",'San_Jose_de_Maipo')
    region13[46] = new slctr("San Miguel",'San_Miguel')
    region13[47] = new slctr("San Pedro",'San_Pedro')
    region13[48] = new slctr("San Ramón",'San_Ramon')
    region13[49] = new slctr("Santiago",'Santiago')
    region13[50] = new slctr("Talagante",'Talagante')
    region13[51] = new slctr("Tiltil",'Tiltil')
    region13[52] = new slctr("Vitacura",'Vitacura')
	
var region14=new Array()
	region14[0] = new slctr('Seleccione')
	region14[1] = new slctr("Corral",'Corral')
    region14[2] = new slctr("Futrono",'Futrono')
    region14[3] = new slctr("La Unión",'La_Union')
    region14[4] = new slctr("Lago Ranco",'Lago_Ranco')
    region14[5] = new slctr("Lanco",'Lanco')
    region14[6] = new slctr("Los Lagos",'Los_Lagos')
    region14[7] = new slctr("Máfil",'Mafil')
    region14[8] = new slctr("Mariquina",'Mariquina')
    region14[9] = new slctr("Paillaco",'Paillaco')
    region14[10] = new slctr("Panguipulli",'Panguipulli')
    region14[11] = new slctr("Río Bueno",'Rio_Bueno')
    region14[12] = new slctr("Valdivia",'Valdivia')
	
var region15=new Array()
    region15[0] = new slctr('Seleccione')
	region15[1] = new slctr("Arica",'Arica')
    region15[2] = new slctr("Camarones",'Camarones')
    region15[3] = new slctr("General Lagos",'General_Lagos')
    region15[4] = new slctr("Putre",'Putre')

function slctryole(cual,donde){
	if(cual.selectedIndex != 0){
		donde.length=0
		cual = eval(cual.value)
		for(m=0;m<cual.length;m++){
			var nuevaOpcion = new Option(cual[m].texto);
			donde.options[m] = nuevaOpcion;
			if(cual[m].valor != null){
				donde.options[m].value = cual[m].valor
			}
			else{
				donde.options[m].value = cual[m].texto
			}
		}
	}
}
