

registerPloneFunction( function() {

var data = { 
              'http://rodhoodphotography.com/main/boudoir/plastic-wrap/melanie-wrapped-web012.jpg/image_large': { caption: 'Wrapped #1' },
              'http://rodhoodphotography.com/main/boudoir/plastic-wrap/melanie-wrapped-web016.jpg/image_large': { caption: 'Wrapped #2' },
              'http://rodhoodphotography.com/main/boudoir/plastic-wrap/melanie-wrapped-web023.jpg/image_large': { caption: 'Wrapped #3' },
              'http://rodhoodphotography.com/main/boudoir/plastic-wrap/melanie-wrapped-web003.jpg/image_large': { caption: 'Wrapped #4' },
              'http://rodhoodphotography.com/main/boudoir/plastic-wrap/melanie-wrapped-web013.jpg/image_large': { caption: 'Wrapped #5' },
              'http://rodhoodphotography.com/main/boudoir/plastic-wrap/melanie-wrapped-web007.jpg/image_large': { caption: 'Wrapped #6' },
              'http://rodhoodphotography.com/main/boudoir/plastic-wrap/melanie-wrapped-web022.jpg/image_large': { caption: 'Wrapped #8' },
              'http://rodhoodphotography.com/main/boudoir/plastic-wrap/melanie-wrapped-web029.jpg/image_large': { caption: 'Wrapped #9' },
              'http://rodhoodphotography.com/main/boudoir/plastic-wrap/melanie-wrapped-web032.jpg/image_large': { caption: 'Wrapped #10' },
              'http://rodhoodphotography.com/main/boudoir/plastic-wrap/maryanne-wrapped-web019.jpg/image_large': { caption: 'Wrapped #11' },
              'http://rodhoodphotography.com/main/boudoir/plastic-wrap/maryanne-wrapped-web013.jpg/image_large': { caption: 'Wrapped #12' },
              'http://rodhoodphotography.com/main/boudoir/plastic-wrap/maryanne-wrapped-web029.jpg/image_large': { caption: 'Found by the trail #1' },
              'http://rodhoodphotography.com/main/boudoir/plastic-wrap/maryanne-wrapped-web026.jpg/image_large': { caption: 'Found by the trail #2' }
 };

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]';


});


