	$("#menu-topo a").live(
		"mouseover mouseleave", 
		function(event) {
			if ( event.type == "mouseover" ) {
				$(this).stop(true,true).animate({ 'color': '#fff' });
			} else {
				$(this).stop(true,true).animate({ 'color': '#D99300' });
			}
		}
);

$(document).ready(function() {
	$(".fancybox-thumb").fancybox({
		revealEffect	: 'none',
		hideEffect		: 'none',
		helpers	: {
			title	: {
				type: 'outside'
			},
			overlay	: {
				opacity : 0.8,
				css : {
					'background-color' : '#000'
				}
			},
			thumbs	: {
				width	: 50,
				height	: 50
			}
		}
	});
});

function mycarousel_initCallback(carousel) {
    jQuery('.jcarousel-control a').bind('click', function() {
        carousel.scroll(jQuery.jcarousel.intval(jQuery(this).text()));
        return false;
    });

   
    jQuery('.next-chamada').bind('click', function() {
        carousel.next();
        return false;
    });

    jQuery('.prev-chamada').bind('click', function() {
        carousel.prev();
        return false;
    });
};

// Ride the carousel...
jQuery(document).ready(function() {
    jQuery("#chamada-lateral").jcarousel({
   		scroll: 1,
		wrap: 'circular',
		animation:'slow',
		auto: 5,
		
        initCallback: mycarousel_initCallback,
        // This tells jCarousel NOT to autobuild prev/next buttons
        buttonNextHTML: null,
        buttonPrevHTML: null
    });
});


function mycarousel_initCallback2(carousel) {
    jQuery('.jcarousel-control a').bind('click', function() {
        carousel.scroll(jQuery.jcarousel.intval(jQuery(this).text()));
        return false;
    });

   
    jQuery('.next-chamada-home').bind('click', function() {
        carousel.next();
        return false;
    });

    jQuery('.prev-chamada-home').bind('click', function() {
        carousel.prev();
        return false;
    });
};

// Ride the carousel...
jQuery(document).ready(function() {
    jQuery("#chamada-home-975").jcarousel({
   		scroll: 1,
		wrap: 'circular',
		animation:'slow',
		auto: 5,
		
        initCallback: mycarousel_initCallback2,
        // This tells jCarousel NOT to autobuild prev/next buttons
        buttonNextHTML: null,
        buttonPrevHTML: null
    });
});
