26
| <![CDATA[<script>
(function() {
var po = document.createElement('script');
po.async = true;
po.src = document.location.protocol + '//connect.facebook.net/pt_BR/all.js#xfbml=1';
var head = document.getElementsByTagName('head')[0];
head.appendChild(po);
}());
</script>]]>
|
94
| <![CDATA[<script type="text/javascript">
jQuery(function($){
if (typeof($.datepicker) != "undefined"){
$.datepicker.setDefaults(
jQuery.extend($.datepicker.regional['pt-BR'],
{dateFormat: 'dd/mm/yy'}));
}
});
</script>]]>
|
990
| <![CDATA[<script type="text/javascript">
(function ($) {
"use strict";
$(document).ready(function () {
$(".parent-nitf-image").each(function () {
var link = $(this),
index = $(this).attr('data-index'),
rights = $(this).attr('data-rights');
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)) {
link.attr('href', link.attr('href').replace('@@slideshow_view', '@@slideshow_view?ajax_include_head=1&ajax_load=1'));
} else {
link.prepOverlay({
subtype : 'ajax',
filter : '#content-core > *',
width : '524px',
wait: true,
config : {
onLoad: function (e) {
Galleria.loadTheme("++resource++brasil.gov.portal/js/galleria.nitf_theme.js");
Galleria.configure({ debug: false, show: index });
Galleria.on('loadstart', function (e) {
var value_rights = $('a[data-rights][data-index=' + e.index + ']').attr('data-rights');
// Verifying a not defined variable in javascript
if (typeof value_rights != 'undefined') {
var link_rights = '<span class="copyright">' + value_rights + '</span>';
}
if ($('.galleria-info-description + .copyright').length > 0) {
$('.galleria-info-description + .copyright').html(link_rights);
} else {
$(link_rights).insertAfter('.galleria-info-description');
}
});
Galleria.run(".pb-ajax #mediabox");
}
}
});
}
});
});
})(jQuery);
</script>]]>
|
1226
| <![CDATA[<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TCGKTBZ');</script>]]>
|