

registerPloneFunction( function() {

var data = { 
              'http://dpweb.org/about-us/monks/thuong-toa-phuoc-tinh/image_large': { caption: 'The Venerable Phuoc Tinh, our eldest brother, from Dalat, Vietnam.' },
              'http://dpweb.org/about-us/monks/thay-phap-hai/image_large': { caption: 'Brother Phap Hai, from Brisbane, Australia.' },
              'http://dpweb.org/about-us/monks/thay-phap-dung/image_large': { caption: 'Brother Phap Dung, Abbott of Solidity Hamlet, from California, USA.' },
              'http://dpweb.org/about-us/monks/thay-phap-hung/image_large': { caption: 'Brother Phap Hung, from Nha Trang, Vietnam, and Canada.' },
              'http://dpweb.org/about-us/monks/thay-phap-thanh/image_large': { caption: 'Brother Bernard, or Phap Thanh, from Stuttgart, Germany.' },
              'http://dpweb.org/about-us/monks/thay-phap-ho/image_large': { caption: 'Brother Protection, or Phap Ho, from Stockholm, Sweden.' },
              'http://dpweb.org/about-us/monks/thay-man-tue/image_large': { caption: 'Brother Man Tue, from Hue, Vietnam.' },
              'http://dpweb.org/about-us/monks/thay-phap-de/image_large': { caption: 'Brother Phap De, from Minnesota, USA.' },
              'http://dpweb.org/about-us/monks/thay-phap-huan/image_large': { caption: 'Brother Phap Huan, from Nha Trang, Vietnam.' },
              'http://dpweb.org/about-us/monks/thay-phap-luu/image_large': { caption: 'Brother Stream, or Phap Luu, from Connecticut, USA.' },
              'http://dpweb.org/about-us/monks/thay-phap-tuyen/image_large': { caption: 'Brother Phap Tuyen, from Saigon, Vietnam.' },
              'http://dpweb.org/about-us/monks/thay-phap-nha/image_large': { caption: 'Brother Phap Nha, from Quang Tri, Vietnam.' }
 };

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


});


