

registerPloneFunction( function() {

var data = { 
              'http://www.agrometeorology.org/imageshomepage/insam-photo-01/image_large': { caption: 'Calibrations of Wageningen University cup anemometers for wind measurements between multiple shelterbelts at Yambawa, northern Nigeria. The wind is coming from an unobstructed area. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-02/image_large': { caption: 'Microclimate and related measurements in shaded traditional and modern storage bins holding shelled maize near Mbeya, southern Tanzania. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-03/image_large': { caption: 'Wind measurements in a hedged agroforestry system with mulching and various tillage modes, Laikipia, central Kenya. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-04/image_large': { caption: 'Testing the shaded Piche evaporimeter as an auxiliary anemometer under shade trees above coffee in Lyamungu, on the slopes of the Kilimanjaro, northern Tanzania. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-05/image_large': { caption: 'Wind measurement system above coffee under shade trees in Lyamungu, on the slopes of the Kilimanjaro, northern Tanzania. [Photo Kees Stigter]' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-06/image_large': { caption: 'Settlement of blown sand through wind reduction around Leptadenia trees near Geteina, close to the White Nile in central Sudan. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-07/image_large': { caption: 'Panicum maximum hedgerows for intercropping, reducing water runoff and soil loss by self-terracing on sloping land in Machakos, eastern Kenya. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-08/image_large': { caption: 'Simultaneous land use by nomads and sedentary farmers between multiple shelterbelts for protection from hot winds at Yambawa, northern Nigeria. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-09/image_large': { caption: 'Parkland agroforestry with decreasing numbers of trees, endangering protection from hot winds and provoking desertification when overgrazed. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-10/image_large': { caption: 'Intercropping of millet on ridges and mounds with Bambara nuts, in the lee of a shelterbelt at Yambawa, northern Nigeria. [Photo Kees Stigter]' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-11/image_large': { caption: 'Undulating settled sands with returning grasses in an area reclaimed from desertification between multiple shelterbelts at Yambawa, northern Nigeria. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-12/image_large': { caption: 'On-farm underground sorghum storage near Sennar, central Sudan, with stored and protected microclimate monitoring equipment. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-13/image_large': { caption: 'Water harvesting experiments on the eastern bank of the Blue Nile, central Sudan, for tree and bush establishment. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-14/image_large': { caption: 'Experiments with shaded Piche evaporimeters as auxiliary anemometers in Wad Medani, central Sudan. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-15/image_large': { caption: 'Preparation for water holding capacity in tree establishment on shallow hill soils in Yunnan Province, southwest China.  [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-16/image_large': { caption: 'Student practicals on straw and life mulches microclimate at the Centre for Advanced Studies in Agricultural Meteorology (CASAM), Pune, India. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-17/image_large': { caption: 'Alley cropping with prunings to be incorporated into the ground as a form of mulching for nutrient purposes in Machakos, eastern Kenya. [Photo Kees Stigter]' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-18/image_large': { caption: 'Alley cropping with prunings to be incorporated into the ground as a form of mulching for nutrient purposes in Machakos, eastern Kenya. [Photo Kees Stigter]' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-19/image_large': { caption: 'Coleus barbatus as wind protection in a hedged agroforestry system with Robusta grevillea trees protecting maize in Laikipia, central Kenya. The gap showing the maize is a design error. [Photo Kees Stigter] ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-20/image_large': { caption: 'Insects on millet dried in the field, in the lee of a shelterbelt in a season with late rains in Yambawa, northern Nigeria. [Photo Kees Stigter]' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-21/image_large': { caption: 'Field calibration of saltating sand catchers (made from coffee cups) for elimination of creep components in a desert area near Geteina, central Sudan. [Photo Kees Stigter]' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-22/image_large': { caption: 'Blown sand caught in front of and within a Eucalyptus shelterbelt at Sihaimab, with sand and wind measuring equipment, Gezira Irrigation Scheme, central Sudan. [Photo Kees Stigter]' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-23/image_large': { caption: 'More than 2m of accumulated sand caught in front of and within a Eucalyptus shelterbelt at Sihaimab, with sand and wind measuring equipment, Gezira Irrigation Scheme, central Sudan. [Photo Kees Stigter]' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-24/image_large': { caption: 'Deepest penetration of gravity shaped blown sand within a Eucalyptus shelterbelt at Sihaimab, Gezira Irrigation Scheme, central Sudan. [Photo Kees Stigter]  ' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-25/image_large': { caption: 'Contour hedgerow intercropping of Senna siamea with maize for reduction of run off and soil loss on sloping land, at the expense of competition for resources, at the ICRAF experiment station, Machakos, eastern Kenya. [Photo Kees Stigter]' },
              'http://www.agrometeorology.org/imageshomepage/insam-photo-26/image_large': { caption: 'Efficient catching and settling of blown sand by Panicum turgidum grasses, with Leptadenia trees in the background, in a desert area near Geteina, central Sudan. [Photo Kees Stigter]  ' }
 };

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


});



