//<!--

function ResizeBody()
{
    var header = document.getElementById("Header");
    var body = document.getElementById("Body");
    var footer = document.getElementById("Footer");

    var height = GetHeight() - header.offsetHeight - footer.offsetHeight;
    if (height > body.offsetHeight)
    {
        body.style.height = height + "px";
    }
}

function GetHeight()
{
    if (window.innerHeight > 0)
    {
        return window.innerHeight;
    }
    else
    {
        return document.documentElement.clientHeight;
    }
}

window.onload = function()
{
    if (window.BingMapInit) BingMapInit();
    if (window.RunHeaderVideo) RunHeaderVideo();
    if (window.RunImageFlow) RunImageFlow();
    if (window.StartFade) StartFade();

    ResizeBody();
};

window.onresize = function()
{
    ResizeBody();
};

function btnSubmitQuoteDisable()
{
    $('#OrderSummary a[id$="btnRemove"]').each(
        function () {
            $(this).css('display', 'none').attr('href', '');
        }
    );
}
//-->
