// Attach the resize event to the window and call the ResizePage
// function when it is fired.
$(window).resize(function () {
ResizePage();
});

// Set the height of the content cell to:
// The height of the window - the height of the header - the height of the footer -
// the height of the content header and footer.
function ResizePage() {
$(".c1").height($(window).height() -
$("#topTable").outerHeight() -
$("#bottomTable").outerHeight() -
($(".sc1").height() * 2));
}
});
</script>