function sortHeight(){
	var content = $("#ContentTable");
	if(content.length){
		var otherHeight = $("#header").height() + $("#menu").height() + $("#footer").height();
		content.height("auto");
		if(content.height() + otherHeight < info.height)
			content.height(info.height-otherHeight);
	}
}
$(function(){
	initMenu();
	sortHeight();
});
$(window).resize(function(){
	getDimensions();
	getScroll();
	sortHeight();
});
