//var jQuerySlideshow = jQuery.noConflict();

//var slideShow = {
//    run : function() {
//        $('.imageList').cycle({
//                    fx : 'fade',
//                    speed : 1500,
//                    timeout : 3000,
//                    pause : true,
//                    pager : '.navigation',
//                    pagerEvent: 'click',
//                    pagerAnchorBuilder : function(idx, slide) {
//                        $('.slideshow').css({"overflow" : "visible"});
//                        
//                        return '.navigation a:eq(' + idx + ')';
//                    }
//                });
//    }
//};


var slideShow = {
    run : function() {
        $('#slideshow_1 .imageList').cycle({
                    fx : 'fade',
                    speed : 1500,
                    timeout : 3000,
                    pause : true,
                    pager : '#slideshow_1 .navigation',
                    pagerEvent: 'click',
                    pagerAnchorBuilder : function(idx, slide) {
                        return '#slideshow_1 .navigation a:eq(' + idx + ')';
                    }
        });
        
        $('#slideshow_2 .imageList').cycle({
                    fx : 'fade',
                    speed : 1500,
                    timeout : 3000,
                    pause : true,
                    pager : '#slideshow_2 .navigation',
                    pagerEvent: 'click',
                    pagerAnchorBuilder : function(idx, slide) {
                        return '#slideshow_2 .navigation a:eq(' + idx + ')';
                    }
        });
    }
};


$(document).ready(function() {
    slideShow.run();
});
