363
| <![CDATA[<script language="javascript">
<!--
// Cross platform event handling for IE5+, NS6+, Mozilla/Gecko
function p16_addEvent(elm, evType, fn, useCapture)
{
if(elm != null)
{
if(elm.addEventListener)
{
elm.addEventListener(evType, fn, useCapture);
return true;
}
else if(elm.attachEvent)
{
var r = elm.attachEvent('on' + evType, fn);
return r;
}
else
{
elm['on' + evType] = fn;
}
}
}
var p16_links = new Array();
p16_links[0] = new Array("/images/arquivos/documentos/1502977352.pdf","Visit /images/arquivos/documentos/1502977352.pdf website", 1);
function p16_getlinkid(elm)
{
// "elm" is to be the DOM element, whose name has the unique ID
// at it's end, separated by underscore "_":
result = 0;
if ((elm != undefined)) {
var myid = new String(elm.id);
myid = myid.split('_');
if (myid.length > 0) {
result = myid[myid.length-1];
}
}
return result;
}
function p16_onLoad()
{
// Process anchor tags for links and their <td> table cell:
for(i=0; i < p16_links.length; i++)
{
// Deactivate click on link
ah = document.getElementById("p16_"+i);
if ((ah != undefined)) {
ah.href = "#";
ah.onclick = function(){return false;};
}
// Assign click and mouse events to <td> tag:
ah = document.getElementById("p16_links_"+i);
if ((ah != undefined)) {
ah.onclick = function(){
linkelement = p16_links[p16_getlinkid(this)];
if (linkelement[2] != 0) {
window.open(linkelement[0],'link','status=1,toolbar=1,location=1,menubar=1,directories=1,resizable=1,scrollbars=1');
} else {
window.location = linkelement[0];
}
return false;
};
ah.onmouseover = function(){
window.status = p16_links[p16_getlinkid(this)][0];
this.style.cursor = 'pointer';
this.style.cursor = 'hand';
this.style.background = '#e8e9ec';
}
ah.onmouseout = function(){
window.status = '';
this.style.background = 'transparent';
}
ah.title = p16_links[i][1];
}
}
}
p16_addEvent(window, "load", p16_onLoad, false);
//-->
</script>]]>
|
605
| <![CDATA[<script> function resultParse(v){ console.log(v); $('#tempoClimaUP').text(v.climatempo[0].previsao[0].detalhe.max); $('#tempoClimaDOWN').text(v.climatempo[0].previsao[0].detalhe.min); $('#iconeClima').addClass('weather-'+v.climatempo[0].previsao[0].detalhe.icone+'24'); } </script>]]>
|
611
| <![CDATA[<script>
$("#share").jsSocials({
showLabel: true,
shares: [{
share: "facebook",
logo: "fab fa-facebook-f"
},{
share: "twitter",
logo: "fab fa-twitter"
},{
share: "whatsapp",
logo: "fab fa-whatsapp"
}]
});
$('.ajax-popup-link').magnificPopup({
type: 'iframe',
iframe: {
markup: '<div class="mfp-iframe-scaler your-special-css-class">'+
'<div class="mfp-close"></div>'+
'<iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe>'+
'</div>'
}
});
</script>]]>
|
637
| <![CDATA[<script type="text/javascript">
var $affectedElements = $("body, p");
var theme = window.localStorage.currentTheme;
var theme2 = window.localStorage.currentTheme2;
$('body').addClass(theme + ' ' + theme2);
/*Dark mode*/
$('[data-toggle="dark-mode"]').click(function() {
if ($("body").hasClass("night")) {
$('body').toggleClass('night');
localStorage.removeItem('currentTheme');
localStorage.currentTheme = "day";
} else {
$('body').toggleClass('night');
localStorage.removeItem('currentTheme');
localStorage.currentTheme = "night";
}
});
/* Invert colors*/
$('[data-toggle="invert-color"]').click(function() {
if ($("body").hasClass("inverted")) {
$('body').toggleClass('inverted');
localStorage.removeItem('currentTheme2');
localStorage.currentTheme2 = "normal";
} else {
$('body').toggleClass('inverted');
localStorage.removeItem('currentTheme2');
localStorage.currentTheme2 = "inverted";
}
});
textResizer = $(function() {
var h = {
getItem: function(a) {
if (!a) {
return null
}
return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(a).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null
},
setItem: function(a, b, c, d, e, f) {
if (!a || /^(?:expires|max\-age|path|domain|secure)$/i.test(a)) {
return false
}
var g = "";
if (c) {
switch (c.constructor) {
case Number:
g = c === Infinity ? "; expires=Fri, 31 Dec 9999 23:59:59 GMT" : "; max-age=" + c;
break;
case String:
g = "; expires=" + c;
break;
case Date:
g = "; expires=" + c.toUTCString();
break
}
}
document.cookie = encodeURIComponent(a) + "=" + encodeURIComponent(b) + g + (e ? "; domain=" + e : "") + (d ? "; path=" + d : "") + (f ? "; secure" : "");
return true
},
removeItem: function(a, b, c) {
if (!this.hasItem(a)) {
return false
}
document.cookie = encodeURIComponent(a) + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT" + (c ? "; domain=" + c : "") + (b ? "; path=" + b : "");
return true
},
hasItem: function(a) {
if (!a) {
return false
}
return (new RegExp("(?:^|;\\s*)" + encodeURIComponent(a).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=")).test(document.cookie)
},
keys: function() {
var a = document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g, "").split(/\s*(?:\=[^;]*)?;\s*/);
for (var b = a.length, nIdx = 0; nIdx < b; nIdx++) {
a[nIdx] = decodeURIComponent(a[nIdx])
}
return a
}
};
function changeSize(a, b) {
var c = parseInt(h.getItem("FontSize"));
var d;
if (c !== "") {
c = parseInt(a.css('font-size'))
}
if (b === 'decrease') {
if (c > 12) {
d = c - 1
}
} else if (b === 'increase') {
if (c < 22) {
d = c + 1
}
}
a.css('font-size', d + 'px');
h.setItem("FontSize", d, Infinity)
}
$('[data-toggle="font-decrease"]').click(function(e) {
changeSize(i, 'decrease');
e.preventDefault()
});
$('[data-toggle="font-increase"]').click(function(e) {
changeSize(i, 'increase');
e.preventDefault()
});
var i = $affectedElements,
fontSize = h.getItem("FontSize");
if (fontSize) {
i.css('font-size', fontSize + 'px')
}
});
</script>]]>
|
816
| <![CDATA[<script>
jQuery('#confirm-delete').on('show.bs.modal', function(e) {
$(this).find('.btn-ok').attr('href', $(e.relatedTarget).data('href'));
});
</script>]]>
|
830
| <![CDATA[<script type="text/javascript">
$(document).ready(function() {
$('#data-table-filter').DataTable( {
"searching": false,
"language": {
"sProcessing": "Carregando...",
"sLengthMenu": "Mostrar _MENU_ resultados",
"sZeroRecords": "Não foram encontrados resultados",
"sInfo": "Mostrando de _START_ à _END_ de _TOTAL_ resultados",
"sInfoEmpty": "Mostrando de 0 à 0 de 0 resultados",
"sInfoFiltered": "(filtrado de _MAX_ resultados no total)",
"sInfoPostFix": "",
"sSearch": "Buscar:",
"sUrl": "",
"oPaginate": {
"sFirst": "Primeiro",
"sPrevious": "Anterior",
"sNext": "Próximo",
"sLast": "Último"
}
},
"info": false,
"order": [[ 0, "desc" ]],
"columnDefs": [{"targets": [1,2,3,4,5,6,7,8,9,10], "orderable": false }],
"dom": 'Bfrtip',
"buttons": {
"buttons": [
'copy', 'csv', 'excel', 'pdf', 'print'
],
"dom": {
"button": {
"className": 'btn btn-light border text-dark'
}
}
}
} );
} );
</script>]]>
|
876
| <![CDATA[<script type="text/javascript">
$.noConflict();
jQuery( document ).ready(function( $ ) {
$( ".datepicker" ).datepicker({
dateFormat: 'dd/mm/yy',
dayNames: ['Domingo','Segunda','Terça','Quarta','Quinta','Sexta','Sábado','Domingo'],
dayNamesMin: ['D','S','T','Q','Q','S','S','D'],
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb','Dom'],
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez']
});
});
</script>]]>
|
890
| <![CDATA[<script type="text/javascript">
if((jQuery("#data-inicial").val() != "") && (jQuery("#data-final").val() == "")){
jQuery("#data-inicial").val("");
alert("Você precisa informar as datas de início e fim.");
}
</script>]]>
|
901
| <![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-106219313-44', 'auto');
ga('send', 'pageview');
</script>]]>
|