51
| <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"fc3fa99d6669e31c86854211dc8a79b7","system.paths":{"root":"","base":""}}</script>]]>
|
67
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("#phModalPlay").on("hidden.bs.modal", function (e) {
jQuery("#phModalPlay iframe").attr("src", jQuery("#phModalPlay iframe").attr("src"));
jQuery("audio").each(function(){this.pause();this.currentTime = 0;});
jQuery("video").each(function(){this.pause();this.currentTime = 0;});
});
jQuery(".pd-modal-button").on("click", function () {
var $target = jQuery(this).data("target");
var $href = jQuery(this).data("href");
var $body = $target + "Body";
var $dialog = $target + "Dialog";
var $height = jQuery(this).data("height");
var $width = jQuery(this).data("width");
var $heightD= jQuery(this).data("height-dialog");
var $widthD = jQuery(this).data("width-dialog");
var $type = jQuery(this).data("type");
jQuery($body).css("height", $height);
jQuery($target).css("width", $width);
jQuery($body).css("overflow-y", "auto");
jQuery($dialog).css("height", $heightD);
jQuery($dialog).css("width", $widthD);
if ($type == "image") {
jQuery($body).html('<img class="img-responsive" src="' + $href + '" />');
} else if ($type == "document") {
$widthD = $widthD -50;
$heightD = $heightD -40;
jQuery($body).html('<object type="application/pdf" data="' + $href + '" width="' + $widthD + '" height="' + $heightD + '" ></object>');
} else {
jQuery($body).load($href, function (response, status, xhr) {
if (status == "success") {
/*jQuery($target).modal({ show: true });*/
}
});
}
});
});
jQuery(function($) {
SqueezeBox.initialize({});
initSqueezeBox();
$(document).on('subform-row-add', initSqueezeBox);
function initSqueezeBox(event, container)
{
SqueezeBox.assign($(container || document).find('a.pd-modal-button').get(), {
parse: 'rel'
});
}
});
window.jModalClose = function () {
SqueezeBox.close();
};
// Add extra modal close functionality for tinyMCE-based editors
document.onreadystatechange = function () {
if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE)
{
if (typeof window.jModalClose_no_tinyMCE === 'undefined')
{
window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function' ? jModalClose : false;
jModalClose = function () {
if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined')
{
if (typeof(SqueezeBox) == 'undefined') SqueezeBox = {};
window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function' ? SqueezeBox.close : false;
SqueezeBox.close = function () {
if (window.SqueezeBoxClose_no_tinyMCE) window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
}
};
jQuery(function($) {
SqueezeBox.initialize({});
initSqueezeBox();
$(document).on('subform-row-add', initSqueezeBox);
function initSqueezeBox(event, container)
{
SqueezeBox.assign($(container || document).find('a.modal').get(), {
parse: 'rel'
});
}
});
window.jModalClose = function () {
SqueezeBox.close();
};
// Add extra modal close functionality for tinyMCE-based editors
document.onreadystatechange = function () {
if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE)
{
if (typeof window.jModalClose_no_tinyMCE === 'undefined')
{
window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function' ? jModalClose : false;
jModalClose = function () {
if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined')
{
if (typeof(SqueezeBox) == 'undefined') SqueezeBox = {};
window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function' ? SqueezeBox.close : false;
SqueezeBox.close = function () {
if (window.SqueezeBoxClose_no_tinyMCE) window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
}
};
window.addEvent("load", function() {
SqueezeBox.open('https://www.ibia.mg.gov.br/images/CRONOGRAMA_30_12.png',{handler: 'image'});
});
jQuery(function($) {
SqueezeBox.initialize({});
initSqueezeBox();
$(document).on('subform-row-add', initSqueezeBox);
function initSqueezeBox(event, container)
{
SqueezeBox.assign($(container || document).find('a.pg-modal-button').get(), {
parse: 'rel'
});
}
});
window.jModalClose = function () {
SqueezeBox.close();
};
// Add extra modal close functionality for tinyMCE-based editors
document.onreadystatechange = function () {
if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE)
{
if (typeof window.jModalClose_no_tinyMCE === 'undefined')
{
window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function' ? jModalClose : false;
jModalClose = function () {
if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined')
{
if (typeof(SqueezeBox) == 'undefined') SqueezeBox = {};
window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function' ? SqueezeBox.close : false;
SqueezeBox.close = function () {
if (window.SqueezeBoxClose_no_tinyMCE) window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments);
tinyMCE.activeEditor.windowManager.close();
};
}
}
};
/*=== EASY GOOGLE ANALYTICS : START TRACKING CODE ===*/
(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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-173695050-1', 'mg.gov.br');
ga('send', 'pageview');
/*=== EASY GOOGLE ANALYTICS : END TRACKING CODE ===*/
</script>]]>
|
265
| <![CDATA[<script type="text/javascript">
Shadowbox.init({
overlayColor: '#000',overlayOpacity:0.5,resizeDuration:0.35,displayCounter:true,displayNav:true, slideshowDelay: 5
});
</script>]]>
|
305
| <![CDATA[<script type='text/javascript'>
document.getElementById('cloak627e1f4af16582309f832a3922671a7d').innerHTML = '';
var prefix = 'ma' + 'il' + 'to';
var path = 'hr' + 'ef' + '=';
var addy627e1f4af16582309f832a3922671a7d = 'licitacao' + '@';
addy627e1f4af16582309f832a3922671a7d = addy627e1f4af16582309f832a3922671a7d + 'ibia' + '.' + 'mg' + '.' + 'gov' + '.' + 'br';
var addy_text627e1f4af16582309f832a3922671a7d = 'licitacao' + '@' + 'ibia' + '.' + 'mg' + '.' + 'gov' + '.' + 'br';document.getElementById('cloak627e1f4af16582309f832a3922671a7d').innerHTML += '<a ' + path + '\'' + prefix + ':' + addy627e1f4af16582309f832a3922671a7d + '\'>'+addy_text627e1f4af16582309f832a3922671a7d+'<\/a>';
</script>]]>
|
375
| <![CDATA[<script type="text/javascript">
function S5QCTSubmit() {
jQuery('button.g-recaptcha').off().on('click', function() {
S5QCTSubmit();
})
s5_qc_submit();
}
function s5_qc_isValidEmail(str_email) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(str_email)) {
alert("Muito obrigado! Seu email foi enviado com sucesso...");
document.s5_quick_contact.submit();
} else {
alert("Você inseriu um email inválido, por favor tente novamente.");
document.getElementById("s5_qc_emailbox").className = "inputbox s5_qc_required";
}
}
var s5_qc_subject_type = "user";
var s5_qc_spambox_text = "Anti-spam...";
var s5_qc_subject_text = "Assunto...";
var s5_qc_name_text = "Nome...";
var s5_qc_email_text = "Email...";
var s5_qc_field1_text = "Mensagem...";
var s5_qc_field2_text = "Field 2...";
var s5_qc_field3_text = "Field 3...";
var s5_qc_field4_text = "Field 4...";
var s5_qc_field5_text = "Field 5...";
var s5_qc_field6_text = "Field 6...";
var s5_qc_field7_text = "Field 7...";
var s5_qc_field8_text = "Field 8...";
var s5_qc_field9_text = "Field 9...";
var s5_qc_field10_text = "Field 10...";
function s5_qc_clear_inputs(s5_qc_click_id) {
s5_qc_clear_inputs_values(s5_qc_click_id);
}
var s5_qc_field1_type = "textarea_required";
var s5_qc_field2_type = "1";
var s5_qc_field3_type = "1";
var s5_qc_field4_type = "1";
var s5_qc_field5_type = "1";
var s5_qc_field6_type = "1";
var s5_qc_field7_type = "1";
var s5_qc_field8_type = "1";
var s5_qc_field9_type = "1";
var s5_qc_field10_type = "1";
var s5_qc_required_missing = "no";
var s5_qc_all_content = "";
function s5_qc_submit() {
s5_qc_check_required();
if (s5_qc_required_missing == "yes") {
alert("Todos os campos do formulário são obrigatórios.");
return false;
}
s5_qc_find_all_values();
if (s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0 || s5_qc_all_content.indexOf("s5_qc_null") >= 0) {
return false;
}
else {
var email_str = document.getElementById("s5_qc_emailbox").value;
s5_qc_isValidEmail(email_str);
}
}
function s5_qc_load_pikaday() {
}
function s5_qc_load_pikaday_timer() {
window.setTimeout(s5_qc_load_pikaday,500);
}
window.onload = s5_qc_load_pikaday_timer();
</script>]]>
|
458
| <![CDATA[<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.4";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>]]>
|
497
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|
501
| <![CDATA[<script>
new WOW().init();
</script>]]>
|
505
| <![CDATA[<script>
(function(){
const containers = document.querySelectorAll('div#phoca-dl-category-box .pd-fdesc');
containers.forEach(function(container) {
let p = container.querySelector('p');
let initialHeight = container.getBoundingClientRect().height;
let height = p.getBoundingClientRect().height;
let btn = document.createElement('button');
btn.innerHTML = 'Mais detalhes';
btn.type = 'button';
btn.className = 'phocadownload-read-more-btn';
btn.onclick = function() {
if(btn.classList.contains('opened')) {
// container.style.maxHeight = `${initialHeight}px`;
container.classList.remove('opened');
btn.classList.remove('opened');
btn.innerHTML = 'Mais detalhes';
} else {
// container.style.maxHeight = `${height}px`;
container.classList.add('opened');
btn.classList.add('opened');
btn.innerHTML = 'Minimizar';
}
};
container.parentElement.appendChild(btn);
});
}());
</script>]]>
|