[{"id":"a873435","elType":"section","settings":{"pa_condition_repeater":[],"padding":{"unit":"px","top":"050","right":"0","bottom":"0","left":"0","isLinked":false}},"elements":[{"id":"ba525f1","elType":"column","settings":{"_column_size":100,"_inline_size":null,"pa_condition_repeater":[]},"elements":[{"id":"26b817a","elType":"widget","settings":{"shortcode":"[formrut]","pa_condition_repeater":[]},"elements":[],"widgetType":"shortcode"},{"id":"ed8985b","elType":"widget","settings":{"title":"Formulario Contacto (Modelo)","align":"center","title_color":"#474A4B","typography_typography":"custom","typography_font_family":"Montserrat","typography_font_weight":"600","pa_condition_repeater":[]},"elements":[],"widgetType":"heading"},{"id":"990e9ca","elType":"widget","settings":{"html":"\n<!DOCTYPE html>\n<html lang=\"es\">  \n  <head>  \n    <title><\/title>    \n    <meta charset=\"UTF-8\">\n    <meta name=\"title\" content=\"\">\n    <meta name=\"description\" content=\"\">    \n    <link href=\" \" rel=\"stylesheet\" type=\"text\/css\"\/>  \n    <style>\n\/* Style inputs, select elements and textareas *\/\n\n\ninput[type=text], input[type=email], input[type=tel], select, radio, textarea, checkbox{\n  width: 100%;\n  padding: 12px;\n  border: 1px solid #ccc;\n  border-radius: 4px;\n  box-sizing: border-box;\n  resize: vertical;\n  background-color: #ffffff;\n  font-family: 'Roboto';\n  font-size: 14px;\n}\n\nlabel {font-family: 'Roboto'; font-size: 14px;}\n\ninput[type=radio] {\n    margin-left: 20px;\n    \n}\n\n\/* Style the label to display next to the inputs *\/\nlabel {\n  padding: 12px 12px 12px 12px;\n  display: inline-block;\n}\n\n\/* Style the submit button *\/\ninput[type=submit] .button#submitButton.btn.btn-primary{\n  background-color: #002457;\n  color: white;\n  padding: 12px 20px;\n  border: none;\n  border-radius: 4px;\n  cursor: pointer;\n  float: left;\n}\n\ninput[type=submit]:hover {\n  background-color: #CB4F19;\n}\n\n\/* Style the container *\/\n.container {\n  border-radius: 5px;\n  background-color: #f2f2f2;\n  padding: 20px;\n  width: 800px;\n  margin: auto;\n\n}\n\/* Floating column for labels: 50% width *\/\n.col-6 {\n  float: left;\n  width: 50%;\n  margin-top: 6px;\n  font-family: 'Roboto';\n  font-size: 14px;\n}\n\n\/* Floating column for inputs: 100% width *\/\n.col-12 {\n  float: left;\n  width: 100%;\n  margin-top: 6px;\n  font-family: 'Roboto';\n  font-size: 14px;\n}\n\n\/* Clear floats after the columns *\/\n.row:after {\n  content: \"\";\n  display: table;\n  clear: both;\n}\n\n\/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other *\/\n@media screen and (max-width: 600px) {\n  .col-6, .col-12, input[type=submit] {\n    width: 100%;\n    margin-top: 6px;\n  }\n  \n  .container {\n  width: 300px;\n  margin: auto;\n  height: 900px;\n}\n}\n<\/style> \n<script>\n    function obtenerParametrosURL() {\n        var params = {};\n        var partes = window.location.search.replace(\/[?&]+([^=&]+)=([^&]*)\/gi, function(m,key,value) {\n            params[key] = value;\n        });\n        return params;\n    }\n\n\n    window.onload = function() {\n        var params = obtenerParametrosURL();\n        document.getElementById(\"utm_source\").value = params.utm_source || '';\n        document.getElementById(\"utm_medium\").value = params.utm_medium || '';\n        document.getElementById(\"utm_campaign\").value = params.utm_campaign || '';\n        document.getElementById(\"utm_term\").value = params.utm_term || '';\n        document.getElementById(\"utm_content\").value = params.utm_content || '';\n    }\n    \n    document.getElementById('formrut').addEventListener('submit', function(event) {\n  event.preventDefault(); \/\/ Evita el env\u00edo normal del formulario\n  \n  \/\/ Obtener el valor seleccionado del radio button\n  var opciones = document.getElementsByName('codeudor');\n  var opcionSeleccionada = '';\n  for (var i = 0; i < opciones.length; i++) {\n    if (opciones[i].checked) {\n      opcionSeleccionada = opciones[i].value;\n      break;\n    }\n  }\n    \n    \n<\/script>\n\n\n  <\/head> \n \n  <body>\n \n    <div class=\"container\">\n        \n<form id=\"formrut\" method=\"post\" >\n     \n<input type=\"hidden\" id=\"utm_source\" name=\"utm_source\">\n<input type=\"hidden\" id=\"utm_medium\" name=\"utm_medium\">\n<input type=\"hidden\" id=\"utm_campaign\" name=\"utm_campaign\">\n<input type=\"hidden\" id=\"utm_term\" name=\"utm_term\">\n<input type=\"hidden\" id=\"utm_content\" name=\"utm_content\">\n\n\n  <div class=\"alert alert-success\" style=\"display: none;\" role=\"alert\">\n  This is a success alert\u2014check it out!\n<\/div>\n\n <input class = \"form-control\" style=\"width:25%;\" type=\"hidden\" id=\"medios\" value=\"prueba medio\">\n\n    <input class = \"form-control\" style=\"width:25%;\" type=\"hidden\" id=\"otros\" value=\"prueba otro\">\n\n      <input class = \"form-control\" style=\"width:25%;\" type=\"hidden\" id=\"proyecto\" value=\"las pataguas\">\n\n\n\n    <div class=\"row\">\n      <div class=\"col-6\">\n        <label style=\"display:none;\" for=\"nombre\">Nombre<\/label>\n        <input type=\"text\" id=\"nombre\" name=\"nombre\" required placeholder=\"Nombre\">\n      <\/div>\n      <div class=\"col-6\">\n        <label style=\"display:none;\" for=\"apellido\">Apellido<\/label>\n        <input type=\"text\" id=\"apellido\" name=\"apellido\" required placeholder=\"Apellido\">\n      <\/div>\n    <\/div>\n\n    <div class=\"row\">\n      <div class=\"col-12\">\n        <label style=\"display:none;\" for=\"correo\">Correo electr\u00f3nico<\/label>\n        <input type=\"email\" id=\"correo\" name=\"correo\" pattern=\"[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*@[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)*[.][a-zA-Z]{1,5}\" required placeholder=\"Correo electr\u00f3nico\">\n      <\/div>\n    <\/div>\n    \n     <div class=\"row\">\n      <div class=\"col-12\">\n        <label style=\"display:none;\" for=\"telefono\">Telefono<\/label>\n        <input type=\"tel\" id=\"telefono\" name=\"telefono\" pattern=\"[0-9]{9}\" required placeholder=\"Tel\u00e9fono (formato 9XXXXXXXX)\">\n      <\/div>\n    <\/div>\n    \n      <div class=\"row\">\n      <div class=\"col-12\">\n        <label style=\"display:none;\" for=\"rut\">Rut<\/label>\n        <input type=\"text\"  id=\"rut\" name=\"rut\" required oninput=\"checkRut(this)\" placeholder=\"Ingrese RUT\">\n      <\/div>\n      <div style=\"width:25%;\" class = \"form-control\" id=\"interior\"><\/div>\n    <\/div>\n    \n     <div class=\"row\">\n      <div class=\"col-12\">\n        <label for=\"comuna\">Comuna<\/label>\n        <select id=\"comuna\" name=\"comuna\" required >\n          <option value=\"\">Elige tu Comuna<\/option>\n          \n            <option value=\"Algarrobo\">Algarrobo<\/option>\n            <option value=\"Alhu\u00e9\">Alhu\u00e9<\/option>\n            <option value=\"Alto Biob\u00edo\">Alto Biob\u00edo<\/option>\n            <option value=\"Alto del Carmen\">Alto del Carmen<\/option>\n            <option value=\"Alto Hospicio\">Alto Hospicio<\/option>\n            <option value=\"Ancud\">Ancud<\/option>\n            <option value=\"Andacollo\">Andacollo<\/option>\n            <option value=\"Angol\">Angol<\/option>\n            <option value=\"Ant\u00e1rtica\">Ant\u00e1rtica<\/option>\n            <option value=\"Antofagasta\">Antofagasta<\/option>\n            <option value=\"Antuco\">Antuco<\/option>\n            <option value=\"Arauco\">Arauco<\/option>\n            <option value=\"Arica\">Arica<\/option>\n            <option value=\"Ays\u00e9n\">Ays\u00e9n<\/option>\n            <option value=\"Buin\">Buin<\/option>\n            <option value=\"Bulnes\">Bulnes<\/option>\n            <option value=\"Cabildo\">Cabildo<\/option>\n            <option value=\"Cabo de Hornos\">Cabo de Hornos<\/option>\n            <option value=\"Cabrero\">Cabrero<\/option>\n            <option value=\"Calama\">Calama<\/option>\n            <option value=\"Calbuco\">Calbuco<\/option>\n            <option value=\"Caldera\">Caldera<\/option>\n            <option value=\"Calera de Tango\">Calera de Tango<\/option>\n            <option value=\"Calle Larga\">Calle Larga<\/option>\n            <option value=\"Camarones\">Camarones<\/option>\n            <option value=\"Cami\u00f1a\">Cami\u00f1a<\/option>\n            <option value=\"Canela\">Canela<\/option>\n            <option value=\"Ca\u00f1ete\">Ca\u00f1ete<\/option>\n            <option value=\"Carahue\">Carahue<\/option>\n            <option value=\"Cartagena\">Cartagena<\/option>\n            <option value=\"Casablanca\">Casablanca<\/option>\n            <option value=\"Castro\">Castro<\/option>\n            <option value=\"Catemu\">Catemu<\/option>\n            <option value=\"Cauquenes\">Cauquenes<\/option>\n            <option value=\"Cerrillos\">Cerrillos<\/option>\n            <option value=\"Cerro Navia\">Cerro Navia<\/option>\n            <option value=\"Chait\u00e9n\">Chait\u00e9n<\/option>\n            <option value=\"Chanco\">Chanco<\/option>\n            <option value=\"Cha\u00f1aral\">Cha\u00f1aral<\/option>\n            <option value=\"Ch\u00e9pica\">Ch\u00e9pica<\/option>\n            <option value=\"Chiguayante\">Chiguayante<\/option>\n            <option value=\"Chile Chico\">Chile Chico<\/option>\n            <option value=\"Chill\u00e1n\">Chill\u00e1n<\/option>\n            <option value=\"Chill\u00e1n Viejo\">Chill\u00e1n Viejo<\/option>\n            <option value=\"Chimbarongo\">Chimbarongo<\/option>\n            <option value=\"Cholchol\">Cholchol<\/option>\n            <option value=\"Chonchi\">Chonchi<\/option>\n            <option value=\"Cisnes\">Cisnes<\/option>\n            <option value=\"Cobquecura\">Cobquecura<\/option>\n            <option value=\"Cocham\u00f3\">Cocham\u00f3<\/option>\n            <option value=\"Cochrane\">Cochrane<\/option>\n            <option value=\"Codegua\">Codegua<\/option>\n            <option value=\"Coelemu\">Coelemu<\/option>\n            <option value=\"Coihueco\">Coihueco<\/option>\n            <option value=\"Coinco\">Coinco<\/option>\n            <option value=\"Colb\u00fan\">Colb\u00fan<\/option>\n            <option value=\"Colchane\">Colchane<\/option>\n            <option value=\"Colina\">Colina<\/option>\n            <option value=\"Collipulli\">Collipulli<\/option>\n            <option value=\"Coltauco\">Coltauco<\/option>\n            <option value=\"Combarbal\u00e1\">Combarbal\u00e1<\/option>\n            <option value=\"Concepci\u00f3n\">Concepci\u00f3n<\/option>\n            <option value=\"Conchal\u00ed\">Conchal\u00ed<\/option>\n            <option value=\"Conc\u00f3n\">Conc\u00f3n<\/option>\n            <option value=\"Constituci\u00f3n\">Constituci\u00f3n<\/option>\n            <option value=\"Contulmo\">Contulmo<\/option>\n            <option value=\"Copiap\u00f3\">Copiap\u00f3<\/option>\n            <option value=\"Coquimbo\">Coquimbo<\/option>\n            <option value=\"Coronel\">Coronel<\/option>\n            <option value=\"Corral\">Corral<\/option>\n            <option value=\"Coyhaique\">Coyhaique<\/option>\n            <option value=\"Cunco\">Cunco<\/option>\n            <option value=\"Curacaut\u00edn\">Curacaut\u00edn<\/option>\n            <option value=\"Curacav\u00ed\">Curacav\u00ed<\/option>\n            <option value=\"Curaco de V\u00e9lez\">Curaco de V\u00e9lez<\/option>\n            <option value=\"Curanilahue\">Curanilahue<\/option>\n            <option value=\"Curarrehue\">Curarrehue<\/option>\n            <option value=\"Curepto\">Curepto<\/option>\n            <option value=\"Curic\u00f3\">Curic\u00f3<\/option>\n            <option value=\"Dalcahue\">Dalcahue<\/option>\n            <option value=\"Diego de Almagro\">Diego de Almagro<\/option>\n            <option value=\"Do\u00f1ihue\">Do\u00f1ihue<\/option>\n            <option value=\"El Bosque\">El Bosque<\/option>\n            <option value=\"El Carmen\">El Carmen<\/option>\n            <option value=\"El Monte\">El Monte<\/option>\n            <option value=\"El Quisco\">El Quisco<\/option>\n            <option value=\"El Tabo\">El Tabo<\/option>\n            <option value=\"Empedrado\">Empedrado<\/option>\n            <option value=\"Ercilla\">Ercilla<\/option>\n            <option value=\"Estaci\u00f3n Central\">Estaci\u00f3n Central<\/option>\n            <option value=\"Florida\">Florida<\/option>\n            <option value=\"Freire\">Freire<\/option>\n            <option value=\"Freirina\">Freirina<\/option>\n            <option value=\"Fresia\">Fresia<\/option>\n            <option value=\"Frutillar\">Frutillar<\/option>\n            <option value=\"Futaleuf\u00fa\">Futaleuf\u00fa<\/option>\n            <option value=\"Futrono\">Futrono<\/option>\n            <option value=\"Galvarino\">Galvarino<\/option>\n            <option value=\"General Lagos\">General Lagos<\/option>\n            <option value=\"Gorbea\">Gorbea<\/option>\n            <option value=\"Graneros\">Graneros<\/option>\n            <option value=\"Guaitecas\">Guaitecas<\/option>\n            <option value=\"Hijuelas\">Hijuelas<\/option>\n            <option value=\"Hualaihu\u00e9\">Hualaihu\u00e9<\/option>\n            <option value=\"Huala\u00f1e\">Huala\u00f1e<\/option>\n            <option value=\"Hualp\u00e9n\">Hualp\u00e9n<\/option>\n            <option value=\"Hualqui\">Hualqui<\/option>\n            <option value=\"Huara\">Huara<\/option>\n            <option value=\"Huasco\">Huasco<\/option>\n            <option value=\"Huechuraba\">Huechuraba<\/option>\n            <option value=\"Illapel\">Illapel<\/option>\n            <option value=\"Independencia\">Independencia<\/option>\n            <option value=\"Iquique\">Iquique<\/option>\n            <option value=\"Isla de Maipo\">Isla de Maipo<\/option>\n            <option value=\"Isla de Pascua\">Isla de Pascua<\/option>\n            <option value=\"Juan Fern\u00e1ndez\">Juan Fern\u00e1ndez<\/option>\n            <option value=\"La Calera\">La Calera<\/option>\n            <option value=\"La Cisterna\">La Cisterna<\/option>\n            <option value=\"La Cruz\">La Cruz<\/option>\n            <option value=\"La Estrella\">La Estrella<\/option>\n            <option value=\"La Florida\">La Florida<\/option>\n            <option value=\"La Granja\">La Granja<\/option>\n            <option value=\"La Higuera\">La Higuera<\/option>\n            <option value=\"La Ligua\">La Ligua<\/option>\n            <option value=\"La Pintana\">La Pintana<\/option>\n            <option value=\"La Reina\">La Reina<\/option>\n            <option value=\"La Serena\">La Serena<\/option>\n            <option value=\"La Uni\u00f3n\">La Uni\u00f3n<\/option>\n            <option value=\"Lago Ranco\">Lago Ranco<\/option>\n            <option value=\"Lago Verde\">Lago Verde<\/option>\n            <option value=\"Laguna Blanca\">Laguna Blanca<\/option>\n            <option value=\"Laja\">Laja<\/option>\n            <option value=\"Lampa\">Lampa<\/option>\n            <option value=\"Lanco\">Lanco<\/option>\n            <option value=\"Las Cabras\">Las Cabras<\/option>\n            <option value=\"Las Condes\">Las Condes<\/option>\n            <option value=\"Lautaro\">Lautaro<\/option>\n            <option value=\"Lebu\">Lebu<\/option>\n            <option value=\"Licant\u00e9n\">Licant\u00e9n<\/option>\n            <option value=\"Limache\">Limache<\/option>\n            <option value=\"Linares\">Linares<\/option>\n            <option value=\"Litueche\">Litueche<\/option>\n            <option value=\"Llaillay\">Llaillay<\/option>\n            <option value=\"Llanquihue\">Llanquihue<\/option>\n            <option value=\"Lo Barnechea\">Lo Barnechea<\/option>\n            <option value=\"Lo Espejo\">Lo Espejo<\/option>\n            <option value=\"Lo Prado\">Lo Prado<\/option>\n            <option value=\"Lolol\">Lolol<\/option>\n            <option value=\"Loncoche\">Loncoche<\/option>\n            <option value=\"Longav\u00ed\">Longav\u00ed<\/option>\n            <option value=\"Lonquimay\">Lonquimay<\/option>\n            <option value=\"Los \u00c1lamos\">Los \u00c1lamos<\/option>\n            <option value=\"Los Andes\">Los Andes<\/option>\n            <option value=\"Los \u00c1ngeles\">Los \u00c1ngeles<\/option>\n            <option value=\"Los Lagos\">Los Lagos<\/option>\n            <option value=\"Los Muermos\">Los Muermos<\/option>\n            <option value=\"Los Sauces\">Los Sauces<\/option>\n            <option value=\"Los Vilos\">Los Vilos<\/option>\n            <option value=\"Lota\">Lota<\/option>\n            <option value=\"Lumaco\">Lumaco<\/option>\n            <option value=\"Machal\u00ed\">Machal\u00ed<\/option>\n            <option value=\"Macul\">Macul<\/option>\n            <option value=\"M\u00e1fil\">M\u00e1fil<\/option>\n            <option value=\"Maip\u00fa\">Maip\u00fa<\/option>\n            <option value=\"Malloa\">Malloa<\/option>\n            <option value=\"Marchihue\">Marchihue<\/option>\n            <option value=\"Mar\u00eda Elena\">Mar\u00eda Elena<\/option>\n            <option value=\"Mar\u00eda Pinto\">Mar\u00eda Pinto<\/option>\n            <option value=\"Mariquina\">Mariquina<\/option>\n            <option value=\"Maule\">Maule<\/option>\n            <option value=\"Maull\u00edn\">Maull\u00edn<\/option>\n            <option value=\"Mejillones\">Mejillones<\/option>\n            <option value=\"Melipeuco\">Melipeuco<\/option>\n            <option value=\"Melipilla\">Melipilla<\/option>\n            <option value=\"Molina\">Molina<\/option>\n            <option value=\"Monte Patria\">Monte Patria<\/option>\n            <option value=\"Mostazal\">Mostazal<\/option>\n            <option value=\"Mulch\u00e9n\">Mulch\u00e9n<\/option>\n            <option value=\"Nacimiento\">Nacimiento<\/option>\n            <option value=\"Nancagua\">Nancagua<\/option>\n            <option value=\"Natales\">Natales<\/option>\n            <option value=\"Navidad\">Navidad<\/option>\n            <option value=\"Negrete\">Negrete<\/option>\n            <option value=\"Ninhue\">Ninhue<\/option>\n            <option value=\"Nogales\">Nogales<\/option>\n            <option value=\"Nueva Imperial\">Nueva Imperial<\/option>\n            <option value=\"\u00d1iqu\u00e9n\">\u00d1iqu\u00e9n<\/option>\n            <option value=\"\u00d1u\u00f1oa\">\u00d1u\u00f1oa<\/option>\n            <option value=\"O'Higgins\">O'Higgins<\/option>\n            <option value=\"Olivar\">Olivar<\/option>\n            <option value=\"Ollag\u00fce\">Ollag\u00fce<\/option>\n            <option value=\"Olmu\u00e9\">Olmu\u00e9<\/option>\n            <option value=\"Osorno\">Osorno<\/option>\n            <option value=\"Ovalle\">Ovalle<\/option>\n            <option value=\"Padre Hurtado\">Padre Hurtado<\/option>\n            <option value=\"Padre Las Casas\">Padre Las Casas<\/option>\n            <option value=\"Paihuano\">Paihuano<\/option>\n            <option value=\"Paillaco\">Paillaco<\/option>\n            <option value=\"Paine\">Paine<\/option>\n            <option value=\"Palena\">Palena<\/option>\n            <option value=\"Palmilla\">Palmilla<\/option>\n            <option value=\"Panguipulli\">Panguipulli<\/option>\n            <option value=\"Panquehue\">Panquehue<\/option>\n            <option value=\"Papudo\">Papudo<\/option>\n            <option value=\"Paredones\">Paredones<\/option>\n            <option value=\"Parral\">Parral<\/option>\n            <option value=\"Pedro Aguirre Cerda\">Pedro Aguirre Cerda<\/option>\n            <option value=\"Pelarco\">Pelarco<\/option>\n            <option value=\"Pelluhue\">Pelluhue<\/option>\n            <option value=\"Pemuco\">Pemuco<\/option>\n            <option value=\"Pencahue\">Pencahue<\/option>\n            <option value=\"Penco\">Penco<\/option>\n            <option value=\"Pe\u00f1aflor\">Pe\u00f1aflor<\/option>\n            <option value=\"Pe\u00f1alol\u00e9n\">Pe\u00f1alol\u00e9n<\/option>\n            <option value=\"Peralillo\">Peralillo<\/option>\n            <option value=\"Perquenco\">Perquenco<\/option>\n            <option value=\"Petorca\">Petorca<\/option>\n            <option value=\"Peumo\">Peumo<\/option>\n            <option value=\"Pica\">Pica<\/option>\n            <option value=\"Pichidegua\">Pichidegua<\/option>\n            <option value=\"Pichilemu\">Pichilemu<\/option>\n            <option value=\"Pinto\">Pinto<\/option>\n            <option value=\"Pirque\">Pirque<\/option>\n            <option value=\"Pitrufqu\u00e9n\">Pitrufqu\u00e9n<\/option>\n            <option value=\"Placilla\">Placilla<\/option>\n            <option value=\"Portezuelo\">Portezuelo<\/option>\n            <option value=\"Porvenir\">Porvenir<\/option>\n            <option value=\"Pozo Almonte\">Pozo Almonte<\/option>\n            <option value=\"Primavera\">Primavera<\/option>\n            <option value=\"Providencia\">Providencia<\/option>\n            <option value=\"Puchuncav\u00ed\">Puchuncav\u00ed<\/option>\n            <option value=\"Puc\u00f3n\">Puc\u00f3n<\/option>\n            <option value=\"Pudahuel\">Pudahuel<\/option>\n            <option value=\"Puente Alto\">Puente Alto<\/option>\n            <option value=\"Puerto Montt\">Puerto Montt<\/option>\n            <option value=\"Puerto Octay\">Puerto Octay<\/option>\n            <option value=\"Puerto Varas\">Puerto Varas<\/option>\n            <option value=\"Pumanque\">Pumanque<\/option>\n            <option value=\"Punitaqui\">Punitaqui<\/option>\n            <option value=\"Punta Arenas\">Punta Arenas<\/option>\n            <option value=\"Puqueld\u00f3n\">Puqueld\u00f3n<\/option>\n            <option value=\"Pur\u00e9n\">Pur\u00e9n<\/option>\n            <option value=\"Purranque\">Purranque<\/option>\n            <option value=\"Putaendo\">Putaendo<\/option>\n            <option value=\"Putre\">Putre<\/option>\n            <option value=\"Puyehue\">Puyehue<\/option>\n            <option value=\"Queil\u00e9n\">Queil\u00e9n<\/option>\n            <option value=\"Quell\u00f3n\">Quell\u00f3n<\/option>\n            <option value=\"Quemchi\">Quemchi<\/option>\n            <option value=\"Quilaco\">Quilaco<\/option>\n            <option value=\"Quilicura\">Quilicura<\/option>\n            <option value=\"Quilleco\">Quilleco<\/option>\n            <option value=\"Quill\u00f3n\">Quill\u00f3n<\/option>\n            <option value=\"Quillota\">Quillota<\/option>\n            <option value=\"Quilpu\u00e9\">Quilpu\u00e9<\/option>\n            <option value=\"Quinchao\">Quinchao<\/option>\n            <option value=\"Quinta de Tilcoco\">Quinta de Tilcoco<\/option>\n            <option value=\"Quinta Normal\">Quinta Normal<\/option>\n            <option value=\"Quintero\">Quintero<\/option>\n            <option value=\"Quirihue\">Quirihue<\/option>\n            <option value=\"Rancagua\">Rancagua<\/option>\n            <option value=\"R\u00e1nquil\">R\u00e1nquil<\/option>\n            <option value=\"Rauco\">Rauco<\/option>\n            <option value=\"Recoleta\">Recoleta<\/option>\n            <option value=\"Renaico\">Renaico<\/option>\n            <option value=\"Renca\">Renca<\/option>\n            <option value=\"Rengo\">Rengo<\/option>\n            <option value=\"Requinoa\">Requinoa<\/option>\n            <option value=\"Retiro\">Retiro<\/option>\n            <option value=\"Rinconada\">Rinconada<\/option>\n            <option value=\"R\u00edo Bueno\">R\u00edo Bueno<\/option>\n            <option value=\"R\u00edo Claro\">R\u00edo Claro<\/option>\n            <option value=\"R\u00edo Hurtado\">R\u00edo Hurtado<\/option>\n            <option value=\"R\u00edo Ib\u00e1\u00f1ez\">R\u00edo Ib\u00e1\u00f1ez<\/option>\n            <option value=\"R\u00edo Negro\">R\u00edo Negro<\/option>\n            <option value=\"R\u00edo Verde\">R\u00edo Verde<\/option>\n            <option value=\"Romeral\">Romeral<\/option>\n            <option value=\"Saavedra\">Saavedra<\/option>\n            <option value=\"Sagrada Familia\">Sagrada Familia<\/option>\n            <option value=\"Salamanca\">Salamanca<\/option>\n            <option value=\"San Antonio\">San Antonio<\/option>\n            <option value=\"San Bernardo\">San Bernardo<\/option>\n            <option value=\"San Carlos\">San Carlos<\/option>\n            <option value=\"San Clemente\">San Clemente<\/option>\n            <option value=\"San Esteban\">San Esteban<\/option>\n            <option value=\"San Fabi\u00e1n\">San Fabi\u00e1n<\/option>\n            <option value=\"San Felipe\">San Felipe<\/option>\n            <option value=\"San Fernando\">San Fernando<\/option>\n            <option value=\"San Gregorio\">San Gregorio<\/option>\n            <option value=\"San Ignacio\">San Ignacio<\/option>\n            <option value=\"San Javier\">San Javier<\/option>\n            <option value=\"San Joaqu\u00edn\">San Joaqu\u00edn<\/option>\n            <option value=\"San Jos\u00e9 de Maipo\">San Jos\u00e9 de Maipo<\/option>\n            <option value=\"San Juan de la Costa\">San Juan de la Costa<\/option>\n            <option value=\"San Miguel\">San Miguel<\/option>\n            <option value=\"San Nicol\u00e1s\">San Nicol\u00e1s<\/option>\n            <option value=\"San Pablo\">San Pablo<\/option>\n            <option value=\"San Pedro\">San Pedro<\/option>\n            <option value=\"San Pedro de Atacama\">San Pedro de Atacama<\/option>\n            <option value=\"San Pedro de la Paz\">San Pedro de la Paz<\/option>\n            <option value=\"San Rafael\">San Rafael<\/option>\n            <option value=\"San Ram\u00f3n\">San Ram\u00f3n<\/option>\n            <option value=\"San Rosendo\">San Rosendo<\/option>\n            <option value=\"San Vicente\">San Vicente<\/option>\n            <option value=\"Santa B\u00e1rbara\">Santa B\u00e1rbara<\/option>\n            <option value=\"Santa Cruz\">Santa Cruz<\/option>\n            <option value=\"Santa Juana\">Santa Juana<\/option>\n            <option value=\"Santa Mar\u00eda\">Santa Mar\u00eda<\/option>\n            <option value=\"Santiago\">Santiago<\/option>\n            <option value=\"Santo Domingo\">Santo Domingo<\/option>\n            <option value=\"Sierra Gorda\">Sierra Gorda<\/option>\n            <option value=\"Talagante\">Talagante<\/option>\n            <option value=\"Talca\">Talca<\/option>\n            <option value=\"Talcahuano\">Talcahuano<\/option>\n            <option value=\"Taltal\">Taltal<\/option>\n            <option value=\"Temuco\">Temuco<\/option>\n            <option value=\"Teno\">Teno<\/option>\n            <option value=\"Teodoro Schmidt\">Teodoro Schmidt<\/option>\n            <option value=\"Tierra Amarilla\">Tierra Amarilla<\/option>\n            <option value=\"Tiltil\">Tiltil<\/option>\n            <option value=\"Timaukel\">Timaukel<\/option>\n            <option value=\"Tir\u00faa\">Tir\u00faa<\/option>\n            <option value=\"Tocopilla\">Tocopilla<\/option>\n            <option value=\"Tolt\u00e9n\">Tolt\u00e9n<\/option>\n            <option value=\"Tom\u00e9\">Tom\u00e9<\/option>\n            <option value=\"Torres del Paine\">Torres del Paine<\/option>\n            <option value=\"Tortel\">Tortel<\/option>\n            <option value=\"Traigu\u00e9n\">Traigu\u00e9n<\/option>\n            <option value=\"Treguaco\">Treguaco<\/option>\n            <option value=\"Tucapel\">Tucapel<\/option>\n            <option value=\"Valdivia\">Valdivia<\/option>\n            <option value=\"Vallenar\">Vallenar<\/option>\n            <option value=\"Valpara\u00edso\">Valpara\u00edso<\/option>\n            <option value=\"Vichuqu\u00e9n\">Vichuqu\u00e9n<\/option>\n            <option value=\"Victoria\">Victoria<\/option>\n            <option value=\"Vicu\u00f1a\">Vicu\u00f1a<\/option>\n            <option value=\"Vilc\u00fan\">Vilc\u00fan<\/option>\n            <option value=\"Villa Alegre\">Villa Alegre<\/option>\n            <option value=\"Villa Alemana\">Villa Alemana<\/option>\n            <option value=\"Villarrica\">Villarrica<\/option>\n            <option value=\"Vi\u00f1a del Mar\">Vi\u00f1a del Mar<\/option>\n            <option value=\"Vitacura\">Vitacura<\/option>\n            <option value=\"Yerbas Buenas\">Yerbas Buenas<\/option>\n            <option value=\"Yumbel\">Yumbel<\/option>\n            <option value=\"Yungay\">Yungay<\/option>\n            <option value=\"Zapallar\">Zapallar<\/option>\n        <\/select>\n      <\/div>\n    <\/div>\n\n    <div class=\"row\">\n      <div class=\"col-12\">\n        <label style=\"display:none;\" for=\"ingreso\">Ingreso<\/label>\n        <select id=\"ingreso\" name=\"ingreso\" required>\n          <option value=\"\">\u00bfCu\u00e1l es tu ingreso mensual l\u00edquido?<\/option>\n            <option value=\"Menos de $500.000\">Menos de $500.000<\/option>\n            <option value=\"$500.000 a $800.000\">$500.000 a $800.000<\/option>\n            <option value=\"$800.000 a $1.100.000\">$800.000 a $1.100.000<\/option>\n            <option value=\"$1.100.000 a $1.300.000\">$1.100.000 a $1.300.000<\/option>\n            <option value=\"$1.300.000 a $1.600.000\">$1.300.000 a $1.600.000<\/option>\n            <option value=\"$1.600.000 o m\u00e1s\">$1.600.000 o m\u00e1s<\/option>\n        <\/select>\n      <\/div>\n    <\/div>\n    \n  \n    <div class=\"row\">\n      <div class=\"col-12\">\n        <span>\u00bfTienes codeudor?<\/span>\n        <input type=\"radio\" id=\"radiosi\" name=\"codeudor\" value=\"si\" required>\n        <label for=\"codeudorsi\">SI<\/label>\n        \n        <input type=\"radio\" id=\"radiono\" name=\"codeudor\" value=\"no\" required>\n        <label for=\"codeudorno\">NO<\/label>\n        \n      <\/div>\n    <\/div>\n  \n\n\n    <div class=\"row\">\n      <div class=\"col-12\">\n        <label style=\"display:none;\" for=\"rsh\">RSH<\/label>\n        <select id=\"rsh\" name=\"rsh\" required>\n          <option value=\"\">\u00bfTienes Registro Social de Hogares?<\/option>\n            <option value=\"si\">SI<\/option>\n            <option value=\"no\">NO<\/option>\n        <\/select>\n      <\/div>\n      \n     \n\n    <\/div>\n\n\n     <div class=\"row\">\n      <div class=\"col-12\">\n        <label style=\"display:none;\" for=\"mensaje\">Mensaje<\/label>\n        <textarea id=\"mensaje\" name=\"mensaje\" placeholder=\"\u00bfC\u00f3mo podemos ayudarte?\" style=\"height:200px\" required><\/textarea>\n      <\/div>\n     <\/div>\n\n      <div class=\"row\">\n      <div class=\"col-12\">\n        <input type=\"checkbox\" id=\"politicas\" name=\"politicas\" value=\"aceptar\" required>\n        <label for=\"politicas\">Acepto los T\u00e9rminos de <a href=\"\" target=\"_blank\">Pol\u00edticas de Privacidad<\/a><\/label>\n      <\/div>\n     <\/div>\n\n    \n    <div class=\"row\">\n     <button class=\"btn btn-primary\" id=\"submitButton\" onclick=\"formrut()\" disabled=\"disabled\">Enviar<\/button>\n    <\/div>\n\n  <\/form>\n<\/div>\n\n<script>\n\n\nfunction checkRut(rut) {\n\n    var valor = rut.value.replace('.','');\n    \/\/ Despejar Gui\u00f3n\n    valor = valor.replace('-','');\n    \n    \/\/ Aislar Cuerpo y D\u00edgito Verificador\n    cuerpo = valor.slice(0,-1);\n    dv = valor.slice(-1).toUpperCase();\n    \n    \/\/ Formatear RUN\n    rut.value = cuerpo + '-'+ dv\n    \n    \/\/ Si no cumple con el m\u00ednimo ej. (n.nnn.nnn)\n    if(cuerpo.length < 7) { \n    \tdocument.getElementById('submitButton').disabled = true;\n    \tdocument.getElementById(\"interior\").innerHTML = \"RUT incompleto\";\n\n\n    }\n    else\n    {\n    \tdocument.getElementById('submitButton').disabled = false;\n    }\n    \n    \/\/ Calcular D\u00edgito Verificador\n    suma = 0;\n    multiplo = 2;\n    \n    \/\/ Para cada d\u00edgito del Cuerpo\n    for(i=1;i<=cuerpo.length;i++) {\n    \n        \/\/ Obtener su Producto con el M\u00faltiplo Correspondiente\n        index = multiplo * valor.charAt(cuerpo.length - i);\n        \n        \/\/ Sumar al Contador General\n        suma = suma + index;\n        \n        \/\/ Consolidar M\u00faltiplo dentro del rango [2,7]\n        if(multiplo < 7) { multiplo = multiplo + 1; } else { multiplo = 2; }\n  \n    }\n    \n    \/\/ Calcular D\u00edgito Verificador en base al M\u00f3dulo 11\n    dvEsperado = 11 - (suma % 11);\n    \n    \/\/ Casos Especiales (0 y K)\n    dv = (dv == 'K')?10:dv;\n    dv = (dv == 0)?11:dv;\n    \n    \/\/ Validar que el Cuerpo coincide con su D\u00edgito Verificador\n    if(dvEsperado != dv) { \n    \tdocument.getElementById('submitButton').disabled = true;\n    \tdocument.getElementById(\"interior\").innerHTML = \"<p style='background-color:red;color:white;text-align:center;width:140px;font-family:Roboto;font-size:14px;'>RUT Inv\u00e1lido<\/p>\";\n    }else\n    {\n    \tdocument.getElementById('submitButton').disabled = false;\n    \tdocument.getElementById(\"interior\").innerHTML = \"\";\n    }\n     \n     \n}\n\n\n\n<\/script>\n\n\n\n  <\/body>  \n<\/html>\n\n\n","pa_condition_repeater":[],"_element_width_tablet":"initial","_element_custom_width_tablet":{"unit":"px","size":513}},"elements":[],"widgetType":"html"}],"isInner":false}],"isInner":false}]