function forceScroll() {
	
	//viewable browser width/height
	var x;
	var y;
	//minimum scroll area
	var vWidth = 990;
	var vHeight = 680;
	//overflow
	var vOverflowWidth = "";
	var vOverflowHeight = "";
	
	// determine viewable browser width and height
	if (self.innerHeight) // all except Explorer
	{
		x = self.innerWidth;
		y = self.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight)
		// Explorer 6 Strict Mode
	{
		x = document.documentElement.clientWidth;
		y = document.documentElement.clientHeight;
	}
	else if (document.body) // other Explorers
	{
		x = document.body.clientWidth;
		y = document.body.clientHeight;
	}
	
	// determine if the viewable area is smaller than the minimum scroll area
	if(x < vWidth) {
		x = vWidth;
		document.getElementById('doc').style.width = x+"px";
		vOverflowWidth = "auto";
	} else {
		document.getElementById('doc').style.width = "100%";
		vOverflowWidth = "hidden";
	}
	
	if(y < vHeight) {
		y = vHeight;
		document.getElementById('doc').style.height = y+"px";
		vOverflowHeight = "auto";
	} else {
		document.getElementById('doc').style.height = "100%";
		vOverflowHeight = "hidden";
	}
	
	
	// apply the overflow if required
	if(vOverflowWidth == "hidden" && vOverflowHeight == "hidden") {	
		document.body.style.overflow = "hidden";	
	} else {
		document.body.style.overflow = "auto";	
	}
	
	// if HTML is served force the overflow
	if(!document.getElementById("sotester")) {
		document.body.style.overflow = "auto";
	}
}

// event handlers
addLoadEvent(forceScroll);
window.onresize = forceScroll;