
AddWindowOnLoadFunction(
function()
    {
        var contentEl = $$('div#content')[0];
        var columnleftEl = $$('div#column_left')[0];
        var max_height = Math.max(contentEl.getHeight(),columnleftEl.getHeight());

        setHeight(max_height, columnleftEl);
        setHeight(max_height, contentEl);
    });

function setHeight(finalHeight, element)
{
    element.style.height = (finalHeight - getStylePropertyValue(element, 'padding-bottom') - getStylePropertyValue(element, 'padding-top') - getStylePropertyValue(element, 'border-bottom-width') - getStylePropertyValue(element, 'border-top-width')) + 'px';
}
