var CONTENT_HEIGHT = 522;
$(function(){
    if ($('#content').height() < CONTENT_HEIGHT){
        $('#content').height(CONTENT_HEIGHT);
        }
    });
