	function setBodyHeight(){
		
		
		if (window.innerWidth) {
			windowHeight = window.innerWidth;
		}
		else if (document.documentElement && document.documentElement.clientWidth) {
			windowHeight = document.documentElement.clientWidth;
		}
		else if (document.body) {
			windowHeight = document.body.clientWidth;
		}
		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;
		}
		
		if(document.body.offsetHeight != windowHeight)
			document.body.style.height = "auto";

		if(document.body.offsetHeight < windowHeight)
				document.body.style.height = windowHeight+"px";
	}
	window.onload = setBodyHeight;
	window.onresize = setBodyHeight;

