127
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
// <![CDATA[
var Liferay = {
Browser: {
acceptsGzip: function() {
return false;
},
getMajorVersion: function() {
return 0.0;
},
getRevision: function() {
return "";
},
getVersion: function() {
return "";
},
isAir: function() {
return false;
},
isChrome: function() {
return false;
},
isFirefox: function() {
return false;
},
isGecko: function() {
return false;
},
isIe: function() {
return false;
},
isIphone: function() {
return false;
},
isLinux: function() {
return false;
},
isMac: function() {
return false;
},
isMobile: function() {
return false;
},
isMozilla: function() {
return false;
},
isOpera: function() {
return false;
},
isRtf: function() {
return false;
},
isSafari: function() {
return false;
},
isSun: function() {
return false;
},
isWap: function() {
return false;
},
isWapXhtml: function() {
return false;
},
isWebKit: function() {
return false;
},
isWindows: function() {
return false;
},
isWml: function() {
return false;
}
},
ThemeDisplay: {
getCompanyId: function() {
return "10301";
},
getUserId: function() {
return "10303";
},
getDoAsUserIdEncoded: function() {
return "";
},
getPlid: function() {
return "22072";
},
getLayoutId: function() {
return "8";
},
getLayoutURL: function() {
return "/web/setur/ultimas-noticias";
},
isPrivateLayout: function() {
return "false";
},
getParentLayoutId: function() {
return "0";
},
getScopeGroupId: function() {
return "21782";
},
isSignedIn: function() {
return false;
},
getLanguageId: function() {
return "pt_BR";
},
isFreeformLayout: function() {
return false;
},
isStateExclusive: function() {
return false;
},
isStateMaximized: function() {
return false;
},
isStatePopUp: function() {
return false;
},
getPathContext: function() {
return "";
},
getPathImage: function() {
return "/image";
},
getPathMain: function() {
return "/c";
},
getPathThemeImages: function() {
return "/themes/tema-setur/images";
},
getPathThemeRoot: function() {
return "/themes/tema-setur";
},
getURLHome: function() {
return "http://www.setur.pe.gov.br/web/guest";
},
getSessionId: function() {
return "DAA44B4425EBC0D561A6F9F51F2C8613.jvm3i1";
},
getPortletSetupShowBordersDefault: function() {
return true;
}
}
};
var themeDisplay = Liferay.ThemeDisplay;
// ]]>
/*]]>*/</script>]]>
|
284
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
// <![CDATA[
Liferay.currentURL = '/web/setur/ultimas-noticias?page=1';
Liferay.currentURLEncoded = '%2Fweb%2Fsetur%2Fultimas-noticias%3Fpage%3D1';
jQuery(
function() {
Liferay.Util.addInputType();
Liferay.Util.addInputFocus();
}
);
Liferay.Portlet.ready(
function(portletId, jQueryObj) {
Liferay.Util.addInputType(portletId, jQueryObj);
if (Liferay.Menu) {
new Liferay.Menu(
{
button: '.lfr-actions',
context: jQueryObj[0],
trigger: '.lfr-trigger'
}
);
}
}
);
Liferay.Portlet.list = ['menu_INSTANCE_eSG3','56_INSTANCE_D3Gy','56_INSTANCE_0CuD','56_INSTANCE_Z6fX','56_INSTANCE_WlG1','56_INSTANCE_xXS3','56_INSTANCE_tNq0','56_INSTANCE_zYp8','56_INSTANCE_D9Pb','56_INSTANCE_iJ2z','56_INSTANCE_As30','56_INSTANCE_3JwK','56_INSTANCE_eA92','56_INSTANCE_2oG5','56_INSTANCE_1dDy','56_INSTANCE_Db2j','56_INSTANCE_a5GA','56_INSTANCE_vJ5u','56_INSTANCE_3fwC','56_INSTANCE_5vGD','56_INSTANCE_I9lK','56_INSTANCE_NK2v','56_INSTANCE_nS0k'];
if (jQuery.ui && jQuery.ui.tabs) {
jQuery.extend(
jQuery.ui.tabs.defaults,
{
navClass: 'ui-tabs tabs',
selectedClass: 'current'
}
);
}
jQuery(
function() {
if (Liferay.Dock) {
Liferay.Dock.init();
}
if (Liferay.Menu) {
new Liferay.Menu();
}
if (Liferay.Notice) {
Liferay.Notice.prototype.setClosing();
}
}
);
// ]]>
/*]]>*/</script>]]>
|
369
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
// <![CDATA[
// ]]>
/*]]>*/</script>]]>
|
375
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
/***
Simple jQuery Slideshow Script
Released by Jon Raasch (jonraasch.com) under FreeBSD license: free to use or modify, not responsible for anything, etc. Please link out to me if you like it :)
***/
function slideSwitch() {
var $active = jQuery('#slideshow IMG.active');
if ( $active.length == 0 ) $active = jQuery('#slideshow IMG:last');
// use this to pull the images in the order they appear in the markup
var $next = $active.next().length ? $active.next()
: jQuery('#slideshow IMG:first');
// uncomment the 3 lines below to pull the images in random order
// var $sibs = $active.siblings();
// var rndNum = Math.floor(Math.random() * $sibs.length );
// var $next = $( $sibs[ rndNum ] );
$active.addClass('last-active');
$next.css({opacity: 0.0})
.addClass('active')
.animate({opacity: 1.0}, 1000, function() {
$active.removeClass('active last-active');
});
}
jQuery(function() {
setInterval( "slideSwitch()", 5000 );
});
/*]]>*/</script>]]>
|
411
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2328043-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
/*]]>*/</script>]]>
|
425
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/dataAtual();/*]]>*/</script>]]>
|
733
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
jQuery("document").ready(function() {
jQuery("#treeview_menu_INSTANCE_eSG3_").menuAcessibilidade({
'allowTabNavigation':true,
'namespace': "_menu_INSTANCE_eSG3_",
'allowDynamicFontSize': false,
'menuDefault': true
});
jQuery(".treeview").removeAttr("style");
});
/*]]>*/</script>]]>
|
747
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_menu_INSTANCE_eSG3_',
portletId: 'menu_INSTANCE_eSG3'
}
);
/*]]>*/</script>]]>
|
876
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
876
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 0,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_D3Gy_',
portletId: '56_INSTANCE_D3Gy'
}
);
/*]]>*/</script>]]>
|
1005
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
1005
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 1,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_0CuD_',
portletId: '56_INSTANCE_0CuD'
}
);
/*]]>*/</script>]]>
|
1134
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
1134
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 2,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_Z6fX_',
portletId: '56_INSTANCE_Z6fX'
}
);
/*]]>*/</script>]]>
|
1263
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
1263
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 3,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_WlG1_',
portletId: '56_INSTANCE_WlG1'
}
);
/*]]>*/</script>]]>
|
1392
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
1392
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 4,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_xXS3_',
portletId: '56_INSTANCE_xXS3'
}
);
/*]]>*/</script>]]>
|
1521
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
1521
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 5,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_tNq0_',
portletId: '56_INSTANCE_tNq0'
}
);
/*]]>*/</script>]]>
|
1650
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
1650
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 6,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_zYp8_',
portletId: '56_INSTANCE_zYp8'
}
);
/*]]>*/</script>]]>
|
1779
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
1779
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 7,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_D9Pb_',
portletId: '56_INSTANCE_D9Pb'
}
);
/*]]>*/</script>]]>
|
1908
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
1908
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 8,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_iJ2z_',
portletId: '56_INSTANCE_iJ2z'
}
);
/*]]>*/</script>]]>
|
2037
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
2037
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 9,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_As30_',
portletId: '56_INSTANCE_As30'
}
);
/*]]>*/</script>]]>
|
2166
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
2166
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 11,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_eA92_',
portletId: '56_INSTANCE_eA92'
}
);
/*]]>*/</script>]]>
|
2295
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
2295
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 13,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_1dDy_',
portletId: '56_INSTANCE_1dDy'
}
);
/*]]>*/</script>]]>
|
2424
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
2424
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 14,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_Db2j_',
portletId: '56_INSTANCE_Db2j'
}
);
/*]]>*/</script>]]>
|
2553
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
2553
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 15,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_a5GA_',
portletId: '56_INSTANCE_a5GA'
}
);
/*]]>*/</script>]]>
|
2682
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
2682
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 16,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_vJ5u_',
portletId: '56_INSTANCE_vJ5u'
}
);
/*]]>*/</script>]]>
|
2811
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
2811
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 17,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_3fwC_',
portletId: '56_INSTANCE_3fwC'
}
);
/*]]>*/</script>]]>
|
2940
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/var addthis_config = {"data_track_clickback":true};/*]]>*/</script>]]>
|
2940
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 20,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_NK2v_',
portletId: '56_INSTANCE_NK2v'
}
);
/*]]>*/</script>]]>
|
3106
| <![CDATA[<script>/*<![CDATA[*/
function tamanhoMax(texto, tamanho){
return (texto.length > tamanho) ? texto.substring(0,tamanho) + '...' : texto+'';
}
/*]]>*/</script>]]>
|
3112
| <![CDATA[<script>/*<![CDATA[*/
jQuery('.tratarTituloNoticiaDestaque60119947').html(tamanhoMax('Descubra Pernambuco oferece atividades para entreter na quarentena',120));
/*]]>*/</script>]]>
|
3114
| <![CDATA[<script>/*<![CDATA[*/
jQuery('.tratarTituloNoticiaDestaque59943930').html(tamanhoMax('Secretaria de Turismo e Lazer firma parceria com IFPE para oferecer cursos online gratuitos',120));
/*]]>*/</script>]]>
|
3116
| <![CDATA[<script>/*<![CDATA[*/
jQuery('.tratarTituloNoticiaDestaque59889354').html(tamanhoMax('Governo de Pernambuco viabiliza linha de crédito para guias turísticos',120));
/*]]>*/</script>]]>
|
3118
| <![CDATA[<script>/*<![CDATA[*/
jQuery('.tratarTituloNoticiaDestaque59772598').html(tamanhoMax('Setur e Empetur lançam Balcão de Informações do Turismo',120));
/*]]>*/</script>]]>
|
3120
| <![CDATA[<script>/*<![CDATA[*/
jQuery('.tratarTituloNoticiaDestaque59226995').html(tamanhoMax('Pernambuco de braços abertos para receber dois milhões de turistas no maior',120));
/*]]>*/</script>]]>
|
3122
| <![CDATA[<script>/*<![CDATA[*/
jQuery('.tratarTituloNoticiaDestaque58776720').html(tamanhoMax('Pernambuco sedia reunião de secretários de Turismo do Nordeste',120));
/*]]>*/</script>]]>
|
3124
| <![CDATA[<script>/*<![CDATA[*/
jQuery('.tratarTituloNoticiaDestaque58632492').html(tamanhoMax('CONVOCATÓRIA CICLO CARNAVALESCO 2020',120));
/*]]>*/</script>]]>
|
3126
| <![CDATA[<script>/*<![CDATA[*/
jQuery('.tratarTituloNoticiaDestaque57867054').html(tamanhoMax('PRÊMIO PERNAMBUCO DE TURISMO 2019',120));
/*]]>*/</script>]]>
|
3128
| <![CDATA[<script>/*<![CDATA[*/
jQuery('.tratarTituloNoticiaDestaque57576486').html(tamanhoMax('Secretaria de Turismo e Lazer de Pernambuco é a primeira do Estado a lançar',120));
/*]]>*/</script>]]>
|
3130
| <![CDATA[<script>/*<![CDATA[*/
jQuery('.tratarTituloNoticiaDestaque56886478').html(tamanhoMax('RESULTADO FINAL DA SELEÇÃO SIMPLIFICADA DOS ATENDENTES BILÍNGUES',120));
/*]]>*/</script>]]>
|
3132
| <![CDATA[<script>/*<![CDATA[*/
jQuery(function(){
var apage = 1;
var numb = 0;
var numb2 = 0;
jQuery.ajax({
type: "GET",
url: "/c/journal/get_pages_count?groupId=21782&delta=10&type=noticia&categories=ListagemDeNoticias",
dataType: "xml",
success: function(xml) {
/* Total de página */
var tpage = jQuery(xml).find("result").text();
/* Controla quantidade de números mostrados antes e depois da página atual */
if(apage < 6){
numb = 1-apage;
numb2 = 10+numb;
numb3 = apage+numb2;
}else if(apage >= 6 && apage <= (tpage-6) ){
numb = apage-5;
numb3 = apage+5;
}else{
numb3 = tpage;
numb = tpage-10;
}
/* Cria os números antes da página atual */
for(var i=numb; i < apage; i++){
if(i >= 0){
z = i + 1;
if(z < 10){
z = '0'+ z;
}
jQuery(".numbers").append("<a href='?page="+i+"' >"+z+"</a>");
}
}
/* Cria o número da página atual */
z = apage + 1;
if(z < 10){
z = '0'+ z;
}
jQuery(".numbers").append("<div class='numero-lista'>"+z+"</div>");
/* Cria os números após a página atual */
for(var i=apage+1; i <= numb3 && i <= tpage; i++){
if(i <= tpage){
z = i + 1;
if(z < 10){
z = '0' + z;
}
jQuery(".numbers").append("<a href='?page="+i+"' >"+z+"</a>");
}
}
/* Mostra link para a última página e página posterior */
if(apage != tpage){
jQuery(".ultima").append("<a href='?page="+tpage+"'>Última</a>");
jQuery(".next").append("<a href='?page="+(apage+1)+"'>Próximo</a>");
}else{
jQuery(".next").append("<div>Próximo</div>");
jQuery(".ultima").append("<div>Última</div>");
}
/* Mostra link para a primeira página e página anterior */
if(apage != 1){
jQuery(".primeira").append("<a href='?page=1'>Primeira</a>");
jQuery(".prev").append("<a href='?page="+(apage-1)+"' >Anterior</a>");
}else{
jQuery(".primeira").append("<div>Primeira</div>");
jQuery(".prev").append("<div>Anterior</div>");
}
}
});
});
/*]]>*/</script>]]>
|
3215
| <![CDATA[<script type="text/javascript">/*<![CDATA[*/
Liferay.Portlet.onLoad(
{
canEditTitle: false,
columnPos: 21,
isStatic: 'end',
namespacedId: 'p_p_id_56_INSTANCE_nS0k_',
portletId: '56_INSTANCE_nS0k'
}
);
/*]]>*/</script>]]>
|
3231
| <![CDATA[<script language="javascript"> jQuery('h2').each(function(){ jQuery(this).attr('title', jQuery(this).text() ) });
</script>]]>
|