$(function() {
    $("#1, #2, #3").lavaLamp({
        fx: "backout", 
        speed: 700,
        click: function(event, menuItem) {
           //return false;
        }
    });
});

function rien(carousel){
//alert('ici');
  carousel.stopAuto();

}

function mycarousel_initCallback(carousel) {  


    jQuery('.lavaLampWithImage a').bind('mousemove', function() {
        carousel.scroll(jQuery.jcarousel.intval(this.name));	
	carousel.stopAuto();
        return false;
    });   

    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });

};


// Ride the carousel...
jQuery(document).ready(function() {
    jQuery("#mycarousel").jcarousel({
        scroll: 1,
        visible: 1,
        auto: 8,
        animation: 150,
	wrap: 'last',
        initCallback: mycarousel_initCallback,
        // This tells jCarousel NOT to autobuild prev/next buttons
        buttonNextHTML: null,
        buttonPrevHTML: null
    });
});


	
	
	

