IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_2', '0');
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('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5683.jpg', '561', '800', '5683 BER Andréa');
slides[1] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5769.jpg', '735', '800', 'Antoine BERETTA');
slides[2] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5770.jpg', '800', '729', 'Antoine BERETTA');
slides[3] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5734.jpg', '673', '800', 'Maria ROSSI');
slides[4] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5735.jpg', '800', '631', 'Maria ROSSI');
slides[5] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_4860.jpg', '630', '800', '100_4860.JPG');
slides[6] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5668.jpg', '208', '800', '5668 BER carlo');
slides[7] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5669.jpg', '800', '726', '5669 BER Carlo');
slides[8] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5670.jpg', '607', '800', '5670 BER Carlo');
slides[9] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5671.jpg', '517', '800', '5671 Lucina');
slides[10] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5672.jpg', '229', '800', '5672 Lucina');
slides[11] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5673.jpg', '280', '800', '5673 CERESA PEDUZZI');
slides[12] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5674.jpg', '800', '600', '5674 CERESA PEDUZZI');
slides[13] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5675.jpg', '439', '800', '5675 BER Carlo');
slides[14] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5676.jpg', '800', '690', '5676 BER Carlo');
slides[15] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5677.jpg', '800', '600', '5677 BER Barbara');
slides[16] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5678.jpg', '800', '486', '5678 BER Barbara');
slides[17] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5679.jpg', '800', '457', '5679 BER Jacques');
slides[18] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5680.jpg', '800', '600', '5680 BER Enrico');
slides[19] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5681.jpg', '600', '800', '5681 BER Enrico');
slides[20] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5682.jpg', '600', '800', '5682 BER Catherine');
slides[21] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5683_1.jpg', '561', '800', '5683 BER Andréa');
slides[22] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5684.jpg', '465', '800', '5684  BER Battisthe');
slides[23] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5685.jpg', '731', '800', '5685 BER Battistha');
slides[24] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5686.jpg', '600', '800', '5686 BER MARIE DOM');
slides[25] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5687.jpg', '382', '800', '5687ber Marie Dom');
slides[26] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5688.jpg', '534', '800', '5688 BER CATHERINE');
slides[27] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5689.jpg', '324', '800', '5689 BER Catherine');
slides[28] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5690.jpg', '715', '800', '5690 BER Marie Marguerite');
slides[29] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5691.jpg', '790', '800', '5691 BER M Marguerite');
slides[30] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5692.jpg', '600', '800', '100_5692');
slides[31] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5693.jpg', '600', '800', '100_5693');
slides[32] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5694.jpg', '600', '800', '100_5694');
slides[33] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5695.jpg', '600', '800', '100_5695');
slides[34] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5702.jpg', '748', '800', '5702 BER Domenico');
slides[35] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5703.jpg', '800', '766', '5703 BER Doménico');
slides[36] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5704.jpg', '800', '664', '5704 BER Domenico de Battista');
slides[37] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5705.jpg', '800', '439', '5705 BER Battista');
slides[38] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5706.jpg', '800', '715', '5706 BER  Battista');
slides[39] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5707.jpg', '800', '666', '5707 LANATTI barbara');
slides[40] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5708.jpg', '586', '800', '5708 LANATTI Barbara');
slides[41] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5709.jpg', '531', '800', '5709 LANATTI Barbara');
slides[42] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5710.jpg', '800', '600', '5710 LANATTI Barbara');
slides[43] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5711.jpg', '800', '600', '5711 LANATTI Barbara');
slides[44] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5712.jpg', '590', '800', '5712 BIANCHI Maria');
slides[45] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5713.jpg', '800', '600', '5713 BIANCHI Maria');
slides[46] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5714.jpg', '467', '800', '5714 BERETTA Carlo antonio');
slides[47] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5715.jpg', '719', '800', '5715 BERETTA Carlo antonio');
slides[48] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5716.jpg', '800', '695', '5716 BERETTA Carlo antonio');
slides[49] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5717.jpg', '538', '800', '5717 BERETTA Maria');
slides[50] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5718.jpg', '800', '759', '5718  BERETTA Maria');
slides[51] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5719.jpg', '568', '800', '5719 BERETTA Vittorio');
slides[52] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5720.jpg', '800', '677', '5720 BERETTA Vittorio');
slides[53] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5721.jpg', '618', '800', '5721 LANATTI Giuseppe');
slides[54] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5722.jpg', '800', '691', '5722 LANATTI Giuseppe');
slides[55] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5723.jpg', '652', '800', '5723GIOBBI Maddalena');
slides[56] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5724.jpg', '800', '722', '5724 + GIOBBI Madalena');
slides[57] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5725.jpg', '474', '800', '5725 BER Gaspare');
slides[58] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5726.jpg', '800', '600', '5726 BERETTA Gaspard');
slides[59] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5727.jpg', '800', '776', '5727 BERETTA Domenico');
slides[60] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5728.jpg', '800', '745', '_5728 BERETTA Domenico');
slides[61] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5729.jpg', '690', '800', '5729 BER Domenico');
slides[62] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5730.jpg', '720', '800', '5730 BERETTA Giovanna');
slides[63] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5731.jpg', '800', '692', '5731 30 BERETTA Giovanna');
slides[64] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5732.jpg', '654', '800', '5732 BERETTA Giovanna');
slides[65] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5733.jpg', '800', '664', '5733  BERETTA Giovanna');
slides[66] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5734_1.jpg', '800', '696', '5734 ROSSI Maria');
slides[67] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5735_1.jpg', '800', '631', '5735 ROSSI Maria');
slides[68] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5736.jpg', '800', '681', '5736 ROSSI Maria');
slides[69] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5743.jpg', '512', '800', '5743 GIOBBI Catherina');
slides[70] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5744.jpg', '800', '780', '5744 GIOBBI catherine');
slides[71] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5767.jpg', '568', '800', '5767 BERETTA Catherine');
slides[72] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5768.jpg', '567', '800', '5768 BERETTA Marianna');
slides[73] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5769_1.jpg', '735', '800', '5769 BERETTA Antoine');
slides[74] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5770_1.jpg', '800', '729', '5770 BERETTA Antoine');
slides[75] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5771.jpg', '621', '800', '5771 BERETTA Antoine');
slides[76] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5772.jpg', '602', '800', '5772 BERETTA margherita');
slides[77] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5775.jpg', '557', '800', '5775 BERETTA Domenico');
slides[78] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5777.jpg', '512', '800', '5777 BERETTA Anna');
slides[79] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5778.jpg', '600', '800', '5778 BERETTA Anna');
slides[80] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5779.jpg', '626', '800', '5779 BERETTA Battista');
slides[81] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5780.jpg', '600', '800', '5780 BERETTA battista');
slides[82] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5781.jpg', '598', '800', '5781 BERETTA Maria');
slides[83] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5782.jpg', '786', '800', '5782 BERETTA Maria');
slides[84] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5784.jpg', '600', '800', '5784BERETTA Battista');
slides[85] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5786.jpg', '676', '800', '5786 BERETTA Rolando');
slides[86] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5796.jpg', '600', '800', '5796.JPG BERETTA Antoine');
slides[87] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5797.jpg', '600', '800', '5797 BERETTA Iliadi Mattéo');
slides[88] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5798.jpg', '600', '800', '5798.Tiali Mattéo');
slides[89] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5799.jpg', '501', '800', '5799.Maria Thérésa de Gaspari');
slides[90] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5800.jpg', '600', '800', '5800 Maria Théresia');
slides[91] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5801.jpg', '600', '800', '5801 Maria Catterina');
slides[92] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5804.jpg', '600', '800', '100_5804.JPG');
slides[93] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5805.jpg', '600', '800', '100_5805.JPG');
slides[94] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5806.jpg', '600', '800', '100_5806.JPG');
slides[95] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5807.jpg', '600', '800', '100_5807.JPG');
slides[96] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5808.jpg', '600', '800', '100_5808.JPG');
slides[97] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5809.jpg', '600', '800', '100_5809.JPG');
slides[98] = new Slide('../197009C4-D484-4BC6-A86A-1806C488CFFA_files/100_5810.jpg', '600', '800', '100_5810.JPG');
isPureISOLatin1 = true;
contentEncodingConstant = 4;
feedbackURL = "TODO";
showFeedbackButton = false;
feedbackEnabled = true;

IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '0');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '1');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '2');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '3');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '4');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '5');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '6');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '7');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '8');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '9');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '10');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '11');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '12');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '13');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '14');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '15');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '16');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '17');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '18');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '19');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '20');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '21');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '22');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '23');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '24');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '25');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '26');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '27');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '28');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '29');
IMpreload('197009C4-D484-4BC6-A86A-1806C488CFFA_files', 'shapeimage_4', '30');
var MINIMUM_FONT = "10";
var UNITS = "";

function elementFontSize(element)
{
    var fontSize = MINIMUM_FONT; 

    if (document.defaultView)
    {
        var computedStyle = document.defaultView.getComputedStyle(element, null);
        if (computedStyle)
        {
            fontSize = computedStyle.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 offsetHeight = oTextBoxInnerDiv.offsetHeight;
                var specifiedHeight = offsetHeight;
                if (oTextBoxMiddleDiv.style.height != "")
                {
                    specifiedHeight = parseFloat(oTextBoxMiddleDiv.style.height);
                }
                else if (oTextBoxOuterDiv.style.height != "")
                {
                    specifiedHeight = parseFloat(oTextBoxOuterDiv.style.height);
                }
                if (offsetHeight > specifiedHeight)
                {
                    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") || (oSpan.nodeName == "A"))
                                {
                                    fontSize = elementFontSize(oSpan);
                                    smallestFontSize = Math.min( smallestFontSize, fontSize );
                                }
                            }
                        }
                    }
                    var minimum = parseFloat(MINIMUM_FONT);
                    
                    var count = 0
                    while ((smallestFontSize > minimum) && (offsetHeight > 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);
                            
                            for (i = 0; i < aParaChildren.length; i++)
                            {
                                var oParagraphDiv = aParaChildren[i];
                                if (oParagraphDiv.nodeName == "DIV")
                                {
                                    var paraFontSize = elementFontSize(oParagraphDiv) * scale;
                                    var paraLineHeight = elementLineHeight(oParagraphDiv) * scale;
                                    for (j = 0; j < oParagraphDiv.childNodes.length; j++)
                                    {
                                        var oSpan = oParagraphDiv.childNodes[j];
                                        if ((oSpan.nodeName == "SPAN") || (oSpan.nodeName == "A"))
                                        {
                                            var spanFontSize = elementFontSize(oSpan) * scale;
                                            var spanLineHeight = elementLineHeight(oSpan) * scale;
                                            oSpan.style.fontSize = spanFontSize + UNITS;
                                            oSpan.style.lineHeight = spanLineHeight + UNITS;
                                            smallestFontSize = Math.min( smallestFontSize, spanFontSize );
                                        }
                                    }
                                    oParagraphDiv.style.fontSize = paraFontSize + UNITS;
                                    oParagraphDiv.style.lineHeight = paraLineHeight + UNITS;
                                    smallestFontSize = Math.min( smallestFontSize, paraFontSize );
                                }
                            }
                        }
                        
                        offsetHeight = oTextBoxInnerDiv.offsetHeight;
                    }
                }
            }
        }
    }
}


function elementLineHeight(element)
{
    var lineHeight = MINIMUM_FONT; 
    
    if (document.defaultView)
    {
        var computedStyle = document.defaultView.getComputedStyle(element, null);
        if (computedStyle)
        {
            lineHeight = computedStyle.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 offsetHeight = oTextBoxInnerDiv.offsetHeight;
                var specifiedHeight = offsetHeight;
                if (oTextBoxMiddleDiv.style.height != "")
                {
                    specifiedHeight = parseFloat(oTextBoxMiddleDiv.style.height);
                }
                else if (oTextBoxOuterDiv.style.height != "")
                {
                    specifiedHeight = parseFloat(oTextBoxOuterDiv.style.height);
                }
                if (offsetHeight > specifiedHeight)
                {
                    var adjusted = true;
                    var count = 0;
                    while ((adjusted) && (offsetHeight > specifiedHeight) && (count < 10))
                    {
                        adjusted = false;
                        ++ count;
                        
                        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") || (oSpan.nodeName == "A"))
                                    {
                                        var fontSize = elementFontSize(oSpan);
                                        var lineHeight = elementLineHeight(oSpan) * 0.95;
                                        if (lineHeight >= (fontSize * 1.1))
                                        {
                                            oSpan.style.lineHeight = lineHeight + UNITS;
                                            var adjusted = true;
                                        }
                                    }
                                }
                            }
                        }
                        
                        offsetHeight = oTextBoxInnerDiv.offsetHeight;
                    }
                }
            }
        }
    }
}

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);
        }
    }
}

function fixupIEPNGBG(oBlock) 
{
    if (oBlock)
    {
        var currentBGImage = oBlock.currentStyle.backgroundImage;
        var currentBGRepeat = oBlock.currentStyle.backgroundRepeat;
        var urlStart = currentBGImage.indexOf('url(');
        var urlEnd = currentBGImage.indexOf(')', urlStart);
        var imageURL = currentBGImage.substring(urlStart + 4, urlEnd);

        if (imageURL.charAt(0) == '"')
        {
            imageURL = imageURL.substring(1);
        }
        
        if (imageURL.charAt(imageURL.length - 1) == '"')
        {
            imageURL = imageURL.substring(0, imageURL.length - 1);
        }

        var overrideRepeat = false;

        var filterStyle =
            "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" +
            imageURL +
            "', sizingMethod='crop');";

        if (RegExp("/C[0-9A-F]{8}.png$").exec(imageURL) != null)
        {
            filterStyle =
                "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" +
                imageURL +
                "', sizingMethod='scale');";

            overrideRepeat = true;
        }

        var backgroundImage = new Image();
        backgroundImage.src = imageURL;
        var tileWidth = backgroundImage.width;
        var tileHeight = backgroundImage.height; 
        
        var blockWidth = 0;
        var blockHeight = 0;
        if (oBlock.style.width)
        {
            blockWidth = parseInt(oBlock.style.width);
        }
        else
        {
            blockWidth = oBlock.offsetWidth;
        }
        if (oBlock.style.height)
        {
            blockHeight = parseInt(oBlock.style.height);
        }
        else
        {
            blockHeight = oBlock.offsetHeight;
        }

        if ((blockWidth == 0) || (blockHeight == 0))
        {
            return;
        }
        
        var wholeRows = 1;
        var wholeCols = 1;
        var extraHeight = 0;
        var extraWidth = 0;
        
        if ((currentBGRepeat.indexOf("no-repeat") != -1) ||
              ((tileWidth == 0) && (tileHeight == 0)) ||
              overrideRepeat)
        {
            tileWidth = blockWidth;
            tileHeight = blockHeight;

        }
        else if ((currentBGRepeat.indexOf("repeat-x") != -1) ||
              (tileHeight == 0))
        {
            wholeCols = Math.floor(blockWidth / tileWidth);
            extraWidth = blockWidth - (tileWidth * wholeCols);
            tileHeight = blockHeight;

        }
        else if (currentBGRepeat.indexOf("repeat-y") != -1)
        {
            wholeRows = Math.floor(blockHeight / tileHeight);
            extraHeight = blockHeight - (tileHeight * wholeRows);
            tileWidth = blockWidth;

        }
        else
        {
            wholeCols = Math.floor(blockWidth / tileWidth);
            wholeRows = Math.floor(blockHeight / tileHeight);
            extraWidth = blockWidth - (tileWidth * wholeCols);
            extraHeight = blockHeight - (tileHeight * wholeRows);
        }
        
        var wrappedContent = document.createElement("div");
        wrappedContent.style.position = "relative";
        wrappedContent.style.zIndex = "1";
        wrappedContent.style.left = "0px";
        wrappedContent.style.top = "0px";
        if (!isNaN(parseInt(oBlock.style.width)))
        {
            wrappedContent.style.width = "" + blockWidth + "px";
        }
        if (!isNaN(parseInt(oBlock.style.height)))
        {
            wrappedContent.style.height = "" + blockHeight + "px";
        }
        var pngBGFixIsWrappedContentEmpty = true;
        while (oBlock.hasChildNodes())
        {
            if (oBlock.firstChild.nodeType == 3)
            {
                if (RegExp("^ *$").exec(oBlock.firstChild.data) == null)
                {
                    pngBGFixIsWrappedContentEmpty = false;
                }
            }
            else
            {
                pngBGFixIsWrappedContentEmpty = false;
            }
            wrappedContent.appendChild(oBlock.firstChild);
        }
        if (pngBGFixIsWrappedContentEmpty)
        {
            wrappedContent.style.lineHeight = "0px";
        }
        
        var newMarkup = "";
        for (var currentRow = 0; 
             currentRow < wholeRows; 
             currentRow++)
        {
            for (currentCol = 0; 
                 currentCol < wholeCols; 
                 currentCol++)
            {
                newMarkup += "<div style=" +
                        "\"position: absolute; line-height: 0px; " +
                        "width: " + tileWidth + "px; " +
                        "height: " + tileHeight + "px; " +
                        "left:" + currentCol *  tileWidth + "px; " +
                        "top:" + currentRow *  tileHeight + "px; " +
                        "filter:" + filterStyle + 
                        "\" > </div>";
            }
            
            if (extraWidth != 0)
            {
                newMarkup += "<div style=" +
                        "\"position: absolute; line-height: 0px; " +
                        "width: " + extraWidth + "px; " +
                        "height: " + tileHeight + "px; " +
                        "left:" + currentCol *  tileWidth + "px; " +
                        "top:" + currentRow *  tileHeight + "px; " +
                        "filter:" + filterStyle + 
                        "\" > </div>";
            }
        }
        
        if (extraHeight != 0)
        {
            for (currentCol = 0; 
                 currentCol < wholeCols; 
                 currentCol++)
            {
                newMarkup += "<div style=" +
                        "\"position: absolute; line-height: 0px; " +
                        "width: " + tileWidth + "px; " +
                        "height: " + extraHeight + "px; " +
                        "left:" + currentCol *  tileWidth + "px; " +
                        "top:" + currentRow *  tileHeight + "px; " +
                        "filter:" + filterStyle + 
                        "\" > </div>";
            }
            
            if (extraWidth != 0)
            {
                newMarkup += "<div style=" +
                        "\"position: absolute; line-height: 0px; " +
                        "width: " + extraWidth + "px; " +
                        "height: " + extraHeight + "px; " +
                        "left:" + currentCol *  tileWidth + "px; " +
                        "top:" + currentRow *  tileHeight + "px; " +
                        "filter:" + filterStyle + 
                        "\" > </div>";
            }
        }
        oBlock.innerHTML = newMarkup;

        oBlock.appendChild(wrappedContent);
        oBlock.style.background= "";
    }
}

function fixupAllIEPNGBGs()
{
    if (windowsInternetExplorer && (browserVersion < 7))
    {
        try
        {
            var oDivNodes = document.getElementsByTagName('DIV');
            for (var iIndex=0; iIndex<oDivNodes.length; iIndex++)
            {
                var oNode = oDivNodes.item(iIndex);
                if (oNode.currentStyle &&
                    oNode.currentStyle.backgroundImage &&
                    (oNode.currentStyle.backgroundImage.indexOf('url(') != -1) &&
                    (oNode.currentStyle.backgroundImage.indexOf('.png")') != -1))
                {
                    fixupIEPNGBG(oNode);
                }
            }
        }
        catch (e)
        {
        }
    }
}

function getChildOfType(oParent, sNodeName, requestedIndex)
{
    var childrenOfType = oParent.getElementsByTagName(sNodeName);
    return (requestedIndex < childrenOfType.length) ?
           childrenOfType.item(requestedIndex) : null;
}

function getParaDescendants(oAncestor)
{
    var oParaDescendants = new Array();
    var oPotentialParagraphs = oAncestor.getElementsByTagName('DIV');
    for (var iIndex=0; iIndex<oPotentialParagraphs.length; iIndex++)
    {
        var oNode = oPotentialParagraphs.item(iIndex);
        if (oNode.className.lastIndexOf('paragraph') != -1)
        {
            oParaDescendants.push(oNode);
        }
    }
    return oParaDescendants;
}

function onPageLoad()
{
    detectBrowser();
    adjustLineHeightIfTooBig("id2");
    adjustFontSizeIfTooBig("id2");
    adjustLineHeightIfTooBig("id3");
    adjustFontSizeIfTooBig("id3");
    adjustLineHeightIfTooBig("id5");
    adjustFontSizeIfTooBig("id5");
    adjustLineHeightIfTooBig("id7");
    adjustFontSizeIfTooBig("id7");
    adjustLineHeightIfTooBig("id9");
    adjustFontSizeIfTooBig("id9");
    fixupIEPNG("id1", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_2_link_0", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_2", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("id4", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupAllIEPNGBGs();
    fixupIEPNG("id6", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("id8", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_0", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_1", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_2", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_3", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_4", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_5", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_6", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_7", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_8", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_9", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_10", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_11", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_12", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_13", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_14", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_15", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_16", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_17", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_18", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_19", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_20", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_21", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_22", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_23", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_24", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_25", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_26", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_27", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_28", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_29", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_30", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("shapeimage_4", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    fixupIEPNG("id10", "197009C4-D484-4BC6-A86A-1806C488CFFA_files/transparent.gif");
    return true;
}

function IMpreload(path, name, areaIndex)
{
    var rolloverName = name+'_rollover_'+areaIndex;
    var rolloverPath = path+'/'+rolloverName+'.png';
    self[rolloverName] = new Image();
    self[rolloverName].src = rolloverPath;

    var linkName = name+'_link_'+areaIndex;
    var linkPath = path+'/'+linkName+'.png';
    self[linkName] = new Image();
    self[linkName].src = linkPath;
    return true;
}

function IMmouseover(name, areaIndex)
{
    var rolloverName = name+'_rollover_'+areaIndex;
    var linkName = name+'_link_'+areaIndex;
    var img  = document.getElementById(linkName);
    if (img)
    {
        img.src = self[rolloverName].src;
    }
    return true;
}

function IMmouseout(name, areaIndex)
{
    var linkName = name+'_link_'+areaIndex;
    var img  = document.getElementById(linkName);
    if (img)
    {
        img.src = self[linkName].src;
    }
    return true;
}

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;
    }
}

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;
    }
}


