jQuery(function($) {
    function frontcarousel(carousel) {
        $('#jcarousel-next').bind('click', function() {
            carousel.next();
            return false;
        });
        $('#jcarousel-prev').bind('click', function() {
            carousel.prev();
            return false;
        });
    };

    // Ride the carousel...
    
    $("#carousel").jcarousel({
        scroll: 1,
        wrap: 'circular',
        initCallback: frontcarousel,
        // This tells jCarousel NOT to autobuild prev/next buttons
        buttonNextHTML: null,
        buttonPrevHTML: null
    });
});
