

registerPloneFunction( function() {

var data = { 
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-25/image_large': { caption: 'The world\'s biodiversity is in serious trouble.   ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/2nd-1067-biolost-david-gilbert-web.jpg/image_large': { caption: 'Nearly half of the world’s forests and around one-third of its species have been lost in the past three decades.     ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives/image_large': { caption: 'Forests are home to over a billion people around the world whose livelihoods depend heavily on local biodiversity.      ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-2/image_large': { caption: 'Our oceans and rivers are dirty and over-fished. The world\'s supply of fish is nearly exhausted, with over 70 percent of wild fish stocks fully exploited, overexploited, or depleted.   ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-3/image_large': { caption: 'As biodiversity disappears, people around the world are becoming more vulnerable to food shortages, health threats and loss of livelihoods.     ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-4/image_large': { caption: 'The current neoliberal economic system, which promotes privatization, exports and trade liberalization, is accelerating the decline of our planet’s biodiversity.  ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-5/image_large': { caption: 'Corporations are reaping profits by buying up forests and agricultural land for plantations, cattle grazing and logs for export.   ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-6/image_large': { caption: 'Large-scale mining and fishing are polluting land and sea in order to satisfy the demand for oil and minerals.  ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-7/image_large': { caption: 'Huge infrastructure projects, including dams and roads, are forcing people to migrate to overflowing cities.   ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-8/image_large': { caption: 'Traditional knowledge, derived from centuries of interaction between people and their local biodiversity, is threatened by privatization and patents.  ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-9/image_large': { caption: 'The United Nations has declared 2010 the International Year of Biodiversity.     ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-24/image_large': { caption: 'This is a welcome initiative, as well as an opportunity to highlight the fact that the Convention on Biological Diversity is failing to live up to its commitments.' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-10/image_large': { caption: 'Friends of the Earth International knows that the health and diversity of ecosystems and species around the world is essential to the well-being, livelihoods and ultimately the very existence of humankind.   ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-11/image_large': { caption: 'Over 15,000 animal and plant species are threatened with extinction, and this rate is quickly increasing.  ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-12/image_large': { caption: 'To this day, many communities and Indigenous Peoples live interdependently with their surrounding biological diversity, and this in turn forms part of their culture and identity.  ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-13/image_large': { caption: 'We believe that local, indigenous and fisher people are best placed to care for the earth\'s biodiversity.   ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-14/image_large': { caption: 'Our groups around the world work with people on the ground to strengthen their rights in relation to forests and biodiversity.   ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-15/image_large': { caption: 'We help to implement both traditional and innovative practices, in order to restore and protect native species, secure communities’ access to land and protect their territories, and monitor protected areas.   ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-16/image_large': { caption: 'We develop and support alternative income generation projects that ensure sustainable livelihoods and preserve biodiversity.   ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-17/image_large': { caption: 'In contrast to chemically-intensive industrial agriculture, small-scale sustainable agriculture is key to preserving the earth\'s biodiversity.  ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-18/image_large': { caption: 'For people around the world, the natural world is a source of spirituality and beauty.  ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-19/image_large': { caption: 'Would you like to join the global movement of people around the world who are working to ensure the survival of our precious biodiversity?  ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-20/image_large': { caption: 'There are countless ways that you can link up with people working for biodiversity preservation, and we invite you to start by visiting our website www.foei.org.   ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-23/image_large': { caption: 'Here you can link up with the Friends of the Earth group closest to you, join our international cyber-activists’ list, and take part in our campaigns. ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-21/image_large': { caption: 'We look forward to working towards a biodiversity-rich future with you!  ' },
              'http://www.foei.org/en/get-involved/photo/biodiversity-photo-exhibit/our-biodiversity-our-lives-22/image_large': { caption: 'Most of the photos in this virtual exhibit were entries and winners in our 2009 photo competition. For permission to use any of them, or for information about our annual photo competition, please contact photos@foei.org.' }
 };

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: 8000,
                width: 600,
                controller: true,
                duration: 500,
                captions: true,
                height: 480,
                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]';


});



