74
| <![CDATA[<script type="text/javascript">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '');
</script>]]>
|
82
| <![CDATA[<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-162676813-1', 'auto');
ga('send', 'pageview');
</script>]]>
|
1247
| <![CDATA[<script type="text/javascript">
function mudaFonte(padrao){
if(padrao == '+'){
$(".txtacess").each(function() {
tam = parseInt($(this).css('font-size').substr(0,2));
if(tam <= 20){
if (tam == 0) {
tam = 10;
}
tam = tam + 2;
$(this).css('font-size',tam+'px');
$(this).css('line-height', '120%');
}
});
$(".txtacess p").each(function() {
tam = parseInt($(this).css('font-size').substr(0,2));
if(tam <= 21){
tam = tam + 2;
$(this).css('font-size',tam+'px');
}
});
if($( window ).width() > 1299){
$width_item = $('.item_portal').width();
if($width_item < 280){
$('.item_portal.txtacess').css("width", $width_item+50);
$('.item_portal.txtacess').css("min-height", '250px');
$('.acesso_rapido h3.txtacess').css("display", 'block');
$('.acesso_rapido h3.txtacess').css("padding", '15px');
}
}
if($( window ).width() < 768){
$width_item = $( window ).width();
$('.item_portal.txtacess').css("width", $width_item-30);
$('.item_portal.txtacess').css("min-height", '250px');
}
}
else if(padrao == '-'){
$(".txtacess").each(function() {
tam = parseInt($(this).css('font-size').substr(0,2));
if(tam >= 12){
tam = tam - 2;
$(this).css('font-size',tam+'px');
}
});
$(".txtacess p").each(function() {
tam = parseInt($(this).css('font-size').substr(0,2));
if(tam >= 12){
tam = tam - 2;
$(this).css('font-size',tam+'px');
}
});
}
else if(padrao == '+-'){
$(".txtacess").each(function() {
$(this).css("font-size", "");
$(this).css('line-height', '');
});
$(".txtacess p").each(function() {
$(this).css("font-size", "");
});
if($( window ).width() > 1299){
$('.item_portal.txtacess').css("width", '180px');
$('.item_portal.txtacess').css("min-height", '210px');
$('.acesso_rapido h3.txtacess').css("display", "inline-block");
$('.acesso_rapido h3.txtacess').css("padding", "0");
}
if($( window ).width() < 768){
$width_item = (($( window ).width())/2);
$('.item_portal.txtacess').css("width", $width_item-30);
$('.item_portal.txtacess').css("min-height", '200px');
}
}
}
</script>]]>
|
1322
| <![CDATA[<script type="text/javascript">
$(document).ready(function(){
$("#botao_acessibilidade").click(function() {
if ($("#content_acessibilidade").hasClass('closed')) {
$("#content_acessibilidade").removeClass('closed');
} else{
$("#content_acessibilidade").addClass('closed');
}
});
});
</script>]]>
|
1341
| <![CDATA[<script type="text/javascript">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '');
</script>]]>
|
1571
| <![CDATA[<script type="text/javascript">
$("#contentBusca").hide();
$("#selectAno").change(function(){
var id = $("#selectAno").val();
$("#form_ano").trigger('submit');
});
</script>]]>
|
1583
| <![CDATA[<script type="text/javascript">
$('#page-selection').bootpag({
total: 24,
maxVisible: 10,
page: 1,
leaps: true
}).on("page", function(event, num){
$("#content").prepend('<div class="loading-indication"><img src="//portalmodelo.com.br/lib/img/ajax-load.gif" > Carregando...</div>');
post_page(num);
});
function post_page(num){
var form = document.createElement("form");
form.setAttribute("method", 'post');
form.setAttribute("action", '');
var hiddenField = document.createElement("input");
hiddenField.setAttribute("type", "hidden");
hiddenField.setAttribute("name", 'pag');
hiddenField.setAttribute("value", num);
form.appendChild(hiddenField);
document.body.appendChild(form);
form.submit();
}
</script>]]>
|
1697
| <![CDATA[<script type="text/javascript">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '');
</script>]]>
|
1903
| <![CDATA[<script type="text/javascript">
var elementoMenu = $("#menu");
var height1 = $("#menu").height();
var posicaoMenu = elementoMenu.offset().top;
var tamanho_janela = $(window).width();
var posicaoAtualScroll = $(window).scrollTop();
$(function () {
$('[data-toggle="tooltip"]').tooltip();
})
function gera_relatorio(formato){
$('#form_relatorio input[name="formato"]').val(formato);
$('#form_relatorio').submit();
}
function completa_face_rodape(tamanho_janela){
if (tamanho_janela >= 768) {
var tamanho_container = $('.container').width();
var tamanho_borda = (tamanho_janela - tamanho_container)/2;
$('.facebook_rodape_content').css('border-right-width',tamanho_borda+'px');
$('.facebook_rodape_content').css('right','-'+(tamanho_borda-15)+'px');
} else{
$('.facebook_rodape_content').css('border-right', 'none');
$('.facebook_rodape_content').css('right', 'unset');
}
}
function fixed_menu_xs(tamanho_janela){
if (tamanho_janela < 768) {
elementoMenu.addClass('navbar-fixed-top');
} else{
var posicaoAtualScroll = $(window).scrollTop();
var posicaoMenu = elementoMenu.offset().top;
if(posicaoAtualScroll < posicaoMenu){
elementoMenu.removeClass('navbar-fixed-top');
}
}
}
function fix_menu(posicaoAtualScroll){
if (tamanho_janela >= 768) {
if(posicaoAtualScroll > posicaoMenu){
elementoMenu.addClass('navbar-fixed-top');
$("body").css('padding-top', height1+'px');
} else{
$("body").css('padding-top', '');
$("#dropdown_acessibilidade").css('top', '');
elementoMenu.removeClass('navbar-fixed-top');
$(".bgcolor_green2").css('padding-top', '0px')
}
}
}
$(window).scroll(function(){
posicaoAtualScroll = $(window).scrollTop();
fix_menu(posicaoAtualScroll);
});
$(window).resize(function(event) {
tamanho_janela = $(window).width();
completa_face_rodape(tamanho_janela);
fixed_menu_xs(tamanho_janela);
posicaoMenu = elementoMenu.offset().top;
height1 = $("#menu").height();
fix_menu(posicaoAtualScroll);
posicaoMenu = elementoMenu.offset().top;
});
$(document).ready(function(){
completa_face_rodape(tamanho_janela);
fixed_menu_xs(tamanho_janela);
$('#dropdown_acessibilidade.dropdown').on('show.bs.dropdown', function() {
$(this).find('.dropdown-menu').first().stop(true, true).slideDown();
});
$('#dropdown_acessibilidade.dropdown').on('hide.bs.dropdown', function() {
$(this).find('.dropdown-menu').first().stop(true, true).slideUp();
});
new WOW().init();
$('.gallery').magnificPopup({
delegate: 'a',
type: 'image',
removalDelay: 300,
mainClass: 'mfp-fade',
gallery: {
enabled: true
}
});
$(".scroll").click(function(event){
event.preventDefault();
$('html,body').animate({scrollTop:0}, 500);
});
});
</script>]]>
|
2008
| <![CDATA[<script type="text/javascript">
function mudaFonte(padrao){
if(padrao == '+'){
$(".txtacess").each(function() {
tam = parseInt($(this).css('font-size').substr(0,2));
if(tam <= 20){
if (tam == 0) {
tam = 10;
}
tam = tam + 2;
$(this).css('font-size',tam+'px');
$(this).css('line-height', '120%');
}
});
$(".txtacess p").each(function() {
tam = parseInt($(this).css('font-size').substr(0,2));
if(tam <= 21){
tam = tam + 2;
$(this).css('font-size',tam+'px');
}
});
if($( window ).width() > 1299){
$width_item = $('.item_portal').width();
if($width_item < 280){
$('.item_portal.txtacess').css("width", $width_item+50);
$('.item_portal.txtacess').css("min-height", '250px');
$('.acesso_rapido h3.txtacess').css("display", 'block');
$('.acesso_rapido h3.txtacess').css("padding", '15px');
}
}
if($( window ).width() < 768){
$width_item = $( window ).width();
$('.item_portal.txtacess').css("width", $width_item-30);
$('.item_portal.txtacess').css("min-height", '250px');
}
}
else if(padrao == '-'){
$(".txtacess").each(function() {
tam = parseInt($(this).css('font-size').substr(0,2));
if(tam >= 12){
tam = tam - 2;
$(this).css('font-size',tam+'px');
}
});
$(".txtacess p").each(function() {
tam = parseInt($(this).css('font-size').substr(0,2));
if(tam >= 12){
tam = tam - 2;
$(this).css('font-size',tam+'px');
}
});
}
else if(padrao == '+-'){
$(".txtacess").each(function() {
$(this).css("font-size", "");
$(this).css('line-height', '');
});
$(".txtacess p").each(function() {
$(this).css("font-size", "");
});
if($( window ).width() > 1299){
$('.item_portal.txtacess').css("width", '180px');
$('.item_portal.txtacess').css("min-height", '210px');
$('.acesso_rapido h3.txtacess').css("display", "inline-block");
$('.acesso_rapido h3.txtacess').css("padding", "0");
}
if($( window ).width() < 768){
$width_item = (($( window ).width())/2);
$('.item_portal.txtacess').css("width", $width_item-30);
$('.item_portal.txtacess').css("min-height", '200px');
}
}
}
</script>]]>
|
2083
| <![CDATA[<script type="text/javascript">
$(document).ready(function(){
$("#botao_acessibilidade").click(function() {
if ($("#content_acessibilidade").hasClass('closed')) {
$("#content_acessibilidade").removeClass('closed');
} else{
$("#content_acessibilidade").addClass('closed');
}
});
});
</script>]]>
|
2095
| <![CDATA[<script type="text/javascript">
$(document).ready(function(){
$("#carousel_vereadores .owl-carousel").owlCarousel({
autoplay: false,
loop: true,
smartSpeed: 600,
margin:8,
nav: true,
navText:['<svg viewBox="0 0 17.52 16.56"><rect fill-rule="evenodd" clip-rule="evenodd" fill="transparent" width="17.52" height="16.56"/><path fill-rule="evenodd" clip-rule="evenodd" fill="currentColor" d="M7.57,8.53l2.04,2.13c0.13,0.14,0.34,0.14,0.47,0c0.13-0.13,0.13-0.35,0-0.49l-1.8-1.89l1.8-1.89c0.13-0.14,0.13-0.36,0-0.49c-0.13-0.14-0.34-0.14-0.47,0L7.57,8.03 C7.51,8.1,7.48,8.19,7.48,8.28C7.48,8.37,7.51,8.46,7.57,8.53z"/></svg>','<svg viewBox="0 0 17.52 16.56"><rect fill-rule="evenodd" clip-rule="evenodd" fill="transparent" width="17.52" height="16.56"/><path fill-rule="evenodd" clip-rule="evenodd" fill="currentColor" d="M7.57,8.53l2.04,2.13c0.13,0.14,0.34,0.14,0.47,0c0.13-0.13,0.13-0.35,0-0.49l-1.8-1.89l1.8-1.89c0.13-0.14,0.13-0.36,0-0.49c-0.13-0.14-0.34-0.14-0.47,0L7.57,8.03 C7.51,8.1,7.48,8.19,7.48,8.28C7.48,8.37,7.51,8.46,7.57,8.53z"/></svg>'],
responsiveClass: true,
responsive: {
0 : {
items : 2,
},
768 : {
items : 3,
},
1200 : {
items : 5,
}
}
});
});
</script>]]>
|
2128
| <![CDATA[<script type="text/javascript">
$(document).ready(function(){
$("#accordion").collapse({
toggle: false
});
$(".collapsed").click(function(){
$("#accordion").collapse('toggle');
});
if($('#example').length){
$('#example').DataTable({
"oLanguage": {
"sProcessing": "Aguarde enquanto os dados são carregados ...",
"sLengthMenu": "Mostrar _MENU_ registros por página",
"sZeroRecords": "Nenhum registro correspondente ao criterio encontrado",
"sInfoEmtpy": "Exibindo 0 a 0 de 0 registros",
"sInfo": "Exibindo de _START_ a _END_ de _TOTAL_ registros",
"sInfoFiltered": "",
"sSearch": "Procurar",
"oPaginate": {
"sFirst": "Primeiro",
"sPrevious": "Anterior",
"sNext": "Próximo",
"sLast": "Último"
}
}
});
}
});
jQuery(function() {
jQuery(".jzoom-aumentar").click(function(){
$("p, li, a, h1, h2, h3").each(function(){
var fontSize = parseInt($(this).css("font-size"));
fontSize = fontSize + 1 + "px";
jQuery(this).css({'font-size':fontSize});
})
});
jQuery(".jzoom-diminuir").click(function(){
$("p, li, a, h1, h2, h3").each(function(){
var fontSize = parseInt($(this).css("font-size"));
fontSize = fontSize - 1 + "px";
jQuery(this).css({'font-size':fontSize});
})
});
});
function alto_contraste(title) {
var i, a;
for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
a.disabled = true;
if(a.getAttribute("title") == title) a.disabled = false;
}
}
}
window.onload = function(){
if($("#wrapper-barra-brasil").length) {
document.getElementById("wrapper-barra-brasil").style.maxWidth = "1240px";
}
}
</script>]]>
|