

registerPloneFunction( function() {

var data = { 
              'http://www.rainiervalleyhistory.org/collections/featured-photos/gallery-2/marsBarPoster.jpg/image_large': { caption: '  <p>One of the most important things about working on content is to be  able to share it with a specific set of users, and give them different  types of access to your document.</p>  <p>Plone easily lets you control who can:</p>  <ul><li>View your content</li><li>Edit your content</li><li>Approve your content for publishing</li><li>Add new content</li></ul>  <p>You can give these permissions to individuals, or entire groups of people.</p>  ' },
              'http://www.rainiervalleyhistory.org/collections/featured-photos/gallery-2/popMonstersFlier_Aug27_TheMix_small.png/image_large': { caption: '  <p>Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story Story story story story</p>  ' }
 };

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: 16000,
                width: 400,
                controller: true,
                duration: 500,
                captions: true,
                height: 300,
                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]';


});



