13
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-285486-1');
gtag('config', 'UA-285486-76', {'groups':'ibgelabs'});
</script>]]>
|
25
| <![CDATA[<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5ND2WBQ');</script>]]>
|
75
| <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"e6278586107ecf7c61397ed2278bbd31","system.paths":{"root":"","base":""}}</script>]]>
|
751
| <![CDATA[<script>
var prev = document.querySelector(".prevArrow");
var next = document.querySelector(".nextArrow");
jQuery('.calendario__tabela').slick({
infinite: false,
centerMode: true,
centerPadding: '0',
prevArrow: prev,
nextArrow: next
});
//marca ano atual de acordo com seleção
var position = jQuery('.calendario__biano').has('.active').parents(".slick-slide").attr('data-slick-index');
jQuery('.calendario__tabela').slick('slickGoTo',position);
jQuery('.menu.institucional li a').each(function() {
if (jQuery(this).attr('href')==location.pathname){
jQuery(this).parent().addClass('current');
}
});
jQuery('#openSubmenu').click(function(evt) {
jQuery(".conteudo__submenu-mobile").toggleClass('active');
jQuery("aside.submenu").toggleClass('active');
jQuery("#page-submenu").toggleClass('active');
jQuery("html").toggleClass('noscroll');
});
jQuery('#closeSubmenu').click(function(evt) {
jQuery(".conteudo__submenu-mobile").removeClass('active');
jQuery("#page-submenu").removeClass('active');
jQuery("html").removeClass('noscroll');
});
jQuery('#page-submenu').click(function(evt) {
evt.stopPropagation();
jQuery("#page-submenu").removeClass('active');
jQuery("html").removeClass('noscroll');
});
</script>]]>
|
816
| <![CDATA[<script>
function goToStep(button, step) {
var _this = jQuery(button);
var thisStep = _this.parent().attr("data-step");
var nextStep = step;
jQuery('.container__foiutil__step[data-step=' + nextStep + ']').show();
jQuery('.container__foiutil__step[data-step=' + thisStep + ']').hide();
if(nextStep == 3){
if(thisStep == 1)
sendResultFoiUtil(false);
else
sendResultFoiUtil(true);
}
}
function sendResultFoiUtil(hasComment) {
var container = jQuery("#container-foiutil");
var obj = {};
obj.id_aplicacao = parseInt(container.attr("data-aplicacao"));
obj.id_modelo = parseInt(container.attr("data-modelo"));
obj.url = location.href;
obj.ip = "192.168.152.80";
obj.browser = " 0 - unix";
obj.mobile = "0";
obj.respostas = [];
if(hasComment) {
obj.respostas.push({num_questao: "1",
resposta: "0",
observacao: ""
});
obj.respostas.push({num_questao: "2",
resposta: "",
observacao: jQuery('.container__foiutil__step[data-step=2]').find("textarea").val()
});
} else {
obj.respostas.push({num_questao: "1",
resposta: "1",
observacao: ""
});
obj.respostas.push({num_questao: "2",
resposta: "",
observacao: ""
});
}
//Envia resultados
jQuery.ajax({
url: '/index.php?option=com_questionario&format=json',
type: 'POST',
headers: {
'Content-Type':'application/json'
},
data: JSON.stringify(obj),
dataType: "json",
success: function(data) {
}
});
}
</script>]]>
|
1119
| <![CDATA[<script>
jQuery('.accordion-mobile span').click(function(evt) {
if (jQuery(window).width() < 1024) {
jQuery(this).next().toggle("slide");
jQuery(this).toggleClass("active");
}
});
var baseSticky = 95;
jQuery(document).ready(function(){
var scroll = jQuery(window).scrollTop();
changeHeaderScroll(scroll);
});
jQuery(window).scroll(function() {
var scroll = jQuery(window).scrollTop();
changeHeaderScroll(scroll);
});
function changeHeaderScroll(scroll) {
if (scroll >= baseSticky) {
jQuery("body").addClass("sticky");
} else {
jQuery("body").removeClass("sticky");
}
}
</script>]]>
|
1151
| <![CDATA[<script>
var unique_getCod_var = '';
function unique_getCodMiniURLQR_main(){
var local_url = window.location.toString();
if (local_url.indexOf("barragov")<0)
{
var full_url = 'https://cod.ibge.gov.br/min?js=unique_getCod_var=&u=' + encodeURIComponent(local_url);
//unique_getCodMiniURLQR_ajax(full_url,unique_getCodMiniURLQR_AfterFunc);
}
}
function unique_getCodMiniURLQR_ajax(url,afterfunction) {
//Onde: url = URL a ser carregada | e afterfunction = fnção a ser executada apos o carregamento da url, opcional
var headID = document.getElementsByTagName("head")[0];
var newScript = document.createElement('script');
newScript.type = 'text/javascript';
newScript.src = url;
newScript.id = 'tempdatascript' + Math.floor(Math.random()*9999999);
headID.appendChild(newScript);
if(navigator.appName == 'Microsoft Internet Explorer'){
newScript.onreadystatechange= function(){ if (this.readyState == 'complete' || this.readyState == 'loaded')afterfunction();}
}else{
newScript.onload = afterfunction;
}
}
function unique_getCodMiniURLQR_AfterFunc(){
//Matenha esta funcao vazia
}
unique_getCodMiniURLQR_main();
</script>]]>
|
1192
| <![CDATA[<script>
var erro_servico = [];
</script>]]>
|