IMpreload('Home_files', 'shapeimage_1', '0');
IMpreload('Home_files', 'shapeimage_2', '0');
IMpreload('Home_files', 'shapeimage_3', '0');
IMpreload('Home_files', 'shapeimage_4', '0');
IMpreload('Home_files', 'shapeimage_5', '0');
IMpreload('Home_files', 'shapeimage_6', '0');
IMpreload('Home_files', 'shapeimage_7', '0');
IMpreload('Home_files', 'shapeimage_11', '0');
IMpreload('Home_files', 'shapeimage_13', '0');
IMpreload('Home_files', 'shapeimage_18', '1');
IMpreload('Home_files', 'shapeimage_23', '0');
IMpreload('Home_files', 'shapeimage_24', '0');
IMpreload('Home_files', 'shapeimage_25', '0');
IMpreload('Home_files', 'shapeimage_26', '0');
IMpreload('Home_files', 'shapeimage_27', '0');
IMpreload('Home_files', 'shapeimage_28', '0');
IMpreload('Home_files', 'shapeimage_29', '0');
IMpreload('Home_files', 'shapeimage_30', '0');
IMpreload('Home_files', 'shapeimage_31', '0');
IMpreload('Home_files', 'shapeimage_32', '0');
IMpreload('Home_files', 'shapeimage_33', '0');
IMpreload('Home_files', 'shapeimage_34', '0');
IMpreload('Home_files', 'shapeimage_35', '0');
IMpreload('Home_files', 'shapeimage_37', '0');
IMpreload('Home_files', 'shapeimage_38', '0');
IMpreload('Home_files', 'shapeimage_39', '0');
IMpreload('Home_files', 'shapeimage_39', '1');
IMpreload('Home_files', 'shapeimage_40', '0');
IMpreload('Home_files', 'shapeimage_41', '0');
IMpreload('Home_files', 'shapeimage_42', '0');
IMpreload('Home_files', 'shapeimage_43', '0');
function writeMovie1()
{
    document.write('<object id="id81" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="212" height="175" style="height: 175px; left: 680px; position: absolute; top: 682px; width: 212px; z-index: 1; "><param name="src" value="Home_files/Intro%20web.mov" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /><embed pluginspage="http://www.apple.com/quicktime/download/" type="video/quicktime" class="mov" width="212" height="175" src="Home_files/Intro%20web.mov" controller="true" autoplay="false" scale="tofit" volume="100" loop="false"></embed></object>');
}

IMpreload('Home_files', 'shapeimage_45', '0');
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;
                    }
                }
            }
        }
    }
}

function adjustStrokeHeight(idOfElement, leftDelta, rightDelta, bottomDelta)
{
    var oTextBoxOuterDiv = document.getElementById(idOfElement);

    if (oTextBoxOuterDiv)
    {
        var offsetHeight = oTextBoxOuterDiv.offsetHeight;

        var leftImage = getChildOfType(oTextBoxOuterDiv, "IMG", 0);
        if (leftImage)
        {
            leftImage.style.height = (offsetHeight - leftDelta) + "px";
        }
        var rightImage = getChildOfType(oTextBoxOuterDiv, "IMG", 1);
        if (rightImage)
        {
            rightImage.style.height = (offsetHeight - rightDelta) + "px";
        }
        var bottomImage = getChildOfType(oTextBoxOuterDiv, "IMG", 3);
        if (bottomImage)
        {
            bottomImage.style.top = (offsetHeight - bottomDelta) + "px";
        }
    }
}

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 getChildOfType(oParent, sNodeName, requestedIndex)
{
    var childrenOfType = oParent.getElementsByTagName(sNodeName);
    return (requestedIndex < childrenOfType.length) ?
           childrenOfType.item(requestedIndex) : null;
}

function onPageLoad()
{
    detectBrowser();
    adjustLineHeightIfTooBig("id3");
    adjustFontSizeIfTooBig("id3");
    adjustLineHeightIfTooBig("id8");
    adjustFontSizeIfTooBig("id8");
    adjustLineHeightIfTooBig("id9");
    adjustFontSizeIfTooBig("id9");
    adjustLineHeightIfTooBig("id10");
    adjustFontSizeIfTooBig("id10");
    adjustLineHeightIfTooBig("id11");
    adjustFontSizeIfTooBig("id11");
    adjustLineHeightIfTooBig("id12");
    adjustFontSizeIfTooBig("id12");
    adjustLineHeightIfTooBig("id13");
    adjustFontSizeIfTooBig("id13");
    adjustLineHeightIfTooBig("id21");
    adjustFontSizeIfTooBig("id21");
    adjustLineHeightIfTooBig("id23");
    adjustFontSizeIfTooBig("id23");
    adjustLineHeightIfTooBig("id24");
    adjustFontSizeIfTooBig("id24");
    adjustLineHeightIfTooBig("id27");
    adjustFontSizeIfTooBig("id27");
    adjustLineHeightIfTooBig("id34");
    adjustFontSizeIfTooBig("id34");
    adjustLineHeightIfTooBig("id36");
    adjustFontSizeIfTooBig("id36");
    adjustLineHeightIfTooBig("id37");
    adjustFontSizeIfTooBig("id37");
    adjustLineHeightIfTooBig("id40");
    adjustFontSizeIfTooBig("id40");
    adjustLineHeightIfTooBig("id42");
    adjustFontSizeIfTooBig("id42");
    adjustLineHeightIfTooBig("id44");
    adjustFontSizeIfTooBig("id44");
    adjustLineHeightIfTooBig("id48");
    adjustFontSizeIfTooBig("id48");
    adjustLineHeightIfTooBig("id49");
    adjustFontSizeIfTooBig("id49");
    adjustLineHeightIfTooBig("id55");
    adjustFontSizeIfTooBig("id55");
    adjustLineHeightIfTooBig("id59");
    adjustFontSizeIfTooBig("id59");
    adjustLineHeightIfTooBig("id60");
    adjustFontSizeIfTooBig("id60");
    adjustLineHeightIfTooBig("id61");
    adjustFontSizeIfTooBig("id61");
    adjustLineHeightIfTooBig("id62");
    adjustFontSizeIfTooBig("id62");
    adjustLineHeightIfTooBig("id63");
    adjustFontSizeIfTooBig("id63");
    adjustLineHeightIfTooBig("id64");
    adjustFontSizeIfTooBig("id64");
    adjustLineHeightIfTooBig("id65");
    adjustFontSizeIfTooBig("id65");
    adjustLineHeightIfTooBig("id66");
    adjustFontSizeIfTooBig("id66");
    adjustLineHeightIfTooBig("id67");
    adjustFontSizeIfTooBig("id67");
    adjustLineHeightIfTooBig("id68");
    adjustFontSizeIfTooBig("id68");
    adjustLineHeightIfTooBig("id69");
    adjustFontSizeIfTooBig("id69");
    adjustLineHeightIfTooBig("id70");
    adjustFontSizeIfTooBig("id70");
    adjustLineHeightIfTooBig("id71");
    adjustFontSizeIfTooBig("id71");
    adjustLineHeightIfTooBig("id73");
    adjustFontSizeIfTooBig("id73");
    adjustLineHeightIfTooBig("id74");
    adjustFontSizeIfTooBig("id74");
    adjustLineHeightIfTooBig("id75");
    adjustFontSizeIfTooBig("id75");
    adjustLineHeightIfTooBig("id76");
    adjustFontSizeIfTooBig("id76");
    adjustLineHeightIfTooBig("id77");
    adjustFontSizeIfTooBig("id77");
    adjustLineHeightIfTooBig("id78");
    adjustFontSizeIfTooBig("id78");
    adjustLineHeightIfTooBig("id79");
    adjustFontSizeIfTooBig("id79");
    adjustLineHeightIfTooBig("id84");
    adjustFontSizeIfTooBig("id84");
    adjustLineHeightIfTooBig("id85");
    adjustFontSizeIfTooBig("id85");
    fixupIEPNG("id1", "Home_files/transparent.gif");
    fixupIEPNG("id2", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_1_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_1", "Home_files/transparent.gif");
    fixupIEPNG("id4", "Home_files/transparent.gif");
    fixupIEPNG("id5", "Home_files/transparent.gif");
    fixupIEPNG("id6", "Home_files/transparent.gif");
    fixupIEPNG("id7", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_2_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_2", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_3_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_3", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_4_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_4", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_5_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_5", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_6_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_6", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_7_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_7", "Home_files/transparent.gif");
    fixupIEPNG("id14", "Home_files/transparent.gif");
    fixupIEPNG("id15", "Home_files/transparent.gif");
    fixupIEPNG("id16", "Home_files/transparent.gif");
    fixupIEPNG("id17", "Home_files/transparent.gif");
    fixupIEPNG("id18", "Home_files/transparent.gif");
    fixupIEPNG("id19", "Home_files/transparent.gif");
    fixupIEPNG("id20", "Home_files/transparent.gif");
    adjustStrokeHeight("id21", 20, 20, 10);
    fixupIEPNG("id22", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_11_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_11", "Home_files/transparent.gif");
    fixupIEPNG("id25", "Home_files/transparent.gif");
    fixupIEPNG("id26", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_13_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_13", "Home_files/transparent.gif");
    fixupIEPNG("id28", "Home_files/transparent.gif");
    fixupIEPNG("id29", "Home_files/transparent.gif");
    fixupIEPNG("id30", "Home_files/transparent.gif");
    fixupIEPNG("id31", "Home_files/transparent.gif");
    fixupIEPNG("id32", "Home_files/transparent.gif");
    fixupIEPNG("id33", "Home_files/transparent.gif");
    fixupIEPNG("id35", "Home_files/transparent.gif");
    fixupIEPNG("id38", "Home_files/transparent.gif");
    fixupIEPNG("id39", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_18_link_1", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_18", "Home_files/transparent.gif");
    fixupIEPNG("id41", "Home_files/transparent.gif");
    fixupIEPNG("id43", "Home_files/transparent.gif");
    fixupIEPNG("id45", "Home_files/transparent.gif");
    fixupIEPNG("id46", "Home_files/transparent.gif");
    fixupIEPNG("id47", "Home_files/transparent.gif");
    fixupIEPNG("id50", "Home_files/transparent.gif");
    fixupIEPNG("id51", "Home_files/transparent.gif");
    fixupIEPNG("id52", "Home_files/transparent.gif");
    fixupIEPNG("id53", "Home_files/transparent.gif");
    fixupIEPNG("id54", "Home_files/transparent.gif");
    adjustStrokeHeight("id55", 3, 3, 2);
    fixupIEPNG("id56", "Home_files/transparent.gif");
    fixupIEPNG("id57", "Home_files/transparent.gif");
    fixupIEPNG("id58", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_23_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_23", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_24_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_24", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_25_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_25", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_26_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_26", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_27_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_27", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_28_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_28", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_29_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_29", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_30_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_30", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_31_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_31", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_32_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_32", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_33_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_33", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_34_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_34", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_35_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_35", "Home_files/transparent.gif");
    fixupIEPNG("id72", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_37_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_37", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_38_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_38", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_39_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_39_link_1", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_39", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_40_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_40", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_41_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_41", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_42_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_42", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_43_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_43", "Home_files/transparent.gif");
    fixupIEPNG("id80", "Home_files/transparent.gif");
    fixupIEPNG("id82", "Home_files/transparent.gif");
    fixupIEPNG("id83", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_45_link_0", "Home_files/transparent.gif");
    fixupIEPNG("shapeimage_45", "Home_files/transparent.gif");
    fixupIEPNG("id86", "Home_files/transparent.gif");
    fixupIEPNG("id87", "Home_files/transparent.gif");
    return true;
}

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

