

registerPloneFunction( function() {

var data = { 
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/lower-map/image_large': { caption: 'A Map of the lower Elwha River.  As your eye looks toward the top of the map, you are following the flow of the river out into the Strait of Juan de Fuca.  Look for the two dams, and consider where the salmon might go when they are removed.  *map created by NOAA fisheries ' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/aerial-mouth-side/image_large': { caption: 'View of patches of forest, sediment, and features in the estruary.  Note the wetland areas to the left and right of the main channel.  Looking down what might impact the flow of water, gravel and wood from the river, adding to conditions along the shoreline?' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/overview-mouth/image_large': { caption: 'A nice bird\'s eye view of the changing channel and growth of the forest.  Look for old river channels and differences in the age of the returning forest.  Look for the finer sediment floating into the Strait of Juan de Fuca to collect along the beach.' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/side-view/image_large': { caption: 'This image gives us a great view down the Strait of Juan de Fuca.  Where will the sediment go when the flooding river flows into the Strait?  How will the estruary and habitat for young salmon and other fish change?' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/cut-bank-photo/image_large': { caption: 'Looking upstream in the lower river, and the forest and banks on the sides.  Look for features on the side of the river, which might erode and providing gravel and sand coming into the river.' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/photo-side-channel/image_large': { caption: 'Getting ready to investigate the water chemistry of a channel of the Lower River.  Each channel can have slightly different conditions based on upsteam inputs and structures.  ' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/photo-students-hatchery/image_large': { caption: 'Students from Ballard High School investigate water chemistry and sediment conditions in the lower river.  As the river bends right, the inside of the bend slows down and sand and gravel is dropped off.  ' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/photo-lower-dam/image_large': { caption: 'A photo of the lower of the two dams.  The Elwha Dam is 108 feet tall, and completed in 1913.  As this and the upper dam are removed, the reservoir area will be replanted with native vegetation to help support the restoration.' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/photo-middle-river/image_large': { caption: 'A good look into the habitat of the middle river.  This section is just outside the park boundary, but still shows the natural conditions around the river.' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/students-photo-middle/image_large': { caption: 'Students from the Homeshool Network study the temperature, oxygen levels, turbidity and conductivity of the water.  Is the water this clear at the creek or river near you?' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/upper-dam-photo/image_large': { caption: 'At 210 feet, Glines Canyon Dam will be the tallest dam ever to be removed.  Using specially designed saws, the dam will be cut out in pieces, with each carefully removed, and the reservoir slowly drained and replanted.    *Photo By Scott Church' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/delta-lake-mills/image_large': { caption: 'A bird\'s eye view of the sediment which has been dropped off when the river slows and enters the upper reservoir.  The sediment has been building for 80 years, allowing a forest to start growing out of the top.  Can you see different ages of tree coming in?' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/insect-collection/image_large': { caption: 'By carefully collecting a set sample of insects, students can check the habitat conditions and changes which have occured.  Why are insects good indicators of the health of an ecosystem?' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/measuring-wood/image_large': { caption: 'Students from Crescent High School measure the size of woody debris recently fallen into the river.  How could a fallen tree serve as habitat for salmon or change the structure of the river?' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/michaels-cabin-slide/image_large': { caption: 'One of two standing, historic homesteads on the upper river.  A visit to these old cabins allow you to get a glimpse of what life was life at the beginning of the last century, living off the land.  Could you live in a cabin like this?' },
              'http://elwhascienceed.org/explore-the-elwha/slide-show-images/geyser-valley/image_large': { caption: 'Geyser Valley in the upper elwha river is filled with great habitat for salmon.  Large woody debris and diverse sediment create a mixture of hiding places, resting spots, and places to spawn.  For salmon, this habitat will finally be accessed again after 100 years.  ' }
 };

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: 400,
                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]';


});


