var adjustContent = function() {
	var headAndFoot = $("#bg-container-bottom").parent().height()-$("#content").height();
	$("#content").height($(window).height()-headAndFoot);
}

$(document).ready(adjustContent);
$(window).resize(adjustContent);
