32
| <![CDATA[<script type="text/javascript">
const account_id = '6LdZ88AZAAAAACr5gN1Kk3JpWfzPit-ZIvHgpNiL';
const sitekey = '6Lfg6A4UAAAAAHr7zwDyj1nyPzgqY6q8fEJ_-wp2'
grecaptcha.ready(function () {
grecaptcha.execute(account_id, {
action: 'e7a411457481402b199c1091ff07dd45'
})
.then(function (token) {
if (document.getElementById('captcha')) {
document.getElementById('captcha').value = token;
$('.g-recaptcha').attr('data-sitekey', sitekey);
}
});
});
function expandirArvoreProcessos() {
if ($('#expandir').val() != '1') {
$('#expandirTudo').click();
// document.getElementById('processo_principal_acessorios').innerHTML = replaceAll('lastExpandable', 'lastCollapsable', document.getElementById('processo_principal_acessorios').innerHTML);
// document.getElementById('processo_principal_acessorios').innerHTML = replaceAll('expandable', 'collapsable', document.getElementById('processo_principal_acessorios').innerHTML);
// document.getElementById('processo_principal_acessorios').innerHTML = replaceAll('display: none;', 'display: block;', document.getElementById('processo_principal_acessorios').innerHTML);
}
$('#expandir').val("1");
}
function replaceAll(find, replace, str) {
while (str.indexOf(find) > -1) {
str = str.replace(find, replace);
}
return str;
}
jQuery(document).ready(function ($) {
setInterval(function () {
expandirArvoreProcessos();
}, 1000);
setInterval(function () {
SetScroll();
}, 500);
});
</script>]]>
|