/*MOSTRA OCULTA OBJETO*/
function mostraOculta(ObjMu) {
	var val2=document.getElementById(ObjMu);
	if(val2.style.display == "none") {
  		val2.style.display = "";
 	} else {
  		val2.style.display = "none";
 	}
}

/*FUNÇÃO SLIDE DESTAQUES*/
$(document).ready(
	function() {
		/* SLIDE */
		var legenda = $("#legenda");
		
		legenda.css("opacity", 0.8);
		
		$(".imagens-slide").cycle({
			fx: "turnLeft",
			speed: 500,
			timeout: 4000,
			next: "#voltar",
			prev: "#avancar",
			pause: 1,
			before: showHidePaleta,
			after: mostraLegenda
		});
		
		function mostraLegenda() {
			legenda.html("<a href='" + this.href + "' target='"+this.target+"'>" + $(this).attr("rel") + "</a>");
			legenda.slideDown(300);
		}
		function showHidePaleta() {
			legenda.slideUp(300);
			legenda.empty();
		}
	}
);

/*FUNÇÃO TOOLTIPS*/
$(function() {
	$('.tooltip').tooltip({
		track: true,
		delay: 0,
		showURL: false,
		showBody: " - ",
		fade: 100
	});
})

/*DIRECIONAMENTO CIDADE*/

<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
