

registerPloneFunction( function() {

var data = { 
              'http://www.hr.ucdavis.edu/slideshow/Ron%20at%20TGFS%20-%20large.jpg': { caption: 'Two men pose and smile from a scattering of folks before some white tents at a recent Thank Goodness for Staff event.' },
              'http://www.hr.ucdavis.edu/slideshow/Frontpage%20picture%201.jpg': { caption: 'A female student smiles in profile while assisted by two female UC Davis employees at the Buehler Alumni Center reception desk.' },
              'http://www.hr.ucdavis.edu/slideshow/Frontpage%20picture%202.jpg': { caption: 'Three female employees smile into the camera. ' },
              'http://www.hr.ucdavis.edu/slideshow/Frontpage%20picture%203.jpg': { caption: 'One man assists another in trying on a respirator mask in an office crowded with books and binders. ' },
              'http://www.hr.ucdavis.edu/slideshow/Frontpage%20picture%204.jpg': { caption: 'A man holds up a plastic bottle. Behind him is a table strewn with trash, being sorted as part of the University\'s recycling program.  ' },
              'http://www.hr.ucdavis.edu/slideshow/Frontpage%20picture%205.jpg': { caption: 'Two men in hardhats and reflective jackets, one with his arm around the other, pause for a photograph. ' },
              'http://www.hr.ucdavis.edu/slideshow/Frontpage%20picture%206.jpg': { caption: 'Seated at a round table, one among several at conference or workshop, a group of women converse.' }
 };

new Slideshow('myShow', data, 
                {hu: '', classes: ['slideshowfolder'], loader: {'animate': ['loader-#.png', 12]}, 
                paused: false,
                thumbnails: false,
                random: false,
                fast: false,
                replace: [/image_large/, 'image_tile'],
                delay: 5000,
                width: 970,
                controller: false,
                duration: 500,
                captions: false,
                height: 270,
                linked: false,
                loop: true
                });


cssQuery('.slideshowfolder-controller li.pause a').title = 'Play / Pause [P]';


cssQuery('.slideshowfolder-controller li.prev a').title = 'Previous [Left arrow]';


cssQuery('.slideshowfolder-controller li.next a').title = 'Next [Right arrow]';


cssQuery('.slideshowfolder-controller li.last a').title = 'Last [Shift + Right arrow]';


cssQuery('.slideshowfolder-controller li.first a').title = 'First [Shift + Left arrow]';


});


