25
| <![CDATA[<script>
(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-44422926-1', 'auto');
ga('send', 'pageview');
</script>]]>
|
40
| <![CDATA[<script type="text/javascript">
jQuery(function($) {
$('.slider').sss();
});
</script>]]>
|
47
| <![CDATA[<script type="text/javascript">
// Use jQuery com a variavel $j(...)
var $j = jQuery.noConflict();
$j(document).ready(function() {
$j(".voltarTopo").hide();
$j(function () {
$j(window).scroll(function () {
//Tempo para aparecer a seta
if ($j(this).scrollTop() > 300) {
$j('.voltarTopo').fadeIn();
} else {
$j('.voltarTopo').fadeOut();
}
});
$j('.voltarTopo').click(function() {
//Velocidade para voltar ao topo
$j('body,html').animate({scrollTop:0},600);
});
});});
</script>]]>
|
74
| <![CDATA[<script type="text/javascript">
var is_mouse_out = true;
var transitions_menu = false;
var panel1_topanel2 = "";
var contents_items = "";
function HiddingMenusDrop()
{
if(is_mouse_out == true && transitions_menu == false)
{
document.getElementById('show_bg_main_menu_cidadao').style.display = "none";
document.getElementById('show_bg_main_menu_empresa').style.display = "none";
document.getElementById('show_bg_main_menu_turista').style.display = "none";
document.getElementById('show_bg_main_menu_servidor').style.display = "none";
}
}
function MouseOnMenuDrop()
{
is_mouse_out = false;
}
function MouseOutMenuDrop()
{
is_mouse_out = true;
}
function HideMenusDrop()
{
setTimeout(HiddingMenusDrop,50);
}
function OpenMenuDrop(menudrop)
{
if(window.innerWidth >= 960)
{
transitions_menu = true;
if(menudrop != "")
{
if(menudrop != "show_bg_main_menu_cidadao"){ document.getElementById('show_bg_main_menu_cidadao').style.display = "none"; }
if(menudrop != "show_bg_main_menu_empresa"){ document.getElementById('show_bg_main_menu_empresa').style.display = "none"; }
if(menudrop != "show_bg_main_menu_turista"){ document.getElementById('show_bg_main_menu_turista').style.display = "none"; }
if(menudrop != "show_bg_main_menu_servidor"){ document.getElementById('show_bg_main_menu_servidor').style.display = "none"; }
if(document.getElementById(menudrop).style.display == "block")
{
document.getElementById(menudrop).style.display = "none";
}
else
{
document.getElementById(menudrop).style.display = "block";
}
}
setTimeout(function(){ transitions_menu = false; },55);
}
}
// Função para exibição dos subitens dos serviços
function ShowSubitemsId(id_panel1)
{
var split_transform_panel2 = panel1_topanel2.split(',');
for(var i=0; i<split_transform_panel2.length-1; i++){
/*$('#'+split_transform_panel2[i]).hide('fast');*/
document.getElementById('hpan' + split_transform_panel2[i]).style.display = 'none';
document.getElementById('item' + split_transform_panel2[i]).className = '';
}
/* $('#'+id_panel1).show('fast');*/
document.getElementById('hpan' + id_panel1).style.display = 'block';
document.getElementById('item' + id_panel1).className = 'active';
}
function ShowContentItem(id_content)
{
var split_transform_content = contents_items.split(',');
for(var i=0; i<split_transform_content.length-1; i++){
$('#'+'content' + split_transform_content[i]).hide(200);
document.getElementById('subitem' + split_transform_content[i]).className = '';
}
$('#'+'content' + id_content).show(200);
document.getElementById('subitem' + id_content).className = 'active_itens';
}
function SetItemsPanel2(str_items,str_contents)
{
panel1_topanel2 = str_items;
contents_items = str_contents;
}
function LoadContentService(id_content)
{
var dataString = 'id_content=' + id_content;
$.ajax(
{
type: "GET",
url: "includes/get_content_service.php",
data: dataString,
/*
beforeSend: function()
{
},
*/
success: function(result)
{
$("#content_page_service").html(result);
RefreshSizePanels();
}
});
}
function resizeAutoWindowCss()
{
if(window.innerWidth >= 960)
{
document.getElementById('mobile').style.marginLeft = '30px';
document.getElementById('tablet').style.marginLeft = '30px';
document.getElementById('tablet').style.display = "block";
}
else if(window.innerWidth >= 768 && window.innerWidth < 960)
{
document.getElementById('mobile').style.marginLeft = '30px';
document.getElementById('tablet').style.marginLeft = '0px';
document.getElementById('tablet').style.display = "none";
}
else
{
document.getElementById('mobile').style.marginLeft = '0px';
document.getElementById('tablet').style.marginLeft = '0px';
document.getElementById('tablet').style.display = "none";
}
}
window.onresize = function(event)
{
resizeAutoWindowCss();
}
function LoadContentEvents(date_link,fcal_var)
{
var dataString = 'date_link=' + date_link;
$.ajax(
{
type: "POST",
url: "includes/get_eventos_data.php"+fcal_var,
data: dataString,
beforeSend: function()
{
$("#events_data_page").html('<div style="position:relative;left:22px;top:35px;">Carregando eventos...</div>');
},
success: function(result)
{
$("#events_data_page").html(result);
}
});
}
setTimeout(function(){ resizeAutoWindowCss(); }, 50);
</script>]]>
|
320
| <![CDATA[<script>
function goSearchAjax()
{
document.getElementById('bg_search_ajax').style.display = "block";
var dataString = 'spkeyword=' + document.getElementById('keyword').value;
$.ajax(
{
type: "GET",
url: "includes/get_search_ajax.php",
data: dataString,
/*
beforeSend: function()
{
$("#box_search_ajax").html('<div style="position:relative;top:30px;">Buscando por \'' + document.getElementById('keyword').value + '\'...</div>');
},
*/
success: function(result)
{
$("#box_search_ajax").html(result);
}
});
}
function hideSearchAjax()
{
document.getElementById('bg_search_ajax').style.display = "none";
}
</script>]]>
|
998
| <![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>]]>
|