

registerPloneFunction( function() {

var data = { 
              'http://www.soberliving.com/facility-images/6111_62bddbweb.jpg/image_large': { caption: 'This is a typical bedroom at The Rose.  The Rose is a primary care facility right on the sand where women are highly monitored during the first 30 to 60 days of sobriety.' },
              'http://www.soberliving.com/facility-images/6111_62ndkitchweb.jpg/image_large': { caption: 'The Rose for Women Kitchen: Meals are Prepared by a Professional Chef.' },
              'http://www.soberliving.com/facility-images/6111_62ndlivweb.jpg/image_large': { caption: 'Between workshops, therapy, 12-Step support group meetings and outdoor activities, our clients days are full of positive esteem building activities.' },
              'http://www.soberliving.com/facility-images/6111b8x10-web.jpg/image_large': { caption: 'The Rose specializes in trauma as well as chemical dependency.' }
 };

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


});



