

registerPloneFunction( function() {

var data = { 
              'http://www.28thjdb.com/historical-photos/Confederate-Congress.jpg/image_large': { caption: 'North Carolina Senators and Representatives in the Confederate Congress 1861-1865' },
              'http://www.28thjdb.com/historical-photos/1898.jpg/image_large': { caption: 'Probably the Buncombe County Bar Association. Most of the men were listed in the 1899-1900 Asheville City Directory as attorneys.  The photographer whose mark is on the back is Albert B. Pope. E. D. Carter, one of the men in the photograph, died in 1898, apparently dating the picture to just before 1898. The "ghost" figure sitting alone on the front row, is identified as Mr. Fred Moore and his appearance is explained by this note on the photo: " Mr. Fred Moore blinked his eyes &amp; was therefore taken \'asleep\'. I tried to put in some eyes but made a failure of it - and so had to \'rub him out\'."' },
              'http://www.28thjdb.com/historical-photos/1898names.jpg/image_large': { caption: '' },
              'http://www.28thjdb.com/historical-photos/Bar-Assn-Slagle.jpg/image_large': { caption: '28th Judicial District Bar - year unknown' },
              'http://www.28thjdb.com/historical-photos/L583-DSA.jpg/image_large': { caption: '28th Judicial District Bar 1899' },
              'http://www.28thjdb.com/historical-photos/L595-DS.jpg/image_large': { caption: 'North Carolina Bar Association at the Grove Park Inn July 14-15-16, 1932' },
              'http://www.28thjdb.com/historical-photos/Bar-Assn-1955.jpg/image_large': { caption: '28th Judicial District Bar 1955' },
              'http://www.28thjdb.com/historical-photos/Bar-Assn-1961.jpg/image_large': { caption: '28th Judicial District Bar 1993' },
              'http://www.28thjdb.com/historical-photos/Bar-Assn-1965.jpg/image_large': { caption: '28th Judicial District Bar 1965' },
              'http://www.28thjdb.com/historical-photos/1999.jpg/image_large': { caption: '28th Judicial District Bar 1999' },
              'http://www.28thjdb.com/historical-photos/WhitsonJ-McD.jpg/image_large': { caption: 'J. McD Whitson' },
              'http://www.28thjdb.com/historical-photos/AdamsJohnS.jpg/image_large': { caption: 'John S. Adams' },
              'http://www.28thjdb.com/historical-photos/Arthur-JohnP.jpg/image_large': { caption: 'John P. Arthur' },
              'http://www.28thjdb.com/historical-photos/BlackstockClarence.jpg/image_large': { caption: 'Clarence Blackstock' },
              'http://www.28thjdb.com/historical-photos/BreeseW-L.jpg/image_large': { caption: 'W. L. Breese' },
              'http://www.28thjdb.com/historical-photos/BrownW-P.jpg/image_large': { caption: 'W. P. Brown' },
              'http://www.28thjdb.com/historical-photos/CarterE-D.jpg/image_large': { caption: 'E. D. Carter' },
              'http://www.28thjdb.com/historical-photos/ChaseSalmon-Portland.jpg/image_large': { caption: 'Salmon-Portland Chase' },
              'http://www.28thjdb.com/historical-photos/DavidsonTheodore.jpg/image_large': { caption: 'Theodore Davidson' },
              'http://www.28thjdb.com/historical-photos/ErwinMarcus.jpg/image_large': { caption: 'Marcus Erwin' },
              'http://www.28thjdb.com/historical-photos/JonesW-W.jpg/image_large': { caption: 'W. W.  Jones' },
              'http://www.28thjdb.com/historical-photos/LutherD-M.jpg/image_large': { caption: 'D. M. Luther' },
              'http://www.28thjdb.com/historical-photos/MartinJ-H.jpg/image_large': { caption: 'J. H. Martin' },
              'http://www.28thjdb.com/historical-photos/McKinneyWorth.jpg/image_large': { caption: 'Worth McKinney' },
              'http://www.28thjdb.com/historical-photos/MooreFrederick.jpg/image_large': { caption: 'Frederick Moore' },
              'http://www.28thjdb.com/historical-photos/NettlesZeb-V.jpg/image_large': { caption: 'Zeb. V. Nettles' },
              'http://www.28thjdb.com/historical-photos/ReevesBill.jpg/image_large': { caption: 'Bill Reeves' },
              'http://www.28thjdb.com/historical-photos/RobertsP-W.jpg/image_large': { caption: 'P. W. Roberts' },
              'http://www.28thjdb.com/historical-photos/ShufordGeorge-A.jpg/image_large': { caption: 'George A. Shuford' },
              'http://www.28thjdb.com/historical-photos/SwainDavid.jpg/image_large': { caption: 'David Swain' },
              'http://www.28thjdb.com/historical-photos/TuckerJ-H.jpg/image_large': { caption: 'J. H. Tucker' },
              'http://www.28thjdb.com/historical-photos/illegible1876-1903.jpg/image_large': { caption: 'Unidentified 1876-1903' },
              'http://www.28thjdb.com/historical-photos/Unidentified.jpg/image_large': { caption: 'Unidentified' }
 };

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


});



