

registerPloneFunction( function() {

var data = { 
              'http://www.orindaacademy.org/student-activities/athletics/soccer/photo-gallery/athenian-jv-1/DSC04097.JPG/image_large': { caption: 'Athenian JV 1-1' },
              'http://www.orindaacademy.org/student-activities/athletics/soccer/photo-gallery/athenian-jv-1/DSC04129.JPG/image_large': { caption: 'Athenian JV 1-2' },
              'http://www.orindaacademy.org/student-activities/athletics/soccer/photo-gallery/athenian-jv-1/DSC04119.JPG/image_large': { caption: 'Athenian JV 1-3' },
              'http://www.orindaacademy.org/student-activities/athletics/soccer/photo-gallery/athenian-jv-1/DSC04092.JPG/image_large': { caption: 'Athenian JV 1-4' },
              'http://www.orindaacademy.org/student-activities/athletics/soccer/photo-gallery/athenian-jv-1/DSC04078.JPG/image_large': { caption: 'Athenian JV 1-5' },
              'http://www.orindaacademy.org/student-activities/athletics/soccer/photo-gallery/athenian-jv-1/DSC04079.JPG/image_large': { caption: 'Athenian JV 1-6' },
              'http://www.orindaacademy.org/student-activities/athletics/soccer/photo-gallery/athenian-jv-1/DSC04082.JPG/image_large': { caption: 'Athenian JV 1-7' },
              'http://www.orindaacademy.org/student-activities/athletics/soccer/photo-gallery/athenian-jv-1/DSC04093.JPG/image_large': { caption: 'Athenian JV 1-8' },
              'http://www.orindaacademy.org/student-activities/athletics/soccer/photo-gallery/athenian-jv-1/DSC04125.JPG/image_large': { caption: 'Athenian JV 1-9' }
 };

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: 560,
                controller: true,
                duration: 500,
                captions: true,
                height: 420,
                linked: true,
                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]';


});


