
window.onresize=resizeColumn;
function handleError() {
	return true;
}
window.onerror = handleError;
		
function resizeColumn(){	

	if (window.innerHeight) {
		windowHeight = window.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight) {
		windowHeight = document.documentElement.clientHeight;
	}
	else if (document.body) {
		windowHeight = document.body.clientHeight;
	}
	
	mainHeight = document.getElementById("wrap").offsetHeight;
	
	if (windowHeight > mainHeight){
		if (navigator.appVersion.indexOf("MSIE")!=-1){
			HowHigh = windowHeight-128; 
		}else{
			HowHigh = windowHeight-138; 
		}
		document.getElementById("content").style.height = HowHigh+ "px";
	}
}
