
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function resize_scroll()
{    
    var ns = (document.layers) ? true : false;
    var ie = (document.all) ? true : false;
    var gebid = (document.getElementById) ? true : false;
    
    // alert("ns = " + ns + " , ie = " + ie + " , gebid = " + gebid);
    var winX = ((ns || gebid) && !ie) ? window.innerWidth-16 : document.body.offsetWidth-20;
    var winY = ((ns || gebid) && !ie) ? window.innerHeight : document.body.offsetHeight;
        
    // alert(winY);  
    if (gebid)
    {
        var o1 = document.getElementById("right_column_main");

        if (o1)
        {
            if (ie)
                o1.style.height = winY - 145;
            else
                o1.setAttribute("style", "height: " + (winY-145) + "px;");
        }
       
        // o1.setAttribute("style", "height: 500px;");           
        // alert(o1.style.height);
    }
}


function init_handler()
{
    resize_scroll();   
}
window.onload = init_handler;
window.onresize = resize_scroll;