5
| <![CDATA[<script type="text/javascript"> (function(){ function blockCookies(disableCookies, disableLocal, disableSession){ if(disableCookies == 1){ if(!document.__defineGetter__){ Object.defineProperty(document, 'cookie',{ get: function(){ return ''; }, set: function(){ return true;} }); }else{ var oldSetter = document.__lookupSetter__('cookie'); if(oldSetter) { Object.defineProperty(document, 'cookie', { get: function(){ return ''; }, set: function(v){ if(v.match(/reDimCookieHint\=/)) { oldSetter.call(document, v); } return true; } }); } } var cookies = document.cookie.split(';'); for (var i = 0; i < cookies.length; i++) { var cookie = cookies[i]; var pos = cookie.indexOf('='); var name = ''; if(pos > -1){ name = cookie.substr(0, pos); }else{ name = cookie; } if(name.match(/reDimCookieHint/)) { document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:00 GMT'; } } } if(disableLocal == 1){ window.localStorage.clear(); window.localStorage.__proto__ = Object.create(window.Storage.prototype); window.localStorage.__proto__.setItem = function(){ return undefined; }; } if(disableSession == 1){ window.sessionStorage.clear(); window.sessionStorage.__proto__ = Object.create(window.Storage.prototype); window.sessionStorage.__proto__.setItem = function(){ return undefined; }; } } blockCookies(1,1,1); }()); </script>]]>
|
50
| <![CDATA[<script>
jQuery(function ($) {
initChosen();
$("body").on("subform-row-add", initChosen);
function initChosen(event, container)
{
container = container || document;
$(container).find(".advancedSelect").chosen({"disable_search_threshold":10,"search_contains":true,"allow_single_deselect":true,"placeholder_text_multiple":"Digite ou selecione algumas op\u00e7\u00f5es","placeholder_text_single":"Selecione uma op\u00e7\u00e3o","no_results_text":"Selecione alguma op\u00e7\u00e3o"});
}
});
jQuery(function($){ initTooltips(); $("body").on("subform-row-add", initTooltips); function initTooltips (event, container) { container = container || document;$(container).find(".hasTooltip").tooltip({"html": true,"container": "body"});} });
jQuery(document).ready(function() {
var value, searchword = jQuery('#mod-finder-searchword144');
// Get the current value.
value = searchword.val();
// If the current value equals the default value, clear it.
searchword.on('focus', function ()
{
var el = jQuery(this);
if (el.val() === 'Pesquisar...')
{
el.val('');
}
});
// If the current value is empty, set the previous value.
searchword.on('blur', function ()
{
var el = jQuery(this);
if (!el.val())
{
el.val(value);
}
});
jQuery('#mod-finder-searchform144').on('submit', function (e)
{
e.stopPropagation();
var advanced = jQuery('#mod-finder-advanced144');
// Disable select boxes with no value selected.
if (advanced.length)
{
advanced.find('select').each(function (index, el)
{
var el = jQuery(el);
if (!el.val())
{
el.attr('disabled', 'disabled');
}
});
}
});});
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-103552497-3');
new window.VLibras.Widget('https://vlibras.gov.br/app');
(function()
{
if(typeof jQuery == 'undefined')
return;
jQuery(function($)
{
if($.fn.squeezeBox)
{
$( 'a.modal' ).squeezeBox({ parse: 'rel' });
$( 'img.modal' ).each( function( i, el )
{
$(el).squeezeBox({
handler: 'image',
url: $( el ).attr( 'src' )
});
})
}
else if(typeof(SqueezeBox) !== 'undefined')
{
$( 'img.modal' ).each( function( i, el )
{
SqueezeBox.assign( el,
{
handler: 'image',
url: $( el ).attr( 'src' )
});
});
}
function jModalClose()
{
if(typeof(SqueezeBox) == 'object')
SqueezeBox.close();
else
ARK.squeezeBox.close();
}
});
})();
</script>]]>
|