

registerPloneFunction( function() {

var data = { 
              'http://www.oxfamamerica.org/slideshows/new-coalition-to-monitor-resource-revenues-in-cambodia/crrt-conference.jpg/image_large': { caption: 'Traditional dance at performance at the announcement of the Cambodians for Resource Revenue Transparency in Phnom Penh. Two hundred people attended the meeting, and included religious leaders, academics, government representatives, and international donors. Representatives from Cambodia\'s Supreme National Economic Council and the World Bank spoke at the event. Photo: CRRT' }
 };

new Slideshow('myShow', data, 
                {hu: '', classes: ['slideshowfolder'], loader: {'animate': ['loader-#.png', 12]}, 
                paused: false,
                thumbnails: true,
                random: false,
                fast: false,
                replace: [/image_large/, 'image_tile'],
                delay: 5000,
                width: 600,
                controller: true,
                duration: 500,
                captions: true,
                height: 450,
                linked: false,
                loop: true
                });


cssQuery('.slideshowfolder-controller li.pause a')[0].title = 'Play / Pause [P]';


cssQuery('.slideshowfolder-controller li.prev a')[0].title = 'Previous [Left arrow]';


cssQuery('.slideshowfolder-controller li.next a')[0].title = 'Next [Right arrow]';


cssQuery('.slideshowfolder-controller li.last a')[0].title = 'Last [Shift + Right arrow]';


cssQuery('.slideshowfolder-controller li.first a')[0].title = 'First [Shift + Left arrow]';


});



