try {ffjs.vuser('custom[linkbroker]', document.getElementById('LinkBroker').value);} catch (e) {} try {ffjs.vuser('custom[nome_do_embaixador_do_corretor]', document.getElementById('Nome do embaixador do corretor').value);} catch (e) {} try {ffjs.vuser('custom[telefone_do_embaixador_do_corretor]', document.getElementById('Telefone do embaixador do corretor').value);} catch (e) {} try {ffjs.vuser('custom[login_no_app]', document.getElementById('Login no APP').value);} catch (e) {} try {ffjs.vuser('custom[senha_no_app]', document.getElementById('Senha no APP').value);} catch (e) {} try {ffjs.vuser('custom[email_do_corretor]', document.getElementById('Email do corretor').value);} catch (e) {} try {ffjs.vuser('custom[senha_do_email_do_corretor]', document.getElementById('Senha do email do corretor').value);} catch (e) {} try {ffjs.vuser('custom[apelido_do_corretor]', document.getElementById('Apelido do corretor').value);} catch (e) {} try {ffjs.vuser('custom[lastFacId]', document.getElementById('lastFacId').value);} catch (e) {} try {ffjs.vuser('custom[listBrokers]', document.getElementById('listBrokers').value);} catch (e) {} try {ffjs.vuser('custom[em_negociacao]', document.getElementById('EM_NEGOCIACAO').value);} catch (e) {} try {ffjs.vuser('custom[fechei_a_compra]', document.getElementById('FECHEI_A_COMPRA').value);} catch (e) {} try {ffjs.vuser('custom[combinado]', document.getElementById('COMBINADO').value);} catch (e) {} var ff_inputs = { name: ['Name'], phone: ['Telephone'] }; if(location.pathname.indexOf('/anuncie-seu-imovel') === 0) { ffjs.vuser('custom[pagina_anuncie_seu_imovel]', 'sim'); } if(location.pathname.indexOf('/imovel/') === 0) { ffjs.vuser('custom[pagina_imovel]', 'sim'); } if(location.pathname.indexOf('/comprar/') === 0) { ffjs.vuser('custom[pagina_comprar]', 'sim'); } if(location.pathname.indexOf('/indicar-imovel') === 0) { ffjs.vuser('custom[pagina_indicar_imovel]', 'sim'); } if(location.pathname.indexOf('/seja-corretor') === 0) { ffjs.vuser('custom[pagina_seja_corretor]', 'sim'); } if(location.pathname.indexOf('/imobiliarias') === 0) { ffjs.vuser('custom[pagina_imobiliarias]', 'sim'); } if(location.pathname.indexOf('/incorporadoras') === 0) { ffjs.vuser('custom[pagina_incorporadoras]', 'sim'); }