      function mycarousel_initCallback(carousel) {
            /*
            jQuery('.jcarousel-control a').bind('click', function() {
                carousel.startAuto(0);
                carousel.scroll(jQuery.jcarousel.intval(jQuery(this).text()));
                return false;
            });
            */

            jQuery('.jcarousel-control a').bind('mouseover', function() {
                carousel.startAuto(0);
                carousel.scroll(jQuery.jcarousel.intval(jQuery(this).text()));
                return false;
            });

            jQuery('.jcarousel-scroll select').bind('change', function() {
                carousel.options.scroll = jQuery.jcarousel.intval(this.options[this.selectedIndex].value);
                return false;
            });

            jQuery('#mycarousel-next').bind('click', function() {
                carousel.next();
                return false;
            });

            jQuery('#mycarousel-prev').bind('click', function() {
                carousel.prev();
                return false;
            });
        };




    //Captify
    $(document).ready(function(){


        jQuery("#mycarousel").jcarousel({
            scroll: 1,
            auto: 4,
            visible: 1,
            wrap: 'last',
            initCallback: mycarousel_initCallback,
            // This tells jCarousel NOT to autobuild prev/next buttons
            buttonNextHTML: null,
            buttonPrevHTML: null
        });

	console.log("hm?");

        $('img.captify').captify({
        // all of these options are... optional
        // speed of the mouseover effect
        speedOver: 'fast',
        // speed of the mouseout effect
        speedOut: 'normal',
        // how long to delay the hiding of the caption after mouseout (ms)
        hideDelay: 500,
        // 'fade', 'slide', 'always-on'
        animation: 'always-on',
        // text/html to be placed at the beginning of every caption
        prefix: '',
        // opacity of the caption on mouse over
        opacity: '0.7',
        // the name of the CSS class to apply to the caption box
        className: 'caption-bottom',
        // position of the caption (top or bottom)
        position: 'bottom',
        // caption span % of the image
        spanWidth: '100%'
        });
    });
