var scrollbar;

$(function() {            
    // initialize scrollable  
    $("div#toutScroller").scrollable({ 
        size: 2, 
        items: '#toutContainer',   
        hoverClass: 'hover' 
    });
});
$(function() {
    $(".accordionPaneContainer").accordion({
        header: ".accordionPaneHeader",
        autoHeight: false,
        clearStyle: true,
        alwaysOpen: false,
        active: false
    }).bind("accordionchange", function(event, ui) {
        scrollbar.scrollbar("resizeHandle");
        scrollbar.scrollbar("safariFix");
    });

    scrollbar = $(".accordionPaneContainer").scrollbar({ scrollViewWidth: 230, scrollViewHeight: 548, showArrows: true, slowScrollFactor: 1 / 40, slowScrollTimestep: 10 });
    var scrollbar1 = $(".contentDescription").scrollbar({ scrollViewWidth: 570, scrollViewHeight: 100, showArrows: true });
});
