
Cufon.replace('h1,h2,h3,h4,h5,h6'); 
Cufon.replace('.fonts'); 



// What is $(document).ready ? See: http://flowplayer.org/tools/documentation/basics.html#document_ready
$(document).ready(function() {
    
        // OPTIONS POUR LE GRAND SLIDER
        var root = $("#scroller").scrollable({circular: true}).autoscroll({ autoplay: false });
        // provide scrollable API for the action buttons
        window.api = root.data("scrollable");
        // heeeeeeeeeeere we go.
        $("#chained").scrollable({circular: true, mousewheel: true, speed:100,}).navigator().autoscroll({
        interval: 6000		
        });	

        // OPTIONS POUR LE SLIDER 1/3
        var root = $("#scroller1d").scrollable({circular: true}).autoscroll({ autoplay: false });
        // provide scrollable API for the action buttons
        window.api = root.data("scrollable1d");
        // heeeeeeeeeeere we go.
        $("#chained1d").scrollable({circular: true, mousewheel: true, speed:100}).navigator(".navi1d").autoscroll({
        interval: 6000		
        });	
		
        // OPTIONS POUR LE SLIDER 1/2
        var root = $("#scroller2t").scrollable({circular: true}).autoscroll({ autoplay: false });	
        // provide scrollable API for the action buttons
        window.api = root.data("scrollable2t");
        // heeeeeeeeeeere we go.
        $("#chained2t").scrollable({circular: true, mousewheel: true, speed:100}).navigator(".navi2t").autoscroll({
        interval: 6000		
    	});


		api=jQuery("#chained, #chained2t, #scroller1d").scrollable({api:true});
	api.onBeforeSeek(function(){ jQuery("#chained DIV, #chained2t DIV, #chained1d DIV").fadeOut(900);}).onSeek(function(){ jQuery("#chained DIV, #chained2t DIV, #chained1d DIV").fadeIn(900); });
	

});
