46
| <![CDATA[<script type="text/javascript">
kQuery(function($){
$('[data-k-modal]').each(function(idx, el) {
var el = $(el);
var data = el.data('k-modal');
var options = {"type":"image"};
if (data) {
$.extend(true, options, data);
}
el.magnificPopup(options);
});
});
kQuery(function($) {
var addHiddenFields = function(button) {
var field, i = 0, fields = ['.k-js-tag-search', '.k-js-category-search'];
for (; i < fields.length; i++) {
field = $(fields[i]);
if (!field.val()) {
var input = $('<input type="hidden" />')
.attr('name', field.attr('name').replace('[]', ''))
.val('');
$(button[0].form).append(input);
}
}
};
$('.k-js-search-submit').click(function() {
addHiddenFields($(this));
});
$('.k-js-search-reset').click(function(event) {
event.preventDefault();
var button = $(this),
form = button[0].form;
$('.k-filters')
.find('input:not(:checkbox), textarea').val('').end()
.find('select').val(null).trigger('change');
addHiddenFields(button);
$(form).append($('<input type="hidden" />').val('1')
.attr('name', 'filter[reset]'));
form.submit();
});
});
kQuery(function($) {
$('.docman_track_download').on('click', function() {
var el = $(this);
if (typeof window.GoogleAnalyticsObject !== 'undefined' && typeof window[window.GoogleAnalyticsObject] !== 'undefined') {
window[window.GoogleAnalyticsObject]('send', 'event', 'DOCman', 'Download', el.data('title'), parseInt(el.data('id'), 10));
}
else if (typeof _gaq !== 'undefined' && typeof _gat !== 'undefined') {
if (_gat._getTrackers().length) {
_gaq.push(function() {
var tracker = _gat._getTrackers()[0];
tracker._trackEvent('DOCman', 'Download', el.data('title'), parseInt(el.data('id'), 10));
});
}
}
});
if (typeof _paq !== 'undefined') {
_paq.push(['setDownloadClasses', 'docman_track_download']);
_paq.push(['trackPageView']);
}
});
if (typeof Koowa === 'object' && Koowa !== null) {
if (typeof Koowa.translator === 'object' && Koowa.translator !== null) {
Koowa.translator.loadTranslations({"Play":"Reproduzir","View":"Visualizar","Open":"Abrir"});
}
}
kQuery(function($) {
$('a.docman_download__button').downloadLabel({"force_download":"0","gdocs_supported_extensions":["ogg","doc","docx","xls","xlsx","ppt","pptx","pages","ai","psd","tiff","dxf","svg","eps","ps","ttf","xps"],"gdocs_preview":0});
});
</script>]]>
|
128
| <![CDATA[<script type="text/javascript">
(function ($) {
$().ready(function () {
$('body').jfontsize({
btnMinusClasseId: '#jfontsize-minus',
btnDefaultClasseId: '#jfontsize-default',
btnPlusClasseId: '#jfontsize-plus',
btnMinusMaxHits: 10,
btnPlusMaxHits: 10,
sizeChange: 1
});
});
})(jQuery)
</script>]]>
|
360
| <![CDATA[<script type="text/javascript">
Modernizr.load({
test: Modernizr.touch,
yep : '',
nope: '/templates/j51_central/js/jquery.visible.js'
});
</script>]]>
|
369
| <![CDATA[<script>
jQuery(function(){
jQuery('.hornavmenu-bottom .hornav').slicknav();
});
</script>]]>
|
375
| <![CDATA[<script type="text/javascript">
jQuery(function() {
var bar = jQuery('.hornavmenu-bottom');
var top = bar.css('opacity');
jQuery(window).scroll(function() {
if(jQuery(this).scrollTop() > 0) {
bar.stop().animate({'opacity' : '0'}, 300);
} else {
bar.stop().animate({'opacity' : '1'}, 300);
}
});
});
jQuery(function() {
var bar = jQuery('.hornavmenu-top');
var top = bar.css('top');
jQuery(window).scroll(function() {
if(jQuery(this).scrollTop() > 230) {
bar.stop().animate({'top' : '0px'}, 300);
} else {
bar.stop().animate({'top' : top}, 300);
}
});
});
</script>]]>
|
434
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|
690
| <![CDATA[<script data-inline type="text/javascript">(function() {var el = document.documentElement; var cl = "k-js-enabled"; if (el.classList) { el.classList.add(cl); }else{ el.className += " " + cl;}})()</script>]]>
|
1198
| <![CDATA[<script type="text/javascript">
check_cookie(getBaseURL());
</script>]]>
|
1282
| <![CDATA[<script type="text/javascript">
if (Modernizr.touch) {
} else {
jQuery(window).stellar({
horizontalScrolling: false
});
}
</script>]]>
|
1292
| <![CDATA[<script>
new WOW().init();
</script>]]>
|
1298
| <![CDATA[<script type="text/javascript">/*docman job scheduler*/
!function(){function e(e,t,n,o){try{o=new(this.XMLHttpRequest||ActiveXObject)("MSXML2.XMLHTTP.3.0"),o.open("POST",e,1),o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.setRequestHeader("Content-type","application/x-www-form-urlencoded"),o.onreadystatechange=function(){o.readyState>3&&t&&t(o.responseText,o)},o.send(n)}catch(c){}}function t(n){e(n,function(e,o){try{if(200==o.status){var c=JSON.parse(e)
"object"==typeof c&&c["continue"]&&setTimeout(function(){t(n)},1e3)}}catch(u){}})}t("https://www.altocaparao.mg.gov.br/index.php?option=com_docman&controller=scheduler")}()</script>]]>
|