slideShowURL = 'SlideShow_assets/SlideShow.html';       // paramater from openSlideShowWindow.jsslideShowNS4URL = 'SlideShow_assets/SlideShowNS4.html'; // parameter from openSlideShowWindow.jsslides = new Array();slides[0] = new Slide('../Production_files/IMG_6016.jpg', '450', '800', 'Dusan Sekulovic as Irwin.');slides[1] = new Slide('../Production_files/IMG_6039.jpg', '450', '800', 'Lora Grillo as Georgia.');slides[2] = new Slide('../Production_files/IMG_6009.jpg', '450', '800', 'Dusan Sekulovic and Vinny Muffoletto (Tony) rehearsing.');slides[3] = new Slide('../Production_files/IMG_6271.jpg', '450', '800', 'Jeffery Coyne (Harry) and Dusan Sekulovic.');slides[4] = new Slide('../Production_files/13.jpg', '450', '800', 'Jason Bittle (Josh) John Craven (Swearing Man) and Nikoleta Sekulovic (Anny).');slides[5] = new Slide('../Production_files/IMG_6165.jpg', '450', '800', 'Polish Bar scene on playback monitor.');slides[6] = new Slide('../Production_files/IMG_6378.jpg', '450', '800', 'Christian Georgescu as Dove the communist ice-cream vendor with Anny.');slides[7] = new Slide('../Production_files/IMG_6380.jpg', '450', '800', 'Shooting ice cream cart with Nikoleta and Christian.');slides[8] = new Slide('../Production_files/IMG_7067.jpg', '450', '800', 'Irwin on his way to work.');slides[9] = new Slide('../Production_files/IMG_7139.jpg', '450', '800', 'Nikoleta and Atul Sing as Hash.');slides[10] = new Slide('../Production_files/IMG_7169.jpg', '450', '800', 'Irwin and April played by Shana Chanel.');slides[11] = new Slide('../Production_files/IMG_7214.jpg', '450', '800', 'Shooting Irwin & April bed scene.');slides[12] = new Slide('../Production_files/IMG_6977.jpg', '450', '800', 'Leal Logan as Tina.');slides[13] = new Slide('../Production_files/IMG_6462.jpg', '450', '800', 'Christian Georgescu as the darker side of Dove.');slides[14] = new Slide('../Production_files/IMG_5502.jpg', '450', '800', 'Director, Nikoleta and Lael with Mikhail Sterkin recording wild lines. ');slides[15] = new Slide('../Production_files/IMG_5488.jpg', '450', '800', 'Johnny the Gaffer fooling round with the slate.');slides[16] = new Slide('../Production_files/IMG_5880.jpg', '450', '800', 'Shooting some simple special effects with Michael Denola as Dr.Tomas Pelkalvski.');slides[17] = new Slide('../Production_files/IMG_7336.jpg', '450', '800', 'Atul and Nikoleta with Keith the drunken extra.');slides[18] = new Slide('../Production_files/IMG_6435.jpg', '450', '800', 'Irwin trimming his moustach.');slides[19] = new Slide('../Production_files/IMG_6751.jpg', '450', '800', 'Tina and Harry.');slides[20] = new Slide('../Production_files/IMG_6061.jpg', '450', '800', 'Mirjana Podrascanin and Daniela Dakich as two Serbian wash women.');slides[21] = new Slide('../Production_files/IMG_6552.jpg', '450', '800', 'Ramona Ganssloser as nymphomaniac Cathy.');slides[22] = new Slide('../Production_files/IMG_6547.jpg', '450', '800', 'Irwin thinking about Cathy.');slides[23] = new Slide('../Production_files/IMG_7263.jpg', '450', '800', 'Laying tracks on a windy roof in Williamsburg.');slides[24] = new Slide('../Production_files/IMG_6215.jpg', '450', '800', 'Harry and Irwin make an exit.');slides[25] = new Slide('../Production_files/IMG_7369.jpg', '533', '800', 'Anneliese Paull the DP and Elizabeth Wade the producer (bottom middle) with crew.');slides[26] = new Slide('../Production_files/IMG_7279.jpg', '450', '800', 'Perfect Light.\nNew York at dusk.');isPureISOLatin1 = true;contentEncodingConstant = 4;feedbackURL = "TODO";showFeedbackButton = false;feedbackEnabled = true;var MINIMUM_FONT = "10";var UNITS = "";function elementFontSize(element){    var fontSize = MINIMUM_FONT;     if (document.defaultView)    {        fontSize = document.defaultView.getComputedStyle(element, null).getPropertyValue("font-size");    }    else if (element.currentStyle)    {        fontSize = element.currentStyle.fontSize;    }    if ((UNITS.length == 0) && (fontSize != MINIMUM_FONT))    {        UNITS = fontSize.substring(fontSize.length - 2, fontSize.length)    }    return parseFloat(fontSize);}function adjustFontSizeIfTooBig(idOfElement){    var oTextBoxOuterDiv;    var oTextBoxMiddleDiv;    var oTextBoxInnerDiv;    var oTextBoxOuterDiv = document.getElementById(idOfElement);        if (oTextBoxOuterDiv)    {        oTextBoxMiddleDiv = getChildOfType(oTextBoxOuterDiv, "DIV", 0);        if (oTextBoxMiddleDiv)        {            oTextBoxInnerDiv = getChildOfType(oTextBoxMiddleDiv, "DIV", 0);            if (oTextBoxInnerDiv)            {                var oCachedHeight;                if (windowsInternetExplorer)                {                    oCachedHeight = oTextBoxInnerDiv.style.height;                    oTextBoxInnerDiv.style.height = "100px";                }                                var clientHeight = oTextBoxInnerDiv.clientHeight;                var specifiedHeight = clientHeight;                if (oTextBoxMiddleDiv.style.height != "")                {                    specifiedHeight = parseFloat(oTextBoxMiddleDiv.style.height);                }                else if (oTextBoxOuterDiv.style.height != "")                {                    specifiedHeight = parseFloat(oTextBoxOuterDiv.style.height);                }                if ((windowsInternetExplorer) && (clientHeight == 100))                {                    clientHeight = specifiedHeight;                }                if (clientHeight > specifiedHeight)                {                    // compute smallest font in text box for scale purposes.                    var smallestFontSize = 200;                                        var aParaChildren = getParaDescendants(oTextBoxInnerDiv);                    var oneLine = false;                    for (i = 0; i < aParaChildren.length; i++)                    {                        var oParagraphDiv = aParaChildren[i];                        var lineHeight = elementLineHeight(oParagraphDiv);                        oneLine = oneLine || (lineHeight * 1.5 >= specifiedHeight);                        if (oParagraphDiv.nodeName == "DIV")                        {                            var fontSize = elementFontSize(oParagraphDiv);                            smallestFontSize = Math.min( smallestFontSize, fontSize );                            for (j = 0; j < oParagraphDiv.childNodes.length; j++)                            {                                var oSpan = oParagraphDiv.childNodes[j];                                if (oSpan.nodeName == "SPAN")                                {                                    fontSize = elementFontSize(oSpan);                                    smallestFontSize = Math.min( smallestFontSize, fontSize );                                }                            }                        }                    }                    var minimum = parseFloat(MINIMUM_FONT);                                        var count = 0                    while ((smallestFontSize > minimum) && (clientHeight > specifiedHeight) && (count < 10))                    {                        ++ count;                        if (oneLine)                        {                            var oldWidth = parseInt(oTextBoxOuterDiv.style.width);                            oTextBoxInnerDiv.style.width =                                "" + oldWidth * Math.pow(1.05, count) + "px";                        }                        else                        {                            var scale = Math.max(0.95, minimum / smallestFontSize);                                                        // Scale all the fonts in the text box.                            for (i = 0; i < aParaChildren.length; i++)                            {                                var oParagraphDiv = aParaChildren[i];                                if (oParagraphDiv.nodeName == "DIV")                                {                                    var fontSize = elementFontSize(oParagraphDiv) * scale;                                    oParagraphDiv.style.fontSize = fontSize + UNITS;                                    oParagraphDiv.style.lineHeight = fontSize + UNITS;                                    smallestFontSize = Math.min( smallestFontSize, fontSize );                                    for (j = 0; j < oParagraphDiv.childNodes.length; j++)                                    {                                        var oSpan = oParagraphDiv.childNodes[j];                                        if (oSpan.nodeName == "SPAN")                                        {                                            fontSize = elementFontSize(oSpan) * scale;                                            oSpan.style.fontSize = fontSize + UNITS;                                            oSpan.style.lineHeight = fontSize + UNITS;                                            smallestFontSize = Math.min( smallestFontSize, fontSize );                                        }                                    }                                }                            }                        }                                                clientHeight = oTextBoxInnerDiv.clientHeight;                    }                }                if (windowsInternetExplorer)                {                    oTextBoxInnerDiv.style.height = oCachedHeight;                }            }        }    }}function elementLineHeight(element){    var lineHeight = MINIMUM_FONT;         if (document.defaultView)    {        lineHeight = document.defaultView.getComputedStyle(element, null).getPropertyValue("line-height");    }    else if (element.currentStyle)    {        lineHeight = element.currentStyle.lineHeight;    }        if ((UNITS.length == 0) && (lineHeight != MINIMUM_FONT))    {        UNITS = lineHeight.substring(lineHeight.length - 2, lineHeight.length)    }        return parseFloat(lineHeight);}function adjustLineHeightIfTooBig(idOfElement){    var oTextBoxOuterDiv;    var oTextBoxMiddleDiv;    var oTextBoxInnerDiv;    var oTextBoxOuterDiv = document.getElementById(idOfElement);        if (oTextBoxOuterDiv)    {        oTextBoxMiddleDiv = getChildOfType(oTextBoxOuterDiv, "DIV", 0);        if (oTextBoxMiddleDiv)        {            oTextBoxInnerDiv = getChildOfType(oTextBoxMiddleDiv, "DIV", 0);            if (oTextBoxInnerDiv)            {                var oCachedHeight;                if (windowsInternetExplorer)                {                    oCachedHeight = oTextBoxInnerDiv.style.height;                    oTextBoxInnerDiv.style.height = "100px";                }                                var clientHeight = oTextBoxInnerDiv.clientHeight;                var specifiedHeight = clientHeight;                if (oTextBoxMiddleDiv.style.height != "")                {                    specifiedHeight = parseFloat(oTextBoxMiddleDiv.style.height);                }                else if (oTextBoxOuterDiv.style.height != "")                {                    specifiedHeight = parseFloat(oTextBoxOuterDiv.style.height);                }                if ((windowsInternetExplorer) && (clientHeight == 100))                {                    clientHeight = specifiedHeight;                }                if (clientHeight > specifiedHeight)                {                    var adjusted = true;                    var count = 0;                    while ((adjusted) && (clientHeight > specifiedHeight) && (count < 10))                    {                        adjusted = false;                        ++ count;                                                // Scale all the line heights in the text box.                        var aParaChildren = getParaDescendants(oTextBoxInnerDiv);                        for (i = 0; i < aParaChildren.length; i++)                        {                            var oParagraphDiv = aParaChildren[i];                            if (oParagraphDiv.nodeName == "DIV")                            {                                var fontSize = elementFontSize(oParagraphDiv);                                var lineHeight = elementLineHeight(oParagraphDiv) * 0.95;                                if (lineHeight >= (fontSize * 1.1))                                {                                    oParagraphDiv.style.lineHeight = lineHeight + UNITS;                                    adjusted = true;                                }                                                                                                                                for (j = 0; j < oParagraphDiv.childNodes.length; j++)                                {                                    var oSpan = oParagraphDiv.childNodes[j];                                    if (oSpan.nodeName == "SPAN")                                    {                                        var fontSize = elementFontSize(oSpan);                                        var lineHeight = elementLineHeight(oSpan) * 0.95;                                        if (lineHeight >= (fontSize * 1.1))                                        {                                            oSpan.style.lineHeight = lineHeight + UNITS;                                            var adjusted = true;                                        }                                    }                                }                            }                        }                                                clientHeight = oTextBoxInnerDiv.clientHeight;                    }                }                if (windowsInternetExplorer)                {                    oTextBoxInnerDiv.style.height = oCachedHeight;                }            }        }    }}function adjustPositioningIfWrongSize(idOfElement, shrinkPadding, shrink){    var oTextBoxOuterDiv;    var oTextBoxMiddleDiv;    var oTextBoxInnerDiv;    var oTextBoxAlternateImage;    var oImg;    var adjustPositioning = false;    var adjustmentPixels = 0;    var oTextBoxOuterDiv = document.getElementById(idOfElement);    if (oTextBoxOuterDiv)    {        oTextBoxMiddleDiv = getChildOfType(oTextBoxOuterDiv, "DIV", 0);        if (oTextBoxMiddleDiv)        {            oTextBoxInnerDiv = getChildOfType(oTextBoxMiddleDiv, "DIV", 0);            if (oTextBoxInnerDiv)            {                var oCachedHeight;                if (windowsInternetExplorer)                {                    oCachedHeight = oTextBoxInnerDiv.style.height;                    oTextBoxInnerDiv.style.height = "100px";                }                var clientHeight = oTextBoxInnerDiv.clientHeight;                var specifiedHeight = clientHeight;                if (oTextBoxMiddleDiv.style.height != "")                {                    specifiedHeight = parseFloat(oTextBoxMiddleDiv.style.height);                }                else if (oTextBoxOuterDiv.style.height != "")                {                    specifiedHeight = parseFloat(oTextBoxOuterDiv.style.height);                }                if ((windowsInternetExplorer) && (clientHeight == 100))                {                    clientHeight = specifiedHeight;                }                if (clientHeight > specifiedHeight ||                     specifiedHeight > clientHeight + shrinkPadding )                {                    adjustPositioning = true;                    adjustmentPixels = clientHeight - specifiedHeight;                    if (specifiedHeight > clientHeight)                    {                      if (! shrink)                      {                          adjustPositioning = false;                      }                      else                      {                          adjustmentPixels += shrinkPadding;                      }                                          }                }                if (windowsInternetExplorer)                {                    oTextBoxInnerDiv.style.height = oCachedHeight;                }            }        }    }        if (adjustPositioning)    {        var currentOuterHeight = parseInt(oTextBoxOuterDiv.style.height);        var newOuterHeight = currentOuterHeight + adjustmentPixels;        if( newOuterHeight <= 0 )        {            newOuterHeight = 1;        }        oTextBoxOuterDiv.style.height = "" + newOuterHeight + "px";        oFooterLayer = document.getElementById("footer_layer");        if (oFooterLayer)        {            var currentYPos = parseInt(oFooterLayer.style.top);            var newYPos = currentYPos + adjustmentPixels;            oFooterLayer.style.top = "" + newYPos + "px";        }        oBodyLayer = document.getElementById("body_layer");        if (oBodyLayer)        {            var currentBodyLayerHeight = parseInt(oBodyLayer.style.height);            var newBodyLayerHeight = currentBodyLayerHeight + adjustmentPixels;            oBodyLayer.style.height = "" + newBodyLayerHeight + "px";        }        oBodyContentDiv = document.getElementById("bodyContent");        if (oBodyContentDiv)        {            var currentBodyContentHeight = parseInt(oBodyContentDiv.style.height);            var newBodyContentHeight = currentBodyContentHeight + adjustmentPixels;            oBodyContentDiv.style.height = "" + newBodyContentHeight + "px";        }        oNavLayer = document.getElementById("nav_layer");        if(oNavLayer)        {            var currentNavLayerHeight = parseInt(oNavLayer.style.height);            var diff = currentNavLayerHeight - currentBodyContentHeight;            if ((diff > -10) && (diff < 10))            {                var newNavLayerHeight = currentNavLayerHeight + adjustmentPixels;                oNavLayer.style.height = "" + newNavLayerHeight + "px";                oNavBG = getChildOfType(oNavLayer, "DIV", 0);                if (oNavBG)                {                    var currentNavBGHeight = parseInt(oNavBG.style.height);                    var newNavBGHeight = currentNavBGHeight + adjustmentPixels;                    oNavBG.style.height = "" + newNavBGHeight + "px";                }            }        }    }}var smallTransparentGif = "";function fixupIEPNG(strImageID, transparentGif) {    smallTransparentGif = transparentGif;    if (windowsInternetExplorer)    {        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);        }    }}function fixupIEPNGBG(strImageID) {    if (windowsInternetExplorer)    {        var oBlock = document.getElementById(strImageID);        if (oBlock)        {            var currentBGStyle = oBlock.style.background;            var urlStart = currentBGStyle.indexOf("url(");            var urlEnd = currentBGStyle.indexOf(")", urlStart);            var imageURL = currentBGStyle.substring(urlStart + 4, urlEnd);            var filterStyle =                "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" +                imageURL +                "', sizingMethod='crop');";            oBlock.style.filter = filterStyle;            oBlock.style.background = "";        }    }}function getChildOfType(oParent, sNodeName, requestedIndex){    var index = 0;    for (i = 0; i < oParent.childNodes.length; i++)    {        if (oParent.childNodes[i].nodeName == sNodeName)        {            if (index == requestedIndex)            {                return oParent.childNodes[i];            }            else            {                index++;            }        }    }    return null;}function getParaDescendantsRec(oAncestor, aResultArray, index){    if (index == -1)    {        if ((oAncestor.nodeName == "DIV") &&            (oAncestor.className.lastIndexOf("paragraph") != -1))        {            aResultArray[aResultArray.length] = oAncestor;        }        else if ((oAncestor.nodeName == "DIV") ||                 (oAncestor.nodeName == "LI") ||                 (oAncestor.nodeName == "OL") ||                 (oAncestor.nodeName == "UL"))        {            getParaDescendantsRec(oAncestor, aResultArray, 0);        }    }    else    {        getParaDescendantsRec(oAncestor.childNodes[index], aResultArray, -1);        if (index < (oAncestor.childNodes.length - 1))        {            getParaDescendantsRec(oAncestor, aResultArray, index + 1);        }    }}function getParaDescendants(oAncestor){    var aResultArray = new Array();    getParaDescendantsRec(oAncestor, aResultArray, -1);    return aResultArray;}function NBmouseover(index){    var normal = document.getElementById("navbar_"+index+"_normal");    var rollover = document.getElementById("navbar_"+index+"_rollover");    if (normal && rollover)    {        normal.style.visibility = "hidden";        rollover.style.visibility = "visible";    }    return true;}function NBmouseout(index){    var normal = document.getElementById("navbar_"+index+"_normal");    var rollover = document.getElementById("navbar_"+index+"_rollover");    if (normal && rollover)    {        normal.style.visibility = "visible";        rollover.style.visibility = "hidden";    }    return true;}var windowsInternetExplorer = false;function detectBrowser(){    windowsInternetExplorer = false;    var appVersion = navigator.appVersion;    if ((appVersion.indexOf("MSIE") != -1) &&        (appVersion.indexOf("Macintosh") == -1))    {        windowsInternetExplorer = 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;    }}function onPageLoad(){    detectBrowser();    fixupIEPNGBG("id1");    fixupIEPNGBG("id2");    fixupIEPNGBG("id3");    fixupIEPNGBG("id4");    fixupIEPNGBG("id5");    fixupIEPNGBG("navbar_0_normal");    fixupIEPNGBG("navbar_0_rollover");    fixupIEPNGBG("navbar_1_normal");    fixupIEPNGBG("navbar_1_rollover");    fixupIEPNGBG("navbar_2_normal");    fixupIEPNGBG("navbar_2_rollover");    fixupIEPNGBG("navbar_3_normal");    fixupIEPNGBG("navbar_3_rollover");    fixupIEPNGBG("id6");    adjustLineHeightIfTooBig("id6");    adjustFontSizeIfTooBig("id6");    adjustPositioningIfWrongSize("id7", 50, 1);    fixupIEPNG("id8", "Production_files/transparent.gif");    fixupIEPNGBG("id9");    fixupIEPNGBG("id10");    fixupIEPNGBG("id11");    fixupIEPNGBG("id12");    fixupIEPNGBG("id13");    fixupIEPNGBG("id14");    fixupIEPNGBG("id15");    fixupIEPNGBG("id16");    fixupIEPNGBG("id17");    fixupIEPNGBG("id18");    fixupIEPNGBG("id19");    fixupIEPNGBG("id20");    fixupIEPNGBG("id21");    fixupIEPNGBG("id22");    fixupIEPNGBG("id23");    fixupIEPNGBG("id24");    fixupIEPNGBG("id25");    fixupIEPNGBG("id26");    fixupIEPNGBG("id27");    fixupIEPNGBG("id28");    fixupIEPNGBG("id29");    fixupIEPNGBG("id30");    fixupIEPNGBG("id31");    fixupIEPNGBG("id32");    fixupIEPNGBG("id33");    fixupIEPNGBG("id34");    fixupIEPNGBG("id35");    adjustLineHeightIfTooBig("id36");    adjustFontSizeIfTooBig("id36");    adjustLineHeightIfTooBig("id37");    adjustFontSizeIfTooBig("id37");    adjustLineHeightIfTooBig("id38");    adjustFontSizeIfTooBig("id38");    fixupIEPNG("id39", "Production_files/transparent.gif");    return true;}