

registerPloneFunction( function() {

var data = { 
              'http://querformate.com/schlafen/1.jpg/image_large': { caption: '' },
              'http://querformate.com/schlafen/2.jpg/image_large': { caption: '' },
              'http://querformate.com/schlafen/3.jpg/image_large': { caption: '' },
              'http://querformate.com/schlafen/4.jpg/image_large': { caption: '' },
              'http://querformate.com/schlafen/5.jpg/image_large': { caption: '' },
              'http://querformate.com/schlafen/6.jpg/image_large': { caption: '' },
              'http://querformate.com/schlafen/7.jpg/image_large': { caption: '' },
              'http://querformate.com/schlafen/8.jpg/image_large': { caption: '' },
              'http://querformate.com/schlafen/9.jpg/image_large': { caption: '' },
              'http://querformate.com/schlafen/9a.jpg/image_large': { caption: '' },
              'http://querformate.com/schlafen/9b.jpg/image_large': { caption: '' },
              'http://querformate.com/schlafen/9c.jpg/image_large': { caption: '' }
 };

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


});


