var FC = {
	originalContentHeight: false,
	init: function() {
		this.originalContentHeight = $("#content").height();
		this.resize();
		$(window).resize(function(){ FC.resize(); });
	},
	resize: function() {
		var content = $("#content");
		var quote = $("#quote");
		if (!content.hasClass("home")) {
			var windowHeight = $(window).height();
			var contentHeight = content.height();
			
			// if (contentHeight + 55 > windowHeight) {
			// 	content.css("height", windowHeight - 55);
			if (contentHeight + 63 > windowHeight) {
				content.css("height", windowHeight - 63);
				$(".menu").css("width", 160);
				$("#content").addClass("full");
			} else {
				content.css("height", this.originalContentHeight);
				$(".menu").css("width", 165);
				$("#content").removeClass("full");
			}
			
			if (windowHeight - contentHeight - 55 - 14 >= 127) {
				quote.slideDown();
			} else {
				quote.slideUp();
			}
		}
	}
};
