

registerPloneFunction( function() {

var data = { 
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/midnight-sun-breaking-through-clouds-achilik-river/image_large': { caption: 'Midnight sun glows on hills, Aichilik River' },
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/clouds-and-midnight-sun-aichilik-river/image_large': { caption: 'Clouds and Midnight Sun, Aichilik River ' },
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/sun-draping-peaks-along-aichilik-river/image_large': { caption: 'Sun draping Peaks along Aichilik River' },
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/clouds-gathering-over-peaks-aichilik-river/image_large': { caption: 'Clouds gathering over peaks, Aichilik River' },
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/cinquefoil-flowers-aichilik-river/image_large': { caption: 'Cinquefoil flowers, Aichilik River' },
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/geum-flowers-kongakut-river/image_large': { caption: 'Geum Flowers, Kongakut River' },
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/mushroom-and-cranberry-leaves-aichilik-river/image_large': { caption: 'Mushroom on tundra, Aichilik River' },
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/lupine-and-brooks-range-aichilik-river/image_large': { caption: 'Lupine and Brooks Range, Aichilik River' },
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/swallowtail-butterfly-in-wilderness-along-aichilik-river/image_large': { caption: 'Swallowtail butterfly in Wilderness along Aichilik River' },
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/cottongrass-is-key-calving-caribou-food-aichilik-river/image_large': { caption: 'Cottongrass is key calving caribou food, Aichilik River' },
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/wooly-lousewort-kongakut-river/image_large': { caption: 'Woolly Lousewort, Kongakut River' },
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/aufeis-and-wildflowers-aichilik-river/image_large': { caption: 'Aufeis and wildflowers, Aichilik River' },
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/arctic-refuge-wilderness-in-demarcation-bay/image_large': { caption: 'Arctic Refuge Wilderness in Demarcation Bay ' },
              'http://northern.org/media-library/photos/arctic/arctic-refuge-wilderness/ground-squirrel-babies-along-kongakut-river/image_large': { caption: 'Ground Squirrel babies along Kongakut River' }
 };

new Slideshow('myShow', data, 
                {hu: '', classes: ['slideshowfolder'], loader: {'animate': ['loader-#.png', 12]}, 
                paused: false,
                thumbnails: true,
                random: false,
                fast: true,
                replace: [/image_large/, 'image_tile'],
                delay: 3000,
                width: 600,
                controller: true,
                duration: 100,
                captions: true,
                height: 450,
                linked: true,
                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]';


});



