function fix_style() {
    if ($('rightzone') && $('content') && $('footer')) {
        var content = $('content').offsetHeight;
        var rightzone = $('rightzone').offsetHeight - 173;
        var footer = $('footer').offsetHeight;
        var minheight = document.body.offsetHeight - footer -174;
        minheight = (minheight < rightzone)?rightzone:minheight;
        //alert(minheight);
        if (content < minheight) {
           $('content').style.height = minheight + 'px';
        }
    }
}
addEvent(window, 'load', fix_style, false);
