// Custom javascript
jQuery(document).ready(function() {
    // Scroll character
    var options = {
        newsList: "#slogan",
        startDelay: 10,
        controls: false,
        stopOnHover: false,
        placeHolder1: " |"
    }
    jQuery().newsTicker(options);

    // Menu
    jQuery(function(){
        jQuery('ul.sf-menu').superfish({
            animation: {opacity:'show',height:'show'},
            dropShadows: false
        });
    });

    // Feature list
    $.featureList(
        $("#tabs li"),
        $("#output li"), {start_item:2}
    );

    // Shadowbox
    Shadowbox.init();
});

$(function(){
    // Product slider
    $('#slider-product').movingBoxes({
    startPanel   : 2,    // start with this panel
    wrap         : true, // psuedo wrapping - it just runs to the other end
    width        : 400,  // overall width of movingBoxes
    imageRatio   : 1,    // Image ration set to 1:1 (square image)
    buildNav     : true, // if true, navigation links will be added
    navFormatter : function(){ return "&#9679;"; } // function which returns the navigation text for each panel
   });
});

