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>]]>
|
77
| <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"39f9f2704ff975ec712111d5f947a974","system.paths":{"root":"","base":""}}</script>]]>
|
939
| <![CDATA[<script>
var vazios;
vazios = ["sobre","acesso-ao-produto","quadro-sintetico","saiba-mais-edicao","custom-data-edicao","material-de-apoio","microdados"];
var isEdicao = false;
var isTabSelected = false;
</script>]]>
|
968
| <![CDATA[<script>
//main();
var raizFTP = "Industrias_Extrativas_e_de_Transformacao/Pesquisa_Industrial_Mensal_Producao_Fisica/";
var areaFTP = "estatisticas";
var nivelFTP = 1;
var arrayAux = [];
var menuTop = jQuery("#menu_lateral_esquerdo").offset().top;
if(window.innerWidth > 1023) {
jQuery(window).on("scroll", function(){
setScroll(jQuery(this));
}).on("load", function(){
setScroll(jQuery(this));
});
}
function setScroll(_this) {
var top = _this.scrollTop() - menuTop + 80;
var limit = jQuery("#container-foiutil").offset().top - 80;
var endPoint = _this.scrollTop() + jQuery("#menu_lateral_esquerdo").height();
if(_this.scrollTop() >= menuTop && endPoint < limit){
jQuery("#menu_lateral_esquerdo").css("top", top + "px");
} else if(_this.scrollTop() < menuTop) {
jQuery("#menu_lateral_esquerdo").css("top", "0px");
} else if(endPoint > limit) {
jQuery("#menu_lateral_esquerdo").css("top", (limit - jQuery("#menu_lateral_esquerdo").height() - menuTop) + "px");
}
}
$(document).ready(function() {
loadChartsAtTab($('.tab-active').attr('id'));
})
</script>]]>
|
1030
| <![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>]]>
|
1333
| <![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>]]>
|
1365
| <![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>]]>
|
1406
| <![CDATA[<script>
var erro_servico = [];
</script>]]>
|