366
| <![CDATA[<script type="text/javascript">
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();
};
}
}
};
template="nuclep";
(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();
}
});
})();
(function(){
var cb = function() {
var add = function(css, id) {
if(document.getElementById(id)) return;
var l = document.createElement('link'); l.rel = 'stylesheet'; l.id = id; l.href = css;
var h = document.getElementsByTagName('head')[0]; h.appendChild(l);
}
add('/media/djextensions/css/animate.min.css', 'animate_min_css');
add('/media/djextensions/css/animate.ext.css', 'animate_ext_css');
};
var raf = requestAnimationFrame || mozRequestAnimationFrame || webkitRequestAnimationFrame || msRequestAnimationFrame;
if (raf) raf(cb);
else window.addEventListener('load', cb);
})();
</script>]]>
|
1995
| <![CDATA[<script type="text/javascript">
(function(c,d){"JUri"in d||(d.JUri="https://www.nuclep.gov.br/");c.addEventListener("click",function(a){var b=a.target?a.target.closest('[class*="ba-click-lightbox-form-"], [href*="ba-click-lightbox-form-"]'):null;if(b){a.preventDefault();if("pending"==b.clicked)return!1;b.clicked="pending";"formsAppClk"in window?formsAppClk.click(b):(a=document.createElement("script"),a.src=JUri+"components/com_baforms/assets/js/click-trigger.js",a.onload=function(){formsAppClk.click(b)},
c.head.append(a))}})})(document,window);
</script>]]>
|