//---------------------------------------------------------------------------
// Funções jQuery - Cubic Creative Studio
// Endereço: http://www.cubic.com.br
//---------------------------------------------------------------------------


//---------------------------------------------------------------------------
// Função Mapa do Site - Mostra os links das páginas no rodapé
//---------------------------------------------------------------------------

$(document).ready(function(){
	$(".btn-mapa-do-site").click(function() {
		$("#mapa-do-site").slideToggle("slow")
		return false;
	});
});


//---------------------------------------------------------------------------
// FUNCAO DIV SCROLLER
//---------------------------------------------------------------------------

$(document).ready(function() {
	$("a.btn-scroll").hover(function() {
		$(this).children("div.scroll").animate({ opacity: 1, top: "80" }, 300);
	},
	function() {
		$(this).children("div.scroll").animate({ opacity: 1, top: "126" }, 300);
	});
});


//---------------------------------------------------------------------------
// FUNCAO DE ABA - TABS
//---------------------------------------------------------------------------

$(document).ready(function() {
	$(".btn-aba-produtos2").click(function() {
		$(".bg-botao2").css("background", "url(/img/bg-botao2.gif) no-repeat")
		$(".bg-botao1").css("background", "none")
		$(".aba-produtos1").animate({ opacity: "hide" }, 0)
		$(".aba-produtos2").animate({ opacity: "show" }, 0)
		return false;
	
	});
	
	$(".btn-aba-produtos1").click(function() {
		$(".bg-botao1").css("background", "url(/img/bg-botao.gif) no-repeat")
		$(".bg-botao2").css("background", "none")
		$(".aba-produtos2").animate({ opacity: "hide" }, 0)
		$(".aba-produtos1").animate({ opaciry: "show" }, 0)
		return false;
	
	});
	
});
































