var gallery_sean = Array();
gallery_sean[0] = new Image();
gallery_sean[0].src = '/img/galleries/sean/CRW_6747.jpg';
gallery_sean[1] = new Image();
gallery_sean[1].src = '/img/galleries/sean/Clipboard01.jpg';
gallery_sean[2] = new Image();
gallery_sean[2].src = '/img/galleries/sean/SeanatCAASfromMark.jpg';
gallery_sean[3] = new Image();
gallery_sean[3].src = '/img/galleries/sean/chet show little.jpg';
gallery_sean[4] = new Image();
gallery_sean[4].src = '/img/galleries/sean/letter.jpg';
gallery_sean[5] = new Image();
gallery_sean[5].src = '/img/galleries/sean/picture.jpg';
gallery_sean[6] = new Image();
gallery_sean[6].src = '/img/galleries/sean/Performing at Chet Atkins Appreciation Society.jpg';
gallery_sean[7] = new Image();
gallery_sean[7].src = '/img/galleries/sean/sean1.jpg';
gallery_sean[8] = new Image();
gallery_sean[8].src = '/img/galleries/sean/sean2.jpg';
gallery_sean[9] = new Image();
gallery_sean[9].src = '/img/galleries/sean/With Mark Pritcher (President CAAS) and THE Les Paul, NYC 2004.jpg';
gallery_sean[10] = new Image();
gallery_sean[10].src = '/img/galleries/sean/sean3.jpg';
gallery_sean[11] = new Image();
gallery_sean[11].src = '/img/galleries/sean/outside cafe wha, where Hendrix and Dylan paid their dues back in the day.jpg';
gallery_sean[12] = new Image();
gallery_sean[12].src = '/img/galleries/sean/with Vince at Ryman.jpg';
gallery_sean[13] = new Image();
gallery_sean[13].src = '/img/galleries/sean/sean5.jpg';
gallery_sean[14] = new Image();
gallery_sean[14].src = '/img/galleries/sean/sean6.jpg';
gallery_sean[15] = new Image();
gallery_sean[15].src = '/img/galleries/sean/the bitter end, nyc.jpg';
gallery_sean[16] = new Image();
gallery_sean[16].src = '/img/galleries/sean/with harp for web.jpg';
gallery_sean[17] = new Image();
gallery_sean[17].src = '/img/galleries/sean/richard and jim for site.jpg';
gallery_sean[18] = new Image();
gallery_sean[18].src = '/img/galleries/sean/with Lou Rosano (the tone genius, amp builder).jpg';
gallery_sean[19] = new Image();
gallery_sean[19].src = '/img/galleries/sean/with kevin.jpg';
gallery_sean[20] = new Image();
gallery_sean[20].src = '/img/galleries/sean/161 small.jpg';
gallery_sean[21] = new Image();
gallery_sean[21].src = '/img/galleries/sean/with adopted Dad Jim Nichols at Chet Fest.jpg';
gallery_sean[22] = new Image();
gallery_sean[22].src = '/img/galleries/sean/With Nato Lima (Los Indios Tabajaras) and wife in their NYC Apartment small.jpg';
gallery_sean[23] = new Image();
gallery_sean[23].src = '/img/galleries/sean/laurence.jpg';

var captions_sean = Array();
captions_sean[0] = '<p>with dear friends <a href=\"http://www.myspace.com/jeromemalaval\">Jerome Malava</a>l (L) and <a href=\"http://www.jimandmorningnichols.com\">Jim Nichols</a> (R) in San Francisco</p>';
captions_sean[2] = '<p>Playing the Ryan guitar at the Chet Atkins Appreciation Society</p>';
captions_sean[4] = '<p>She hates the combination of my Robin Avalon and Louis amps!!!</p>';
captions_sean[5] = '<p>At the Matrix Cafe, Jan. \'09</p>';
captions_sean[7] = '<p>With Mr. Les Paul and his trio at the Iridium, NYC 2005</p>';
captions_sean[9] = '<p>With Les Paul &amp; CAAS President Mark Pritcher in NYC</p>';
captions_sean[13] = '<p>With Eric Miller (guitar doctor, builder, fellow tone-junkie, and friend) plus the <a href=\"http://www.louisamps.com/content/58TWINNMASTER.asp\">Louis Electric \'58 TwinMaster</a> (an early prototype with \'60s D120 speakers (with the original cones) and a <em>very</em> special history). &nbsp;Turn it up to 7 and start me up</p>';
captions_sean[18] = '<p>With the amp genius and all-around cool cat, Lou Rosano (who convinced me to keep the vintage Tremolux, even if the Tremblelux he built eats the \'55 original for breakfast!), Bergenfield NJ Dec. 2008</p>';
captions_sean[21] = '<p>Preparing to enter \"the golden age\" with Jim Nichols</p>';
captions_sean[1] = '<p>Advertisement for gig with Richard Smith</p>';
captions_sean[6] = '<p>Another shot with the Hollenbeck guitar</p>';
captions_sean[8] = '<p>Checking out the resonance on the vintage strat.&nbsp; The whole body shakes!!</p>';
captions_sean[10] = '<p><span style=\"font-size: small;\">\"<a href=\"http://www.youtube.com/watch?v=MHlRa-RPjWE\">Woooo woooo woooo woooo, be gone!</a>\"</span></p>';
captions_sean[11] = '<p>Hendrix was THE guitar player on this block way back when.&nbsp; Also a historical Dylan spot, of course...</p>';
captions_sean[14] = '<p>In Chehalis, WA 2003.&nbsp; Plugging into the <a href=\"http://pendulumaudio.com/SPS-1.html\">Pendulum preamp</a>, which makes me :-)</p>';
captions_sean[15] = '<p>NYC 2008</p>';
captions_sean[16] = '<p>Not asking to be James Cotton or Little Walter.&nbsp; But sloppy singer-songwriter harp makes me happy...</p>';
captions_sean[17] = '<p>Dual Hollenbeck Guitars.&nbsp; Playing with <a href=\"http://www.richardsmithmusic.com\">Richard Smith</a> and while Jimmy watches at CAAS, 2008.&nbsp;</p>';
captions_sean[19] = '<p>With yet another one of my favorite tone architects and people, Kevin Ryan. CA 2009</p>';
captions_sean[22] = '<p>With the legendary <a href=\"http://www.myspace.com/natolimafoundation\">Nato Lima of </a><em><a href=\"http://www.myspace.com/natolimafoundation\">Los Indios Tabajaras</a> </em>(and wife Michiko). NYC 2004</p>';
captions_sean[20] = '<p><a href=\"http://www.youtube.com/watch?v=YesjJCxDwmo\">Talkin\' New York</a>&nbsp;(it was winter too). &nbsp;How the times they have a-changed at 161 W. 4th in Greenwich Village.&nbsp; <a href=\"http://www.new-pony.com/tour/161w4th.html\">Bob\'s first apartment circa 1961</a>, and no, I\'m not a dumpster-diving Dylan fan (don\'t need a Weberman to know which way the wind blows)</p>';
captions_sean[3] = '<p>With the Bill Hollenbeck guitar.&nbsp; To have known him was to have loved him.</p>';
captions_sean[23] = '<p>With Hope &amp;&nbsp;<a href=\"http://www.laurencejuber.com\">Laurence Juber</a>&nbsp;(composer, artist, and guitarist with Paul McCartney from 1978-81). &nbsp;Healdsburg, CA 1998 after gracing a young kid (yours truly) with a rare and selfless private lesson. &nbsp;\"To Sean, fellow fingerpicker. &nbsp;All the best, LJ\"</p>';
captions_sean[12] = '<p>With Vince, 2009</p>';

var galleryIndex_sean = 0;
var galleryDiv_sean = document.getElementById('galleryDiv_sean');

function galleryPrev_sean() {
    galleryIndex_sean = (galleryIndex_sean == 0) ? gallery_sean.length - 1 : galleryIndex_sean - 1;
    document.getElementById('galleryImg_sean').src = gallery_sean[galleryIndex_sean].src
    updateCaption_sean();
    return false
}

function galleryNext_sean() {
    galleryIndex_sean = (galleryIndex_sean + 1) % gallery_sean.length;
    document.getElementById('galleryImg_sean').src = gallery_sean[galleryIndex_sean].src
    updateCaption_sean();
    return false
}

function galleryJump_sean(newIndex) {
    galleryIndex_sean = newIndex;
    document.getElementById('galleryImg_sean').src = gallery_sean[galleryIndex_sean].src
    updateCaption_sean();
    return false
}

function updateCaption_sean() {
    var captionDisp = document.getElementById('captionsDiv_sean');
    if (captionDisp) {
        if (captions_sean[galleryIndex_sean]) {
            captionDisp.innerHTML = captions_sean[galleryIndex_sean];
        }
        else {
            captionDisp.innerHTML = '';
        }
    }
}

function setupGallery_sean() {
    var prevLink = document.getElementById('galleryPrevLink_sean');
    var nextLink = document.getElementById('galleryNextLink_sean');
    if (prevLink) prevLink.onclick = galleryPrev_sean;
    if (nextLink) nextLink.onclick = galleryNext_sean;
    // Set thumbnail actions (if applicable)
    var thumbsDiv = document.getElementById('thumbsDiv_sean');
    if (thumbsDiv) {
        var links = thumbsDiv.getElementsByTagName('a');
        for (var i=0;i<links.length;i++) {
            links[i].onclick = new Function('return galleryJump_sean('+i+');');
        }
    }
}

setupGallery_sean();
