﻿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();
        });
    };
     
    jQuery(document).ready(function() {
        jQuery('#mycarousel').jcarousel({
            auto: 4,
            wrap: 'circular',
            initCallback: mycarousel_initCallback
        });
    });
