

registerPloneFunction( function() {

var data = { 
              'http://chancellor.ucla.edu/photos/year-1/1.jpg/image_large': { caption: '' },
              'http://chancellor.ucla.edu/photos/year-1/2.jpg/image_large': { caption: 'Announcing Gene Block as UCLA’s ninth chancellor. (December 2006)' },
              'http://chancellor.ucla.edu/photos/year-1/3.jpg/image_large': { caption: 'Passing of the baton from Acting Chancellor Emeritus Abrams at the Staff Picnic. (July 2007)' },
              'http://chancellor.ucla.edu/photos/year-1/4.jpg/image_large': { caption: 'Making his first address to UCLA staff (at the picnic). (July 2007)' },
              'http://chancellor.ucla.edu/photos/year-1/5.jpg/image_large': { caption: 'Meeting members of the community at a welcome reception. Judge Ernest Hiroshige, Journalist Tritia Toyota and UCLA Assistant Vice Chancellor of Government and Community Relations Keith Parker. (August 2007)' },
              'http://chancellor.ucla.edu/photos/year-1/6.jpg/image_large': { caption: 'Welcoming Gov. Schwarzenegger to a news conference announcing the naming of the Eli and Edythe Broad Center of Regenerative Medicine and Stem Cell Research. (September 2007) ' },
              'http://chancellor.ucla.edu/photos/year-1/7.jpg/image_large': { caption: 'Visiting the dorms as new and returning Bruins move in. (September 2007)' },
              'http://chancellor.ucla.edu/photos/year-1/8.jpg/image_large': { caption: 'Addressing new freshmen and transfer students in Pauley Pavilion. (September 2007)' },
              'http://chancellor.ucla.edu/photos/year-1/9.jpg/image_large': { caption: 'Getting to know new students. (September 2007)' },
              'http://chancellor.ucla.edu/photos/year-1/10.jpg/image_large': { caption: 'Dedicating the Biomedical Sciences Research Building and Orthopaedic Hospital Research Center. (September 2007)' },
              'http://chancellor.ucla.edu/photos/year-1/11.jpg/image_large': { caption: 'Fishing, early in the morning, during the Chancellor’s Leadership Retreat. (September 2007)' },
              'http://chancellor.ucla.edu/photos/year-1/12.jpg/image_large': { caption: 'Talking to alumni, parents and friends in downtown Los Angeles. (October 2007) ' },
              'http://chancellor.ucla.edu/photos/year-1/13.jpg/image_large': { caption: 'Thanking friends in Orange County for their support. (October 2007) ' },
              'http://chancellor.ucla.edu/photos/year-1/14.jpg/image_large': { caption: 'Getting to know Chancellor’s Associates. (October 2007)' },
              'http://chancellor.ucla.edu/photos/year-1/15.jpg/image_large': { caption: 'Congratulating Blue &amp; Gold Scholars. (October 2007)' },
              'http://chancellor.ucla.edu/photos/year-1/16.jpg/image_large': { caption: 'Welcoming families during Parents’ Weekend. (October 2007) ' },
              'http://chancellor.ucla.edu/photos/year-1/17.jpg/image_large': { caption: 'Attending the dedication of the Veteran Memorial Plaque. (November 2007) ' },
              'http://chancellor.ucla.edu/photos/year-1/18.jpg/image_large': { caption: 'Honoring UCLA’s sixth chancellor, Franklin Murphy. (November 2007) ' },
              'http://chancellor.ucla.edu/photos/year-1/19.jpg/image_large': { caption: 'Dedicating the California NanoSystems Institute (CNSI) building. (December 2007) ' },
              'http://chancellor.ucla.edu/photos/year-1/20.jpg/image_large': { caption: 'Receiving a challenge coin from Chief of Police Karl Ross at the UCPD Staff Appreciation Breakfast. (January 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/21.jpg/image_large': { caption: 'Attending the opening of the Make Art/Stop AIDS exhibition at the Fowler Museum, with Curator Robert Sember, Museum Director Marla Berns, Mrs. Carol Block and Professor David Gere (also curator of the exhibit). (February 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/22.jpg/image_large': { caption: 'Meeting members of the Latino Staff &amp; Faculty Association. (February 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/23.jpg/image_large': { caption: 'Celebrating the Academic Advancement Program’s (AAP) 35th anniversary. (February 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/24.jpg/image_large': { caption: 'With Mrs. Block, visiting a UCLA store . . . in Shanghai! (March 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/25.jpg/image_large': { caption: 'Congratulating postdoctoral scholar Martin Culjat. (March 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/26.jpg/image_large': { caption: 'Congratulating Wasserman Scholar Victoria Schells. (April 2008)' },
              'http://chancellor.ucla.edu/photos/year-1/27.jpg/image_large': { caption: 'Kicking off the School of Law’s capital campaign. (April 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/28.jpg/image_large': { caption: 'Speaking at the Ann C. Rosenfield Distinguished Community Partnership Prize awards ceremony. (April 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/29.jpg/image_large': { caption: 'Dedicating the Krieger Child Care Center’s expansion with children from the Early Care and Education program. (April 2008)' },
              'http://chancellor.ucla.edu/photos/year-1/30.jpg/image_large': { caption: 'Speaking to Westchester High School students, including 14 who were admitted to UCLA this year. (April 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/31.jpg/image_large': { caption: 'Chatting with Professor Edward McCabe, co-director of the UCLA Center for Society and Genetics, and Professor Linda McCabe at the barbecue on the eve of his inauguration. (May 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/32.jpg/image_large': { caption: 'Honoring the flag during the singing of the national anthem at his inauguration; UCLA alumnus Kareem Abdul-Jabbar, to the left of Chancellor Block, spoke at the event. (May 2008)' },
              'http://chancellor.ucla.edu/photos/year-1/33.jpg/image_large': { caption: 'Receiving the chancellor\'s medal from UC President Dynes at inauguration. (May 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/34.jpg/image_large': { caption: 'Delivering his inaugural address. (May 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/35.jpg/image_large': { caption: 'Enjoying UCLA Day, a new event for alumni families. (May 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/36.jpg/image_large': { caption: 'Hosting the Distinguished Student Reception. (May 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/37.jpg/image_large': { caption: 'Congratulating seniors at Senior Chill on their upcoming graduation. (May 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/38.jpg/image_large': { caption: 'Being honored by Santa Monica College President Chui L. Tsang, after delivering SMC’s commencement address. (June 2008)' },
              'http://chancellor.ucla.edu/photos/year-1/39.jpg/image_large': { caption: 'Speaking at the UCLA College of Letters and Science commencement ceremony. (June 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/40.jpg/image_large': { caption: 'Presenting The UCLA Medal to: Lloyd Cotsen, generous benefactor to UCLA. (Cotsen Institute of Archaeology, libraries, museums, research centers.) (May 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/41.jpg/image_large': { caption: 'Linda Griego, Bruin alumna, head of Griego Enterprises, Inc. and founder/owner of Engine Co. No. 28. (June 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/42.jpg/image_large': { caption: 'Richard Ziman, generous benefactor and friend to UCLA. (Richard S. Ziman Center for Real Estate, member of UCLA Anderson’s Council of Entrepreneurs and Board of Visitors.) (June 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/43.jpg/image_large': { caption: 'Charles Vest, president of the National Academy of Engineering. At left, Dean Vijay Dhir, UCLA Henry Samueli School of Engineering and Applied Science.  (June 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/44.jpg/image_large': { caption: 'Arriving at Beijing Airport. (June 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/45.jpg/image_large': { caption: 'Meeting with present and past presidents of the UCLA Alumni Association of Korea. (June 2008) ' },
              'http://chancellor.ucla.edu/photos/year-1/46.jpg/image_large': { caption: 'Enjoying his second Staff Picnic. (July 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]';


});


