$("#header").css("height","75px");
if ($("#content").height() > $("#superwrap").height()) {
    var diff = $("#content").height() + parseInt($("#content").css("padding-top")) + parseInt($("#content").css("padding-bottom")) - $("#superwrap").height() + - 22;
    $("#footer").css("margin-top",diff+"px");
}
$("#footer").addClass("shown");

