﻿function onloadHandler()
{
    var myWidth = 0, myHeight = 0;
    if (typeof (window.innerWidth) == 'number') {
        //Non-IE
        myWidth = window.innerWidth;
        myHeight = window.innerHeight;
    } else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
        //IE 6+ in 'standards compliant mode'
        myWidth = document.documentElement.clientWidth;
        myHeight = document.documentElement.clientHeight;
    } else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
        //IE 4 compatible
        myWidth = document.body.clientWidth;
        myHeight = document.body.clientHeight;
    }
    var rr = document.getElementById("RIGHT_R");
    var bc = document.getElementById("MP_BackCenter");
    var ch = bc.clientHeight;
    var nh = 0;
    do
    {
        if (myHeight > ch) {
            nh = nh + (myHeight - ch);
        }
        rr.style.display = "inline";
        rr.style.height = "" + nh + "px";
        rr.style.display = "";
        bc = document.getElementById("MP_BackCenter");
        ch = bc.clientHeight;
    }
    while (bc.clientHeight < myHeight)
    
    
}

function Button_OnMouseOver(id, name) 
{
    var img = document.getElementById(id);
    img.src = name;
}

function Button_OnMouseOut(id, name)
{
    var img = document.getElementById(id);
    img.src = name;
}

