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('../Photos_files/villarrealcuba.jpg', '544', '800', 'villarreal family in Cuba');
slides[1] = new Slide('../Photos_files/2nd GenerCubVillarreales.jpg', '414', '536', 'Villarreal family in Cuba');
slides[2] = new Slide('../Photos_files/image008.jpg', '135', '199', 'Villarreal Family from Cuba in Florida');
slides[3] = new Slide('../Photos_files/aliciavilla.jpg', '250', '190', 'Alicia Villarreal singer from Monterrey');
slides[4] = new Slide('../Photos_files/Antonio I villarreal.jpg', '130', '100', 'Antonio Villarreal Mexico');
slides[5] = new Slide('../Photos_files/couple.jpg', '300', '400', 'couple.psd');
slides[6] = new Slide('../Photos_files/image_1.jpg', '276', '382', 'Grandma Lucy Texas');
slides[7] = new Slide('../Photos_files/aunt china and me.jpg', '403', '287', 'aunt china and me.Texas');
slides[8] = new Slide('../Photos_files/dad and me.jpg', '351', '244', 'dad and me.Texas');
slides[9] = new Slide('../Photos_files/JMandVictoriaVillareal.jpg', '456', '687', 'JM and VictoriaVillareal Texas');
slides[10] = new Slide('../Photos_files/DSC00244.jpg', '600', '800', 'Monterrey Villarreal Family');
slides[11] = new Slide('../Photos_files/Family.jpg', '639', '800', 'Danny Villarreal Family in Texas');
slides[12] = new Slide('../Photos_files/Family1960.jpg', '800', '782', 'Villarreal Family 1960 Texas');
slides[13] = new Slide('../Photos_files/fotoobispado.jpg', '687', '521', 'Photo of Villarreal at Museo Obispado Monterrey');
slides[14] = new Slide('../Photos_files/ggparents.jpg', '541', '751', 'Villarreal couple in Mexico');
slides[15] = new Slide('../Photos_files/Gilberts station.jpg', '503', '651', 'Gilbert Villarreal Gas station 1940’s Texas');
slides[16] = new Slide('../Photos_files/grandparents.jpg', '639', '800', 'Villarreal couple Mexico');
slides[17] = new Slide('../Photos_files/isidra V Picture .jpg', '558', '800', 'isidra Villarrea in Texas');
slides[18] = new Slide('../Photos_files/libanesvillarreal.jpg', '454', '319', 'Jacobo villarreal libanes');
slides[19] = new Slide('../Photos_files/image_3.jpg', '412', '321', 'Licenciado Jose‚ V¡ctor Villarreal Mexico');
slides[20] = new Slide('../Photos_files/mandolinsoc.jpg', '597', '800', 'mandolin society');
slides[21] = new Slide('../Photos_files/marinadadmomtimesqueare.jpg', '600', '800', 'Villarreal family in Times square New York');
slides[22] = new Slide('../Photos_files/navavrl.jpg', '597', '797', 'Villarreal Family in Nava Mexico');
slides[23] = new Slide('../Photos_files/Paras.jpg', '267', '400', 'Villarreal Family in Paras Mexico');
slides[24] = new Slide('../Photos_files/Picture 590.jpg', '600', '800', 'Villarreal brother and sister in Texas');
slides[25] = new Slide('../Photos_files/Pocho.jpg', '291', '200', 'Pocho.jpg');
slides[26] = new Slide('../Photos_files/Pomposo_GuadalupeYAmigos1899.jpg', '800', '557', 'Pomposo y Guadalupe Villarreal 1899. Mexico');
slides[27] = new Slide('../Photos_files/PoncianoLRitaV.jpg', '600', '431', 'Ponciano Longoria y Rita Villarreal Texas');
slides[28] = new Slide('../Photos_files/Santana.jpg', '480', '640', 'Carlos Santana.jpg');
slides[29] = new Slide('../Photos_files/segoviafam.jpg', '216', '288', 'Villarreal family visiting Segovia Spain');
slides[30] = new Slide('../Photos_files/travolta2.jpg', '424', '640', 'John Travolta and Bertha Villarreal in California');
slides[31] = new Slide('../Photos_files/Vilareunionchicago.jpg', '600', '800', 'Vilareal reunion Chicago.');
slides[32] = new Slide('../Photos_files/Villa.jpg', '600', '800', 'Villarreal family visiting Madrid Spain');
slides[33] = new Slide('../Photos_files/Villarreall5.jpg', '574', '800', 'Villarreal  Family  Texas');
slides[34] = new Slide('../Photos_files/Vrlde lla Canaltraje.jpg', '528', '400', 'Villarreal del Canal Spain ');
slides[35] = new Slide('../Photos_files/01Francisco_Villarreal.jpg', '800', '578', 'Francisco_Villarreal. Mexico');
slides[36] = new Slide('../Photos_files/02Francisco_Lilia_1925_03_01.jpg', '504', '800', 'Francisco y Lilia Villarreal 1925 Mexico');
slides[37] = new Slide('../Photos_files/04Villarreal_ranch.jpg', '570', '800', 'Villarreal_ranch. Mexico');
slides[38] = new Slide('../Photos_files/03Lilia_Yolanda_Raul_Paco_Jose.jpg', '534', '800', 'Lilia,Yolanda,Raul,Paco, Jose Villarreal Mexico');
slides[39] = new Slide('../Photos_files/Arnulfo and Victoriana Villarre.jpg', '215', '800', 'Arnulfo and Victoriana Villarrel');
slides[40] = new Slide('../Photos_files/Efrain Villarreal 1927 001.jpg', '562', '800', 'Efrain Villarreal 1927 USA');
slides[41] = new Slide('../Photos_files/Tia  Tonya & daughter with my s.jpg', '559', '800', 'Tia  Tonya & daughter with my sister Texas');
slides[42] = new Slide('../Photos_files/113_1337.jpg', '600', '800', 'Villarreales in Mexico');
slides[43] = new Slide('../Photos_files/128_2813.jpg', '600', '800', 'Villarreals in Mexico');
slides[44] = new Slide('../Photos_files/Civil War Cert.jpg', '800', '640', 'Civil War Cert.jpg');
slides[45] = new Slide('../Photos_files/image001.jpg', '200', '146', 'Juan Ignacio Castorena Villarreal 1688 Zacatecas');
slides[46] = new Slide('../Photos_files/ioannis.jpg', '659', '450', 'Ioannis Villarreal');
slides[47] = new Slide('../Photos_files/Francode1626afirma.jpg', '557', '605', 'Francisco de Villarreal Signature');
slides[48] = new Slide('../Photos_files/seferino.jpg', '216', '144', 'Seferino Villarreal Texas');
slides[49] = new Slide('../Photos_files/romandolores.jpg', '260', '180', 'Roman and Dolores Villarreal Texas');
slides[50] = new Slide('../Photos_files/Danieledith2.jpg', '286', '134', 'Daniel and Edith Villarreal Argentina');
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;
}

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");
    adjustPositioningIfWrongSize("id2", 50, 1);
    adjustLineHeightIfTooBig("id3");
    adjustFontSizeIfTooBig("id3");
    fixupIEPNGBG("id4");
    fixupIEPNGBG("id5");
    fixupIEPNGBG("id6");
    fixupIEPNGBG("id7");
    fixupIEPNGBG("id8");
    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");
    fixupIEPNG("id30", "Photos_files/transparent.gif");
    fixupIEPNGBG("id31");
    fixupIEPNGBG("id32");
    fixupIEPNGBG("id33");
    fixupIEPNGBG("id34");
    fixupIEPNGBG("id35");
    fixupIEPNGBG("id36");
    fixupIEPNGBG("id37");
    fixupIEPNGBG("id38");
    fixupIEPNGBG("id39");
    fixupIEPNGBG("id40");
    fixupIEPNGBG("id41");
    fixupIEPNGBG("id42");
    fixupIEPNGBG("id43");
    fixupIEPNGBG("id44");
    fixupIEPNGBG("id45");
    fixupIEPNGBG("id46");
    fixupIEPNGBG("id47");
    fixupIEPNGBG("id48");
    fixupIEPNGBG("id49");
    fixupIEPNGBG("id50");
    fixupIEPNGBG("id51");
    fixupIEPNGBG("id52");
    fixupIEPNGBG("id53");
    fixupIEPNGBG("id54");
    fixupIEPNGBG("id55");
    fixupIEPNGBG("id56");
    fixupIEPNGBG("id57");
    fixupIEPNGBG("id58");
    fixupIEPNGBG("id59");
    fixupIEPNGBG("id60");
    fixupIEPNGBG("id61");
    fixupIEPNGBG("id62");
    fixupIEPNGBG("id63");
    fixupIEPNGBG("id64");
    fixupIEPNGBG("id65");
    fixupIEPNGBG("id66");
    fixupIEPNGBG("id67");
    fixupIEPNGBG("id68");
    fixupIEPNGBG("id69");
    fixupIEPNGBG("id70");
    fixupIEPNGBG("id71");
    fixupIEPNGBG("id72");
    fixupIEPNGBG("id73");
    fixupIEPNGBG("id74");
    fixupIEPNGBG("id75");
    fixupIEPNGBG("id76");
    fixupIEPNGBG("id77");
    fixupIEPNGBG("id78");
    fixupIEPNGBG("id79");
    fixupIEPNGBG("id80");
    fixupIEPNGBG("id81");
    fixupIEPNGBG("id82");
    fixupIEPNGBG("id83");
    fixupIEPNGBG("id84");
    fixupIEPNGBG("id85");
    fixupIEPNGBG("id86");
    fixupIEPNGBG("id87");
    fixupIEPNGBG("id88");
    fixupIEPNGBG("id89");
    fixupIEPNGBG("id90");
    fixupIEPNGBG("id91");
    fixupIEPNGBG("id92");
    fixupIEPNGBG("id93");
    fixupIEPNGBG("id94");
    fixupIEPNGBG("id95");
    fixupIEPNGBG("id96");
    fixupIEPNGBG("id97");
    fixupIEPNGBG("id98");
    fixupIEPNGBG("id99");
    fixupIEPNGBG("id100");
    fixupIEPNGBG("id101");
    fixupIEPNGBG("id102");
    fixupIEPNGBG("id103");
    fixupIEPNGBG("id104");
    fixupIEPNGBG("id105");
    fixupIEPNGBG("id106");
    fixupIEPNGBG("id107");
    fixupIEPNGBG("id108");
    fixupIEPNG("id109", "Photos_files/transparent.gif");
    fixupIEPNG("id110", "Photos_files/transparent.gif");
    return true;
}

