function getIP(json) { document.getElementById("ip").value = json.ip } var fieldsNmNjNTNlMzgMjYNjdmYTcMjhhMDEMjBmZjhiZjE = []; var strform = '{"class":[],"styles":[],"css":[{"name":".iti{width: 100%;margin-top: -25px;margin-bottom: 15px;}.container-vN55bQGB57{margin: 0 auto;width: 100%;padding: 0 15px;}.container-vN55bQGB57 .title-vN55bQGB57{font-size: 30px;line-height: 36px;font-weight: 700;margin: 15px 0;text-align: center;font-family: Segoe UI;}.container-vN55bQGB57 .form-vN55bQGB57{background-color:#fff;padding: 5px 10px;border-radius: 30px;font-family: Segoe UI;}.container-vN55bQGB57 .col-12-vN55bQGB57{position: relative;width: 100%;min-height: 1px;margin-bottom:15px;}.container-vN55bQGB57 .label-vN55bQGB57{display: inline-block;margin-bottom: .5rem;}.container-vN55bQGB57 .btn-vN55bQGB57{display:block;margin:0 auto;background-color:#1f648b;color:#fff;border-radius:0;border:0;padding:10px 35px;outline:none;}.container-vN55bQGB57 .textarea-vN55bQGB57{resize:none;border:1px solid #aaa;border-radius:15px;outline:none;color:darkgray;background-color:#fff;}.container-vN55bQGB57 .input-vN55bQGB57{height:40px;width:100%;padding:0 20px;border: 1px solid #aaa;border-radius:50px;color:darkgray!important;outline:none;}.container-vN55bQGB57 .g-recaptcha{display:flex;justify-content:center;}"}],"old_css":[{"name":".iti{width: 100%;margin-top: -25px;margin-bottom: 15px;}.container-vN55bQGB57{margin: 0 auto;width: 100%;padding: 0 15px;}.container-vN55bQGB57 .title-vN55bQGB57{font-size: 30px;line-height: 36px;font-weight: 700;margin: 15px 0;text-align: center;font-family: Segoe UI;}.container-vN55bQGB57 .form-vN55bQGB57{background-color:#fff;padding: 5px 10px;border-radius: 30px;font-family: Segoe UI;}.container-vN55bQGB57 .col-12-vN55bQGB57{position: relative;width: 100%;min-height: 1px;margin-bottom:15px;}.container-vN55bQGB57 .label-vN55bQGB57{display: inline-block;margin-bottom: .5rem;}.container-vN55bQGB57 .btn-vN55bQGB57{display:block;margin:0 auto;background-color:#1f648b;color:#fff;border-radius:0;border:0;padding:10px 35px;outline:none;}.container-vN55bQGB57 .textarea-vN55bQGB57{resize:none;border:1px solid #aaa;border-radius:15px;outline:none;color:darkgray;background-color:#fff;}.container-vN55bQGB57 .input-vN55bQGB57{height:40px;width:100%;padding:0 20px;border: 1px solid #aaa;border-radius:50px;color:darkgray!important;outline:none;}.container-vN55bQGB57 .g-recaptcha{display:flex;justify-content:center;}"}]}' var attributesForm = JSON.parse(strform) var meta = document.createElement('meta'); meta.name = "csrf-token"; meta.content = "0h3DRhCMNPdxJJeKuo4J91Ctk1MNXmjrHKghXU7U"; document.getElementsByTagName('head')[0].appendChild(meta); var element = document.getElementById("uxyX9nubzL0xd87") element.setAttribute("class", "container-vN55bQGB57 row col-md-12 justify-content-center") element.setAttribute("style", "background-color: #ededed") element.setAttribute("id", "NmNjNTNlMzgMjYNjdmYTcMjhhMDEMjBmZjhiZjE") var div = document.createElement("div") div.setAttribute("class", "col-md-12 text-center") var scriptNational = document.createElement("script") scriptNational.setAttribute("src","https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/intlTelInput.min.js") scriptNational.defer = true scriptNational.async = true var styleNational = document.createElement("link") styleNational.setAttribute("rel","stylesheet") styleNational.setAttribute("href","https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/css/intlTelInput.css") var title = document.createElement("H2") title.setAttribute("class","title-vN55bQGB57 ") var elem = document.createTextNode("Contacta a un especialista") title.appendChild(elem) div.appendChild(title) element.appendChild(div) element.appendChild(scriptNational) element.appendChild(styleNational) //element.appendChild(customCss) var style = document.createElement('STYLE') var css = "" attributesForm.css.forEach(function (value) { css = css + value.name + " " }) style.innerHTML = css; div.appendChild(style) var form = document.createElement("FORM") var classes = "form-vN55bQGB57" attributesForm.class.forEach( function (value) { classes = classes + value.name + " " }) form.setAttribute("class", classes) var styless = "" attributesForm.styles.forEach( function (value) { styless = styless + value.name + " " }) form.setAttribute("style",styless) form.setAttribute("id","form-NmNjNTNlMzgMjYNjdmYTcMjhhMDEMjBmZjhiZjE") form.setAttribute("method","get") form.setAttribute("action","https://forms.woobsing.co/registerForm") form.setAttribute("autocomplete", "off") form.setAttribute("autocapitalize", "off") form.setAttribute("name", "form-NmNjNTNlMzgMjYNjdmYTcMjhhMDEMjBmZjhiZjE") var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "id") x.setAttribute("value", "3Jsopv8G45FW4Gu") form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "client_name") x.setAttribute("value", "El Libertador") form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "_token") x.setAttribute("value", "0h3DRhCMNPdxJJeKuo4J91Ctk1MNXmjrHKghXU7U") form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "latitude") x.setAttribute("id", "latitude") x.setAttribute("value", "") form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "longitude") x.setAttribute("id", "longitude") x.setAttribute("value", "") form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "ip") x.setAttribute("id", "ip") x.setAttribute("value", "") form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "host") x.setAttribute("id", "host") x.setAttribute("value", window.location.href) form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "notifications") x.setAttribute("id", "notifications") x.setAttribute("value", "false") form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "navigator") x.setAttribute("id", "navigator") x.setAttribute("value", "") form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "isp") x.setAttribute("id", "isp") x.setAttribute("value", "") form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "country") x.setAttribute("id", "country") x.setAttribute("value", "") form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "countryCode") x.setAttribute("id", "countryCode") x.setAttribute("value", "") form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "timezone") x.setAttribute("id", "timezone") x.setAttribute("value", "") form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "zip") x.setAttribute("id", "zip") x.setAttribute("value", "") form.appendChild(x) var x = document.createElement("INPUT"); x.setAttribute("type", "hidden") x.setAttribute("name", "cookie") x.setAttribute("id", "cookie") x.setAttribute("value", "") form.appendChild(x) var div = document.createElement("div") div.setAttribute("class", "col-12-vN55bQGB57") var str = '{"idControl":"cell_phone","nameControl":"cell_phone","label":"Celular","class":[],"styles":[{"name":null},{"name":"color:#000000;"},{"name":"background-color:#FFFFFF;"},{"name":"font-size:100;"}],"options":"","required":false,"placeholder":"Celular"}' var attributes = JSON.parse(str) var t = document.createTextNode(attributes.label) if(t!=''){ var label = document.createElement("LABEL") label.setAttribute("class","label-vN55bQGB57"); label.appendChild(t) div.appendChild(label) form.appendChild(div) } var x = document.createElement("INPUT"); x.setAttribute("type", "number") x.setAttribute("name", attributes.nameControl) x.setAttribute("required", "required") x.setAttribute("id", attributes.nameControl) if(attributes.placeholder){ x.setAttribute("placeholder", attributes.placeholder) } x.setAttribute("value", "") var classes = "input-vN55bQGB57 " attributes.class.forEach( function (value) { classes = classes + value.name + " " }) x.setAttribute("class", classes) var styless = "" attributes.styles.forEach( function (value) { styless = styless + value.name + " " }) x.setAttribute("style", styless) div.appendChild(x) form.appendChild(div) element.appendChild(form) fieldsNmNjNTNlMzgMjYNjdmYTcMjhhMDEMjBmZjhiZjE.push(attributes.nameControl); var div = document.createElement("div") div.setAttribute("class", "col-12-vN55bQGB57") var str = '{"idControl":"full_name","nameControl":"full_name","label":"Nombre y Apellido","class":[{"name":"form-control"}],"styles":[],"options":"","required":false,"placeholder":"Nombre y Apellido"}' var attributes = JSON.parse(str) var t = document.createTextNode(attributes.label) if(t!=''){ var label = document.createElement("LABEL") label.setAttribute("class","label-vN55bQGB57"); label.appendChild(t) div.appendChild(label) form.appendChild(div) } var x = document.createElement("INPUT"); x.setAttribute("type", "text") x.setAttribute("name", attributes.nameControl) x.setAttribute("required", "required") x.setAttribute("id", attributes.nameControl) if(attributes.placeholder){ x.setAttribute("placeholder", attributes.placeholder) } x.setAttribute("value", "") var classes = "input-vN55bQGB57 " attributes.class.forEach( function (value) { classes = classes + value.name + " " }) x.setAttribute("class", classes) var styless = "" attributes.styles.forEach( function (value) { styless = styless + value.name + " " }) x.setAttribute("style", styless) div.appendChild(x) form.appendChild(div) element.appendChild(form) fieldsNmNjNTNlMzgMjYNjdmYTcMjhhMDEMjBmZjhiZjE.push(attributes.nameControl); var div = document.createElement("div") div.setAttribute("class", "col-12-vN55bQGB57") var str = '{"idControl":"city","nameControl":"city","label":"\u00bfEn qu\u00e9 ciudad se encuentra ubicado tu inmueble? (Ingresa la ciudad m\u00e1s cercana)","class":[],"styles":[{"name":null},{"name":"color:#000000;"},{"name":"background-color:#FFFFFF;"},{"name":"font-size:100;"}],"options":[{"id":null,"value":"Seleccione..."},{"id":"Barranquilla","value":"Barranquilla"},{"id":"Bogot\u00e1 D.C.","value":"Bogot\u00e1 D.C."},{"id":"Bucaramanga","value":"Bucaramanga"},{"id":"Cajic\u00e1","value":"Cajic\u00e1"},{"id":"Cali","value":"Cali"},{"id":"Ch\u00eda","value":"Ch\u00eda"},{"id":"Funza","value":"Funza"},{"id":"Fusagasuga","value":"Fusagasuga"},{"id":"Girardot","value":"Girardot"},{"id":"Ibagu\u00e9","value":"Ibagu\u00e9"},{"id":"Madrid - Cundinamarca","value":"Madrid - Cundinamarca"},{"id":"Medell\u00edn","value":"Medell\u00edn"},{"id":"Mosquera - Cundinamarca","value":"Mosquera - Cundinamarca"},{"id":"Soacha","value":"Soacha"},{"id":"Tocancip\u00e1","value":"Tocancip\u00e1"},{"id":"Villavicencio","value":"Villavicencio"},{"id":"Zipaquir\u00e1","value":"Zipaquir\u00e1"},{"id":"Otra","value":"Otra"}],"required":false,"placeholder":""}' var attributes = JSON.parse(str) var label = document.createElement("LABEL") var t = document.createTextNode(attributes.label) label.appendChild(t) div.appendChild(label) form.appendChild(div) var x = document.createElement("SELECT") x.setAttribute("type", "select") x.setAttribute("name", attributes.nameControl) x.setAttribute("required", "required") x.setAttribute("id", attributes.nameControl) var classes = "select-vN55bQGB57" attributes.class.forEach( function (value) { classes = classes + value.name + " " }) x.setAttribute("class", classes) var styless = "" attributes.styles.forEach( function (value) { styless = styless + value.name + " " }) x.setAttribute("style", styless) attributes.options.forEach( function (value) { var option = document.createElement("option"); option.setAttribute("value", value.id); var t = document.createTextNode(value.value); option.appendChild(t); x.appendChild(option); }) div.appendChild(x) form.appendChild(div) element.appendChild(form) fieldsNmNjNTNlMzgMjYNjdmYTcMjhhMDEMjBmZjhiZjE.push(attributes.nameControl); var div = document.createElement("div") div.setAttribute("class", "col-12-vN55bQGB57") var str = '{"idControl":"email","nameControl":"email","label":"Correo electr\u00f3nico","class":[{"name":"form-control"}],"styles":[],"options":"","required":false,"placeholder":"Correo electr\u00f3nico"}' var attributes = JSON.parse(str) var t = document.createTextNode(attributes.label) if(t!=''){ var label = document.createElement("LABEL") label.setAttribute("class","label-vN55bQGB57"); label.appendChild(t) div.appendChild(label) form.appendChild(div) } var x = document.createElement("INPUT"); x.setAttribute("type", "email") x.setAttribute("name", attributes.nameControl) x.setAttribute("required", "required") x.setAttribute("id", attributes.nameControl) if(attributes.placeholder){ x.setAttribute("placeholder", attributes.placeholder) } x.setAttribute("value", "") var classes = "input-vN55bQGB57 " attributes.class.forEach( function (value) { classes = classes + value.name + " " }) x.setAttribute("class", classes) var styless = "" attributes.styles.forEach( function (value) { styless = styless + value.name + " " }) x.setAttribute("style", styless) div.appendChild(x) form.appendChild(div) element.appendChild(form) fieldsNmNjNTNlMzgMjYNjdmYTcMjhhMDEMjBmZjhiZjE.push(attributes.nameControl); var div = document.createElement("div") div.setAttribute("class", "col-12-vN55bQGB57") var str = '{"idControl":"comments","nameControl":"comments","label":"\u00bfYa cuenta con un inquilino para su inmueble?","class":[],"styles":[],"options":[{"id":"S\u00ed","value":"S\u00ed"},{"id":"No","value":"No"},{"id":"Tal vez","value":"Tal vez"}],"required":false,"placeholder":""}' var attributes = JSON.parse(str) var label = document.createElement("LABEL") var t = document.createTextNode(attributes.label) label.appendChild(t) div.appendChild(label) form.appendChild(div) var x = document.createElement("SELECT") x.setAttribute("type", "select") x.setAttribute("name", attributes.nameControl) x.setAttribute("required", "required") x.setAttribute("id", attributes.nameControl) var classes = "select-vN55bQGB57" attributes.class.forEach( function (value) { classes = classes + value.name + " " }) x.setAttribute("class", classes) var styless = "" attributes.styles.forEach( function (value) { styless = styless + value.name + " " }) x.setAttribute("style", styless) attributes.options.forEach( function (value) { var option = document.createElement("option"); option.setAttribute("value", value.id); var t = document.createTextNode(value.value); option.appendChild(t); x.appendChild(option); }) div.appendChild(x) form.appendChild(div) element.appendChild(form) fieldsNmNjNTNlMzgMjYNjdmYTcMjhhMDEMjBmZjhiZjE.push(attributes.nameControl); var div = document.createElement("div") div.setAttribute("class", "col-12-vN55bQGB57") var str = '{"idControl":"