function resizeDiv() {
        var lDiv = $('l');
        var rDiv = $('r');

        if (rDiv) {

                var content=$('content_div');
                if (content) {
                 var h2=content.style.height;
                 if (h2<screen.height-430) {
                  content.style.height=screen.height-0;
                 }
                }
                var h = rDiv.offsetHeight;
                if (lDiv) {
                  if (content) {
                        lDiv.style.height = h2;
                  }
                  else {
                     lDiv.style.height = h;
                  }
                }

        } else {
                return;
        }
}

window.onload = function() {
        resizeDiv();
}

window.onresize = function() {
        resizeDiv();
}
//-----------------------------------------------------





