function setWindowDisplaySize(objWindow, intWidth, intHeight) {
	// we're just maximizing a window now
	top.window.moveTo(0,0);
	if (document.all) {
		top.window.resizeTo(screen.availWidth,screen.availHeight);
	} else if (document.layers||document.getElementById) {
		if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
			top.window.outerHeight = screen.availHeight;
			top.window.outerWidth = screen.availWidth;
		}
	}
	
	/*
	// override values -- rig!
	intWidth = 750;
	intHeight = 570;

	if ((!isNaN(intWidth)) && (!isNaN(intHeight)) && (intWidth > 0) && (intHeight > 0)) {
		
		var intInnerWidth, intInnerHeight, intResizeWidth, intResizeHeight;
		var intOuterWidth, intOuterHeight, intScreenWidth, intScreenHeight;
		var boolWindowResizeMethod;
		
		// make sure we're on top.
		objWindow = objWindow.top;

		// try two methods of figuring the inner width
		intInnerWidth = objWindow.innerWidth;

		if (!isNaN(intInnerWidth)) {
			intInnerHeight = objWindow.innerHeight;
			boolWindowResizeMethod = true;
		} else {
			intInnerWidth = objWindow.document.body.clientWidth;
			intInnerHeight = objWindow.document.body.clientHeight;
			boolWindowResizeMethod = false;
		}
		
		// set the screen size
		if ((intInnerWidth != intWidth) || (intInnerHeight != intHeight)) {
			intResizeWidth = parseInt(intWidth) - parseInt(intInnerWidth);
			intResizeHeight = parseInt(intHeight) - parseInt(intInnerHeight);
			objWindow.resizeBy(intResizeWidth, intResizeHeight);
			//window.location.reload(); -- DISABLED BECAUSE IE FREAKED.
		}

		if (boolWindowResizeMethod) {
			intOuterWidth = objWindow.outerWidth;
			intOuterHeight = objWindow.outerHeight;
		} else {
			intOuterWidth = objWindow.document.body.offsetWidth;
			intOuterHeight = objWindow.document.body.offsetHeight;			
		}

		intScreenWidth = screen.availWidth;
		intScreenHeight = screen.availHeight;

		// center the screen
		intResizeWidth = parseInt((intScreenWidth - intOuterWidth) / 2);
		intResizeHeight = parseInt((intScreenHeight - intOuterHeight) / 2);
		objWindow.moveTo(intResizeWidth, intResizeHeight);

	}
	*/
}
