

$(document).ready(function() {
	$('#conteudo').corner("bottom");
	$('.cont_esq').corner("bottom 5px");
	
		//links para ampliar as fotos na galeria
		$(".ampliar").fancybox();
		
		//links para exibir form de email
		$("#send_erro").hide(); // esconde as msgs de erros
		
		$("a#sbm").fancybox({
			'scrolling'		: 'no',
			'padding'       : 0,
			'titleShow'		: false,
			'onClosed'		: function() {
				$("#send_erro").hide();
				}
			});
		
		$("a#sbm2").fancybox({
			'scrolling'		: 'no',
			'padding'       : 0,
			'titleShow'		: false,
			'onClosed'		: function() {
				$("#send_erro").hide();
				}
			});
			
				
		$("a#cmnt").fancybox({
			'scrolling'		: 'no',
			'padding'       : 0,
			'titleShow'		: false,
			'onClosed'		: function() {
				$("#send_erro").hide();
				}
			});	
		$('.slide_fotos').show(); //exibe a div pai
		$(function() {
			$('.slide_fotos').show(); //exibe a div pai
				$('.slide_fotos').cycle({
					fx:     'fade',
					timeout: 6000,
					speed: 500,
					next:   '.next',
					prev:   '.previous'
				});
			});
	
	});

// SELEÇÃO DE MENU ------------------
function setActiveTab(tabID) {
	var currTabElem = document.getElementById(tabID);
	var classe = document.getElementById(tabID).className;
	currTabElem.setAttribute("class", "atual");
	currTabElem.setAttribute("className", "atual");
	return;
}
