


    
stepcarousel.setup({
    galleryid: 'big_scroller', //id of carousel DIV
    beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
    panelclass: 'item', //class of panel DIVs each holding content
    panelbehavior: {
        speed:500,
        wraparound:true,
        persist:false
    },
    defaultbuttons: {
        enable:true,
        moveby: 1,
        leftnav: ['/images/arrow_left.png', -64, 130],
        rightnav: ['/images/arrow_right.png', 30, 130]
    },
    autostep: {
        enable:true,
        moveby:1,
        pause:3000
    },
    statusvars: ['statusA', 'statusB', 'statusC'], // Register 3 "status" variables
    contenttype: ['inline'] // content type <--No comma following the very last parameter, always!
})


stepcarousel.setup({
    galleryid: 'carousel', //id of carousel DIV
    beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
    panelclass: 'item', //class of panel DIVs each holding content
    panelbehavior: {
        speed:500,
        wraparound:false,
        persist:false
    },
    defaultbuttons: {
        enable:true,
        moveby: 1,
        leftnav: ['/images/arrow_left1.jpg', -60, 10],
        rightnav: ['/images/arrow_right1.jpg', 40, 10]
    },
    autostep: {
        enable:true,
        moveby:1,
        pause:3000
    },
    statusvars: ['statusA', 'statusB', 'statusC'], // Register 3 "status" variables
    contenttype: ['inline'] // content type <--No comma following the very last parameter, always!
})



jQuery(document).ready(function() {

    $('#pause').click(function() {
        uppodSend('audioplayer1302','pause');
        $('#pause').hide();
        $('#play').show();
    })

    $('#play').click(function() {
        
        uppodSend('audioplayer1302','play');
        $('#pause').show();
        $('#play').hide();
    });

    setInterval(function() {
        doOpacity(jQuery('#center_container'));
        doOpacity(jQuery('#hidden_banner'));
    }, 3000);
    

    var offset = jQuery('#hidden_banner').offset();
    var top = offset.top;
    var left = offset.left;
    
    if (top > 1008) {
        jQuery('#hidden_banner').offset({
            top: 1008,
            left: left
        });
    }
});

function doOpacity(element) {
    var height = jQuery(element).height();
    jQuery('.opacity', element).height(height + 10);
}
