﻿// JScript File
function setDiv()
{
    var Master_Container = document.getElementById('Master_Container');
    var Body_Area = document.getElementById('Body_Area');
    var Content = document.getElementById('Content');
    var Navigation = document.getElementById('Navigation');
    var Navigation_Height = Navigation.offsetHeight;
    var Content_Height = Content.offsetHeight;
    if (Content_Height > Navigation_Height)
    {
        Master_Container.style.height = Content_Height + 230 + "px";
        Body_Area.style.height = Content_Height + 106 + "px";
        Navigation.style.height = Content_Height - 11 + "px";
    }
    else
    {
        Master_Container.style.height = Navigation_Height + 230 + "px";
        Body_Area.style.height = Navigation_Height + 106 + "px";
        Content.style.height = Navigation_Height - 11 + "px";
    }   
} 

function rollbg(chosen, objectID) {
if(chosen == "roll") {
document.getElementById(objectID).className="roll";
}
else {
document.getElementById(objectID).className="over";
}
}


