

registerPloneFunction( function() {

var data = { 
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_1xx.jpg/image_large': { caption: 'Tehran\'s first autumn snow greeted me. The Alborz Mountains reach way above the city’s altitude of 5,000 feet.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_2.jpg/image_large': { caption: 'Hooman is a 17-year-old architecture student at a university in Tehran. He plays the cello and is a good photographer. Hooman is intelligent, curious, and a breath of fresh air—full of hope and stories.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_3.jpg/image_large': { caption: '“The One Thousand Year Old Scream” is the title of this sculpture in a Tehran gallery. It was as though this beautiful and powerful piece of carving contained the voice of a nation.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami4/image_large': { caption: 'A café in Central Tehran offers good coffee and the music of Yasmin Levy.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_5.jpg/image_large': { caption: 'Sarah suddenly came over to my table and asked if she could sit and talk. She asked me about San Francisco, Paris, and the cafes and the youth in the West. She had a longing for a less confining world.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_6.jpg/image_large': { caption: 'Three young students in a café near Tehran University enjoy a light moment.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami.jpg/image_large': { caption: 'Hooman wanted to talk about Italian cinema and music. He talked to me about his cello lessons and of music as an equalizer in the midst of conflict.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_8.jpg/image_large': { caption: 'Posters advertising plays, concerts, and galleries in the window of a coffee shop near Tehran University. Metaphors are often used in the arts in order to get the message past the limits of censorship.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_9.jpg/image_large': { caption: 'In Southern Tehran, a youth group performs an adaptation of Oedipus by Sophocles. The roles are played by young men and women who live in the southern neighborhoods of Tehran.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_10.jpg/image_large': { caption: 'A dramatic scene of Oedipus; the women are seated on a stage draped by thin fabric that creates a filter effect.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_11.jpg/image_large': { caption: 'The audience is seated on platforms that are moved on wheels from stage to stage, often in total darkness.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_13.jpg/image_large': { caption: 'The old and winding streets of Southern Tehran lead to “The House of Sun,” located in a poor drug-infested neighborhood in Southern Tehran. Their doors are open 12 hours a day providing a refuge for women prostitutes, most of whom are also drug addicts.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_16.jpg/image_large': { caption: 'Leila is a delightful and persistent woman who convinced the authorities a few years ago to allow her to open a drop-in center for prostitutes in one of the most destitute areas of Tehran. She relies on volunteer doctors, nurses, psychotherapists and others to meet the needs of the many women who visit the center every day.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_17.jpg/image_large': { caption: 'At the “House of Sun,” the women are taught to make handicrafts as a means of supporting themselves. They are also given medical care, supportive counseling, and are taught how to prevent the spread of AIDS.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_18.jpg/image_large': { caption: 'Majid offering a colorful collection of umbrellas at the Friday market.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_19.jpg/image_large': { caption: 'Nader at the Friday market was listening to his iPod and tending to his offerings for the day.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_20.jpg/image_large': { caption: 'Women may have to be covered up in public but what they wear in private is a different story!' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_21.jpg/image_large': { caption: 'On the bus by the central train station, Mohammad sat next to me. A retired veteran of Iran-Iraq war, he wears the heavy burden of the psychological wounds of the eight-year war. ' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_22.jpg/image_large': { caption: 'A newspaper stand in Tehran. All press is censored in Iran and the sales are down. A few papers can express moderate views to a limited extent. When I was about to buy a newspaper at this stand, an elderly woman grabbed my arm and said, “Don’t buy their lies!”' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_23.jpg/image_large': { caption: 'Homes in Iran are the expression of the individual and families. This is my favorite home in Tehran adorned by collections of books, movies, and beautiful original oil paintings and watercolors.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_24.jpg/image_large': { caption: 'An oil painting of Forugh Farrokhzad, a pioneer poet who broke many barriers for women. Though Farrokhzad died young at the age of 32 in 1967, her poetry continues to inspire women. Her poems are of longing and passion as told by a woman in a man’s world. Click on 18 Days in Tehran at right to listen to a poem of hers recited by Sholeh Wolpe in Persian and in English.  ' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_25.jpg/image_large': { caption: 'A painting depicting Sohrab Sepehri, one of the beloved contemporary poets of Iran. He wrote of the poet Forugh Farrokhzad: "She was related to all the open vistas / and how well she appreciated / the tone of the water and the earth." As translated by Karim Emami.  ' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_26.jpg/image_large': { caption: 'At the Tehran University School of Music. More Iranian youth play music today than ever before. The arts have created a powerful outlet for self expression.' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/tehran_sami_27.jpg/image_large': { caption: 'At the Tehran University School of Theater. This theater student was working on the set, I asked if I might take her photo, she turned and gave me this gaze and then her permission!' },
              'http://www.yesmagazine.org/peace-justice/eighteen-days-in-tehran-slide-show/abdi-sami-portrait/image_large': { caption: 'Photographer Abdi Sami is a film industry veteran and a graduate of the University of Southern California School of Cinema. After working with Rick Steves as Associate Producer on Rick Steves’ Iran for PBS, Abdi created Solh Tours (www.solhtours.com) to lead tours of Americans and Westerners to Iran, his country of birth. Contact him at abdi@solhtours.com' }
 };

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


});



