function checkChange(){
	
	var winWidth,winHeight;

	if (self.innerHeight){ // all except Explorer
		winWidth = self.innerWidth;
		winHeight = self.innerHeight;
	}else if (document.documentElement && document.documentElement.clientHeight){ // Explorer 6 Strict Mode
		winWidth = document.documentElement.clientWidth;
		winHeight = document.documentElement.clientHeight;
	} else if (document.body){ // other Explorers
	
		winWidth = document.body.clientWidth;
		winHeight = document.body.clientHeight;
	}

	divid=document.getElementById("Wrapper");
	
	if (winWidth <= (sWidth)){
		divid.style.width="911px";
	} else {
		divid.style.width="100%";
	}
	
	if(winHeight <= (sHeight)){
		divid.style.height="100%";
	} else {
		divid.style.height="694px";
	}
}

var sWidth = 911;
var sHeight = 694;

window.onresize = checkChange;

