/*******************************
** FADE DA MENSAGEM
********************************/
$(document).ready(function() { 
	// FADE DA MENSAGEM
	$(".sucessoAni").fadeIn('fast');
	$(".sucessoAni").fadeOut(4500);
        $(".sucessoCnt").fadeIn('fast');
	$(".sucessoCnt").fadeOut(4500);
	
	
	//Div bordas arredondadas
	$('.divulgue').corner('10px');
	$('.foto').corner("#fff 8px");
	$('.fotoEquipe').corner('8px');
	$('.dadosEquipe').corner('8px');
	$('.comentario').corner('8px');
        $('.fdownloads').corner('8px');
		$('#headline').corner('8px');
		$('#novosAnimes').corner('8px');
        $('.epiDownloads').corner('5px');
        $('.screenshots').corner('8px');
        $('.msgComen').corner('6px');
        $('.fComenAnime').corner('8px');
        $('.fotoComenAutor').corner('6px');
       
	
	//Menu toogle
	//Hide (Collapse) the toggle containers on load
	$(".toggle_container"); 
	//Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state)
	$("h2.trigger").live('click',function(){
		$(this).toggleClass("active").next().slideToggle("slow");
		return false; //Prevent the browser jump to the link anchor
	});
        
        //Menu toogle
	//Hide (Collapse) the toggle containers on load
	$(".toggle_container2"); 
	//Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state)
	$("h2.trigger2").live('click',function(){
		$(this).toggleClass("active").next().slideToggle("slow");
		return false; //Prevent the browser jump to the link anchor
	});
	
	//Efeito zebra tabelas
	   $('table#tbanimes  tr:odd').addClass('zebraUm');
	   $('table#tbanimes  tr:even').addClass('zebraDois');
	   
		$(document).ready(function() {
			$("#coin-slider").coinslider({width:540, height:300, titleSpeed: 500, delay:4000});
		});
	});
