window.onload = setHeight;

function setHeight() {
    var height = $(window).height() - $('#container1').height();
    if (height < 1) {
        return;
    }
    $('#content').height($('#content').height() + height);
}
