function changeSize() {
	//Variable declaration and initialization
	var myHeight = 0;
	var footerHeight = 45;
	var headerHeight = 94;
	
	if(typeof(window.innerWidth) == 'number') {
		//Non-IE
		myHeight = window.innerHeight;
	}
	if(document.documentElement && document.documentElement.clientHeight) {
		//IE 6+ in 'standards compliant mode'
		myHeight = document.documentElement.clientHeight;
	}
	else if(document.body && document.body.clientHeight) {
		//IE 4 compatible
		myHeight = document.body.clientHeight;
	}
	
	newSize = myHeight - footerHeight - headerHeight;

	var dom = findDOM("main_body", 0);
	if (dom.offsetHeight < newSize) {
		dom.style.height = newSize + "px";
	}
}