

registerPloneFunction( function() {

var data = { 
              'http://realestateatitlan.com/Atitlan-villages/santiago-atitlan/2-bedrooms-waterfront/Casa%20C%20view%20from%20porch.jpg/image_large': { caption: 'Great view from the porch' },
              'http://realestateatitlan.com/Atitlan-villages/santiago-atitlan/2-bedrooms-waterfront/Casa%20orchid%20Sailboat.jpg/image_large': { caption: '2 pier and boat and sailboat' },
              'http://realestateatitlan.com/Atitlan-villages/santiago-atitlan/2-bedrooms-waterfront/sunrise-on-house-in-santiago-atitlan/image_large': { caption: 'One of the beautiful sunrise of this house' },
              'http://realestateatitlan.com/Atitlan-villages/santiago-atitlan/2-bedrooms-waterfront/Casa%20Santiago%20Volcanos%20Pier.jpg/image_large': { caption: 'Excellent waterfront with lawns and reeds' },
              'http://realestateatitlan.com/Atitlan-villages/santiago-atitlan/2-bedrooms-waterfront/Casa%20Santiago%20Cint%201.jpg/image_large': { caption: 'Across Santiago Atitlan, very private location' },
              'http://realestateatitlan.com/Atitlan-villages/santiago-atitlan/2-bedrooms-waterfront/Casa%20C%20West%20Porch.jpg/image_large': { caption: 'A porch all around the house' }
 };

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


});


