function checkboxOculta() {
	if (document.getElementById("div_oculta").style.display == "none")    			      
		document.getElementById("div_oculta").style.display = "block";		    
}

jQuery(document).ready(function() {
	/* Slideshow de fotos das cidades no Home (Nivo Slider) */
	jQuery('#slideshow-top #slider').nivoSlider({
		effect: 'fade', //Specify sets like: 'fold,fade,sliceDown'
		animSpeed: 700, //Slide transition speed
		pauseTime: 6000,
		directionNav: false, //Next & Prev
		directionNavHide: true, //Only show on hover
		controlNav: false, //1,2,3...
		controlNavThumbs: false, //Use thumbnails for Control Nav
		controlNavThumbsFromRel:false, //Use image rel for thumbs
		keyboardNav: false, //Use left & right arrows
		pauseOnHover: false, //Stop animation while hovering
		captionOpacity:0.8, //Universal caption opacity
	});
	
	/* Fancybox */
	jQuery("a.fancybox").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	280, 
		'speedOut'		:	280,
		'overlayShow'	:	true,
		'overlayColor'	:	"#000000",
		'overlayOpacity':	0.8,
		'centerOnScroll': 	true,
		'titlePosition' :	'inside'
	});
	
	/* Tipsy - Enhanced tooltips */
	jQuery('a.tipsy').tipsy({
		fade: true,
		gravity: 'n'
	});
	
	/* Navegação de conteúdo de cada cidade 
	jQuery("#cidade-conteudo div").hide();
	jQuery("#cidade-conteudo div:first").show();
	jQuery("#cidade-navegacao a").click(function() {
		var index = jQuery("#cidade-navegacao a").index(this);
		jQuery("#cidade-navegacao a").removeClass("ativo");
		jQuery(this).addClass("ativo");
		jQuery("#cidade-conteudo div").hide();
		jQuery("#cidade-conteudo div:eq("+index+")").fadeIn("slow");
	}); */
	
	/* Hover no Menu */
	jQuery("#menu a.menuitem:not(.selecionado)").hover(
		function() {
			jQuery(this).stop().animate({ color: "#619220" }, 700);
		},
		function() {
			jQuery(this).stop().animate({ color: "#683b2e" }, 700);
		}
	);
	
	jQuery("#menu .submenu ul li a:not(.selecionado)").hover(
			function() {
				jQuery(this).stop().animate({ color: "#b34e30" }, 500);
			},
			function() {
				jQuery(this).stop().animate({ color: "#2d480a" }, 500);
			}
		);

});
