// START CAROUSEL
/**
 * We use the initCallback callback
 * to assign functionality to the controls
 */
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();
    });
	
};

// Ride the carousel...
jQuery(document).ready(function() {
    jQuery('.packages-scroller').jcarousel({
        auto: 8,
		scroll: 1,
        wrap: 'last',
		easing: 'linear',
		visible: 1,
		animation: 1000,
        initCallback: mycarousel_initCallback,
        // This tells jCarousel NOT to autobuild prev/next buttons
        buttonNextHTML: null,
        buttonPrevHTML: null
    });
});
// END CAROUSEL

