

registerPloneFunction( function() {

var data = { 
              'http://querformate.com/kochen/1a.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/1d.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/2.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/2a.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/2b.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/2c.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/2d.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/4.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/5.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/7.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/7a.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/7aa.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/7b.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/8.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/9.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/9a.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/9b.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/9c.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/9d.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/9e.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/9g.jpg/image_large': { caption: '' },
              'http://querformate.com/kochen/9h.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: 3000,
                width: 776,
                controller: true,
                duration: 650,
                captions: false,
                height: 516,
                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]';


});


