// JavaScript Document

var initHeight = $("#text").height();

function footerFix() {
// Footer/Content Height Fix
		var footerHeight = 170;
		if($("#mask").height()>670){
			var footerHeight = $("#mask").height()-670;
		}
		if((initHeight + footerHeight)>450){
			$("#content").height(initHeight + footerHeight);
		}
}
function fixAll () { 
	footerFix();
}
window.onload = fixAll; 
// Sidebar Image Position Fix
$(window).resize(function(){
	fixAll();
});
