// JavaScript Document




/*SLIDER*/

 J(document).ready(function() {

            

            J('#yourSliderId').DDSlider({

				

				nextSlide: '.slider_arrow_right',

				prevSlide: '.slider_arrow_left',

				selector: '.slider_selector'

				

				});

            

        });





/*ABAS*/



J(document).ready(function() {



	//When page loads...

	J(".tab_content").hide(); //Hide all content

	J("ul.tabs li:first").addClass("active").show(); //Activate first tab

	J(".tab_content:first").show(); //Show first tab content



	//On Click Event

	J("ul.tabs li").click(function() {



		J("ul.tabs li").removeClass("active"); //Remove any "active" class

		J(this).addClass("active"); //Add "active" class to selected tab

		J(".tab_content").hide(); //Hide all tab content



		var activeTab = J(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content

		J(activeTab).fadeIn(); //Fade in the active ID content

		return false;

	});



});





//Menu



J(document).ready(function() {

	navigationPrimary();

});



function navigationPrimary() {

	J('#navigation_primary li').removeClass('hover');

	J('#navigation_primary li a')

		.css({ opacity: 1.0 })

		.mouseover(function() {				

			J(this).stop().animate(

				{ opacity: 0.0 }

			, 300);

		})

		.mouseout(function() {

			J(this).stop().animate(

				{ opacity: 1.0 }

			, 1000);

		});

}





//Cufon



Cufon.replace('h2'); // Works without a selector engine

Cufon.replace('h3');

Cufon.replace('#top-direito');



