

registerPloneFunction( function() {

var data = { 
              'http://chancellor.ucla.edu/photos/cultural-events/athletic-hall-of-fame-induction-1.jpg/image_large': { caption: 'UCLA Athletic Hall of Fame Dinner and Induction Ceremony – Coach Valorie Kondos Field and Olympian Rafer Johnson with Chancellor and Mrs. Block. (October 2009)' },
              'http://chancellor.ucla.edu/photos/cultural-events/pauley-campaign-1.jpg/image_large': { caption: 'Pauley Pavilion Campaign Kickoff – Chancellor Block speaks at the event announcing the Campaign of Champions to renovate Pauley Pavilion. (May 2009)' },
              'http://chancellor.ucla.edu/photos/cultural-events/pauley-campaign-2.jpg/image_large': { caption: 'Pauley Pavilion Campaign Kickoff – Chancellor Block greets Jim Collins (alumnus, philanthropist and good friend of UCLA). (May 2009)  ' },
              'http://chancellor.ucla.edu/photos/cultural-events/mens-basketball-banquet-1.jpg/image_large': { caption: 'Men\'s Basketball Banquet – Chancellor Block congratulates the men’s basketball team on their season. (April 2009) ' },
              'http://chancellor.ucla.edu/photos/cultural-events/tft-gala-1.jpg/image_large': { caption: 'UCLA School of Theater, Film and Television\'s Benefit Gala, “One Night Only...With A Little Help From Our Friends”—Tom Hanks and Martin Short, who starred in the reading of "You Can\'t Take it With You,” with Chancellor Block and Dean Rosen. (Photo credit: Juan Tallo) (December 2008) ' },
              'http://chancellor.ucla.edu/photos/cultural-events/tft-gala-2.jpg/image_large': { caption: 'UCLA School of Theater, Film and Television\'s Benefit Gala, “One Night Only...With A Little Help From Our Friends”—Chancellor and Mrs. Block with Tom Hanks, donor Jonathan Zakin and Dean Rosen. (Photo credit: Juan Tallo) (December 2008)  ' },
              'http://chancellor.ucla.edu/photos/cultural-events/football-game-1.jpg/image_large': { caption: 'UCLA Football Game – Chancellor and Mrs. Block enjoy the game against the University of Washington. (November 2008)   ' },
              'http://chancellor.ucla.edu/photos/cultural-events/gala-in-the-garden.jpg/image_large': { caption: 'Gala in the Garden — Chancellor Block enjoys the Hammer Museum’s Gala in the Garden with UCLA supporters Edythe and Eli Broad and June Poust, executive director of professional schools development. (October 2008)' }
 };

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


});


