

registerPloneFunction( function() {

var data = { 
              'http://www.conservationnw.org/slideshow/lake-whatcom-watershed/Chant1-01-Aric-Meyer.jpg/image_large': { caption: 'which can harm water quality.' },
              'http://www.conservationnw.org/slideshow/lake-whatcom-watershed/aricinoldgrowthlakewhatcom.jpg/image_large': { caption: 'Right now nearly half of those lands, so, a quarter of the watershed, are being considered for protection as a forest preserve, which would allow these forests to mature into old growth. The Whatcom County Council has voted for the preserve and a review of the land exchange is ongoing, with expected finish date in early 2010.' },
              'http://www.conservationnw.org/slideshow/lake-whatcom-watershed/Chant2-72-Aric-Meyer.jpg/image_large': { caption: 'Currently, half of the watershed is commercially logged by the state.' },
              'http://www.conservationnw.org/slideshow/lake-whatcom-watershed/lake-whatcom-jonah-keith.jpg/image_large': { caption: 'Lake Whatcom supplies drinking water for 90,000 people in northwest Washington.' },
              'http://www.conservationnw.org/slideshow/lake-whatcom-watershed/Chant1-02-Aric-Meyer.jpg/image_large': { caption: 'Before logging...' },
              'http://www.conservationnw.org/slideshow/lake-whatcom-watershed/Chant1-05-Aric-Meyer.jpg/image_large': { caption: 'Logging affects the wildlife and people who depend upon the watershed.' },
              'http://www.conservationnw.org/slideshow/lake-whatcom-watershed/whatcom-watershed-paul-anderson.jpg/image_large': { caption: 'A new Lake Whatcom Forest Preserve would protect 25% of the watershed from logging.' },
              'http://www.conservationnw.org/slideshow/lake-whatcom-watershed/Chant1-39-Aric-Meyer.jpg/image_large': { caption: 'After logging.' },
              'http://www.conservationnw.org/slideshow/lake-whatcom-watershed/Chant2-35-Aric-Meyer.jpg/image_large': { caption: 'Logging in the watershed increases landslide risk.' },
              'http://www.conservationnw.org/slideshow/lake-whatcom-watershed/Chant1-10-Aric-Meyer.jpg/image_large': { caption: 'It increases sediment run-off...' },
              'http://www.conservationnw.org/slideshow/lake-whatcom-watershed/Chant2-22-Aric-Meyer.jpg/image_large': { caption: 'After.' },
              'http://www.conservationnw.org/slideshow/lake-whatcom-watershed/Chant2-07-Aric-Meyer.jpg/image_large': { caption: 'Before...' }
 };

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: 500,
                controller: true,
                duration: 500,
                captions: true,
                height: 375,
                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]';


});



