$(document).ready(function(){ 

//ESCONDE O CONTEUDO QUE SE ENCONTRA FORA DOS LIMTES DO SLIDESHOW	
	$("#slideshow").css("overflow", "hidden");
	$('#slideshow img').hide();
	$('#slideshow img:first').show();

	//ANIMAÇÃO DO SLIDESHOW
	$('#slideshow').cycle({
		fx: 'fade', 
		speed:  1000,
		before: function() {  
            $('.ctitle').html(this.title); 
            $('.cdescription').html(this.alt); 
        } 
	});
		
});	


	function changeResource(child){
		$('.resources').slideUp();
		setTimeout(function(){
			$('.'+child).slideDown();
		}, 500);
		$('.menu-item').removeClass('current'); 
		$('.menu-item').addClass('other');
		$('.menu-item-'+child).addClass('current');
		$('.menu-item-'+child).removeClass('other');  

	}

	


