
function DoGlobalScreenLayout()
{
    if (!IsIE() || IsIE7Above())
    {
        oBambooBoxImg.className = "BambooBoxImg";
        oBambooBoxImg.src = "image/Box.png";
    }
    
}

function DoGlobalScreenLayoutFinalize()
{
    if (IsIE())
    {
        oContentBodyImgBg.style.height = (oContentBodyPanel.offsetHeight - 2) + "px";
        // this line is necessary because, again, IE width:100% problem.  if the container's *height* is not fixed, the <table> contained inside has problem using **width:100%** !!! screw!
        oContentBodyWithPadding.style.height = (oContentBodyPanel.offsetHeight - oSupportedBrowsers.offsetHeight - oPageBottomLinks.offsetHeight - 2) + "px";
    }
    
    // "height: 100%" only counts the visible scrollable section.
    // the following must be the last to run so that all content is loaded and the height is fully grown with document flow.
    if (oBodyImgBg.offsetHeight < oBody.scrollHeight)
    {
        oBodyImgBg.style.height = oBody.scrollHeight + "px";
    }
}

function DoHearderImgHomeLinkHoverOn()
{
    oHearderImgHomeLink.style.cursor = "pointer";
}

function DoHearderImgHomeLinkHoverOff()
{
    oHearderImgHomeLink.style.cursor = "auto";
}

function DoHearderImgHomeLinkClick()
{
    window.location = "Default.aspx";
}
