jQuery.easing.easeOutQuart = function (x, t, b, c, d) {
    return -c * ((t=t/d-1)*t*t*t - 1) + b;
};

jQuery(function( jQuery ){
    jQuery('#slideshow').serialScroll({
        items:'li',
        prev:'#screen a.prev',
        next:'#screen a.next',
        offset:-20, //when scrolling to photo, stop 230 before reaching it (from the left)
        start:0, //as we are centering it, start at the 2nd
        duration:1200,
        force:true,
        stop:true,
        lock:false,
        cycle:false, //don't pull back once you reach the end
        easing:'easeOutQuart', //use this easing equation for a funny effect
        jump: true //click on the images to scroll to them
    });
});

/*
jQuery(function( jQuery ){
    jQuery(document).ready(function() {
        jQuery('#aa').cluetip({
            local: true,
            activation: 'click',
            closeText: 'fermer',//todo
            dropShadow: false,
            sticky: true,
            showTitle: false,
            cluetipClass: 'jbm',
            width: 200,
            height: 300
        });
    });
});
*/