slideShowURL = 'SlideShow_assets/SlideShow.html';       // parameter from openSlideShowWindow.js
slideShowNS4URL = 'SlideShow_assets/SlideShowNS4.html'; // parameter from openSlideShowWindow.js

slides = new Array();
slides[0] = new Slide('../ARworks_files/DSCN0082.jpg', '800', '600', 'ANONYMOUS (17th C. Dalmatia)\nPortrait of St Francis\nOil on Panel - Private Collection');
slides[1] = new Slide('../ARworks_files/1-MB-Lilly.jpg', '800', '646', 'MICHAEL BEIRNE\nUntitled, 2007\nOil on Gesso Panel');
slides[2] = new Slide('../ARworks_files/1-MB-dog72.jpg', '800', '580', 'MICHAEL BEIRNE\nUntitled, 2004 (4.5”x6.25”)\nOil on Gesso Panel (NFS)');
slides[3] = new Slide('../ARworks_files/1-MB-babs.jpg', '800', '638', 'MICHAEL BEIRNE\nUntitled, 2007 (4.5”x6.25”)\nOil on Gesso Panel');
slides[4] = new Slide('../ARworks_files/DSCN0058.jpg', '600', '800', 'KERRI LEE JOHNSON\nPistola #1, Pistola #2 (ea. 9”x9”)\nGouache and ink on paper ');
slides[5] = new Slide('../ARworks_files/2-KLJ-gun3.jpg', '667', '800', 'KERRI LEE JOHNSON\nPistola #1, (Detail)\nGouache and ink on paper (9”x9”)');
slides[6] = new Slide('../ARworks_files/DSCN0004.jpg', '800', '600', 'KERRI LEE JOHNSON\nRifle # 4, Rifle #5 (ea. 11.5”x34”)\nGouache and ink on paper');
slides[7] = new Slide('../ARworks_files/2-KLJ-gunboybison1.jpg', '600', '800', 'KERRI LEE JOHNSON\nRabbithead boy, bison, rifle\nGouache and ink on paper (9”x9”)');
slides[8] = new Slide('../ARworks_files/DSCN0006.jpg', '600', '800', 'KERRI LEE JOHNSON\nTrinity #1 (bison) (11.5”x34”)\nGouache and ink on paper');
slides[9] = new Slide('../ARworks_files/DSCN0008.jpg', '600', '800', 'KERRI LEE JOHNSON\nRabbithead boy, girl, rifle\nGouache and ink on paper (9”x9”)');
slides[10] = new Slide('../ARworks_files/DSCN0007.jpg', '600', '800', 'KERRI LEE JOHNSON\nRabbithead boy, flags\nGouache and ink on paper(15”x11”)');
slides[11] = new Slide('../ARworks_files/DSCN0103.jpg', '800', '600', 'KERRI LEE JOHNSON\nRabbithead girl, flags\nGouache and ink on paper(11”x15”)');
slides[12] = new Slide('../ARworks_files/DSCN0106.jpg', '600', '800', 'KERRI LEE JOHNSON\nProcession #2 (11.5”x34”)\nGouache and ink on paper');
slides[13] = new Slide('../ARworks_files/2-KLJ-horse.jpg', '800', '600', 'KERRI LEE JOHNSON\nRabbithead girl, boy, horse \nGouache and ink on paper(11x15”)');
slides[14] = new Slide('../ARworks_files/2-KLJ-bunnywagon.jpg', '600', '800', 'KERRI LEE JOHNSON\nWhen the Trail gets tough you have to eat the ones you love\nGouache and ink on paper(11x15”)');
slides[15] = new Slide('../ARworks_files/2-KLJ-gun1.jpg', '291', '800', 'KERRI LEE JOHNSON\nRifle #1 (11.5”x34”)\nGouache and ink on paper');
slides[16] = new Slide('../ARworks_files/DSCN0101.jpg', '800', '600', 'KERRI LEE JOHNSON\nRifle #1,#2 & #3 (all 11.5”x34”)\nGouache and ink on paper');
slides[17] = new Slide('../ARworks_files/DSCN0102.jpg', '600', '800', 'KERRI LEE JOHNSON\nRifle #3 (11.5”x34”)\nGouache and ink on paper');
slides[18] = new Slide('../ARworks_files/DSCN0002.jpg', '600', '800', 'PATRICIA LOOBY\nProtection, 2007\nAcrylic on card - 3 panels');
slides[19] = new Slide('../ARworks_files/3-PL-Prot-L.jpg', '801', '656', 'PATRICIA LOOBY\nProtection, 2007 (detail)\nAcrylic on card - left panel');
slides[20] = new Slide('../ARworks_files/3-PL-prot-M.jpg', '800', '651', 'PATRICIA LOOBY\nProtection, 2007 (detail)\nAcrylic on card - center panel');
slides[21] = new Slide('../ARworks_files/3-PL-prot-R.jpg', '800', '647', 'PATRICIA LOOBY\nProtection, 2007 (detail)\nAcrylic on card - right panel');
slides[22] = new Slide('../ARworks_files/4-AMcQ-Cat.jpg', '576', '784', 'AUSTIN McQUINN\nCAT, 2007 (detail - video still)\nVideo on DVD, Ed. 25');
slides[23] = new Slide('../ARworks_files/4-AMcQ-Spaniel2.jpg', '511', '695', 'AUSTIN McQUINN\nSPANIEL, 2007 (detail - still)\nVideo on DVD, Ed. 25');
slides[24] = new Slide('../ARworks_files/5-AM-necklacea.jpg', '427', '433', 'ALICE MAHER\nNECKLACE, 2003 (24”x24”)\nLambda print on Bd. Framed');
slides[25] = new Slide('../ARworks_files/5-AM-helmet.jpg', '424', '428', 'ALICE MAHER\nHELMET, 2003 (24”x24”)\nLambda print on Bd. Framed');
slides[26] = new Slide('../ARworks_files/7-CS-Seal.jpg', '432', '576', 'CONNIE SAMARAS\nUntitled,Ross Ice Shelf\nAntarctica - 2005 (video on DVD)');
slides[27] = new Slide('../ARworks_files/6-DW-StF-dark.jpg', '580', '475', 'DARREN WATERSTON\nTree of St.Francis (B&W), 2006 \nTapestry w/ Handpainting');
slides[28] = new Slide('../ARworks_files/DSCN0021.jpg', '800', '600', 'DARREN WATERSTON\nTree of St.Francis (B&W), 2006 \nDetail of painted area & cording');
isPureISOLatin1 = true;
contentEncodingConstant = 4;
feedbackURL = "TODO";
showFeedbackButton = false;
feedbackEnabled = true;

var smallTransparentGif = "";
function fixupIEPNG(strImageID, transparentGif) 
{
    smallTransparentGif = transparentGif;
    if (windowsInternetExplorer && (browserVersion < 7))
    {
        var img = document.getElementById(strImageID);
        if (img)
        {
            var src = img.src;
            img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='scale')";
            img.src = transparentGif;
            img.attachEvent("onpropertychange", imgPropertyChanged);
        }
    }
}

var windowsInternetExplorer = false;
var browserVersion = 0;
function detectBrowser()
{
    windowsInternetExplorer = false;
    var appVersion = navigator.appVersion;
    if ((appVersion.indexOf("MSIE") != -1) &&
        (appVersion.indexOf("Macintosh") == -1))
    {
        var temp = appVersion.split("MSIE");
        browserVersion = parseFloat(temp[1]);
        windowsInternetExplorer = true;
    }
}

function onPageLoad()
{
    detectBrowser();
    fixupIEPNG("id1", "ARworks_files/transparent.gif");
    fixupIEPNG("id2", "ARworks_files/transparent.gif");
    fixupIEPNG("id3", "ARworks_files/transparent.gif");
    fixupIEPNG("id4", "ARworks_files/transparent.gif");
    fixupIEPNG("id5", "ARworks_files/transparent.gif");
    return true;
}

var inImgPropertyChanged = false;
function imgPropertyChanged()
{
    if ((window.event.propertyName == "src") && (! inImgPropertyChanged))
    {
        inImgPropertyChanged = true;
        var el = window.event.srcElement;
        if (el.src != smallTransparentGif)
        {
            el.filters.item(0).src = el.src;
            el.src = smallTransparentGif;
        }
        inImgPropertyChanged = false;
    }
}


