﻿// JScript File

function setDiv()
{
    var Master_Container = document.getElementById('Master_Container');
    var Navigation = document.getElementById('Navigation');
    var Body_Content = document.getElementById('Body_Content');
    var navHeight = Navigation.offsetHeight;
    var bodyHeight = Body_Content.offsetHeight;
    if (navHeight > bodyHeight)
    {
        Master_Container.style.height = navHeight + 150 + "px";
        Body_Content.style.height = navHeight - 1 + "px";
    }
    else
    {
        Master_Container.style.height = bodyHeight + 150 + "px";
        Navigation.style.height = bodyHeight - 1 + "px";
    }
    insertHeader()
}

function NavSWAP(Id)
{
    var TD = document.getElementById(Id);
    TD.className = "NavTD_Over";
}
function NavSwapout(Id)
{
    var TD = document.getElementById(Id);
    TD.className = "NavTD";
}