jQuery(document).ready(function(){

    debugging = false;//true;
    $.fn.ceebox.videos.base.param.allowScriptAccess = "sameDomain" //added to kill the permissions problem
    $(".ceebox").ceebox({
        titles:false,
        borderColor:'#dcdcdc',
        boxColor:"#fff"
    });

    $('.scroll-pane').jScrollPane();
    $('.scroll-pane-arrows').jScrollPane({
        showArrows: true,
        horizontalGutter: 10
    });

    if($('.cycle').size() > 0){
        $('.cycle').cycle({
            fx: 'fade',
            speed:  2500
        });
    }

});

function changeimage(obj,imgpath){
    obj.src=imgpath;
}
