//Callback Function for jCarousel
function mycarousel_initCallback(carousel)
{
    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};

$(document).ready(function() { 
		
		//Superfish
		$("ul.sf-menu").superfish({ 
            animation:   {opacity:'show',height:'show'},
            delay:     600 ,
			speed:     'slow'
        });
		
	//jCarousel
    jQuery('#nos-partenaires').jcarousel({
        auto: 1.5,
		animation: 1500,
        wrap: 'circular',
        initCallback: mycarousel_initCallback
    });
});
