		function rsdoc() {
			if (window.innerWidth) {
				var winW = window.innerWidth;
				var winH = window.innerHeight;
			} else {
				var winW = document.documentElement.clientWidth;
				var winH = document.documentElement.clientHeight;
			}
			var tabWidth = (winW < 1024) ? 800 : (winW-225);
			var ifWidth = (winW < 910) ? 785 : (winW-225);
			var ifHeight = (winH < 400) ? 260 : (winH-140);
			if (document.getElementById("mainTable")) {
				document.getElementById("mainTable").width = tabWidth + "px";
			}
			if (document.getElementById("mFrame")) {
				document.getElementById("mFrame").width = ifWidth + "px";
				document.getElementById("mFrame").height = ifHeight + "px";
			}
		}
		window.onresize = rsdoc;
		window.onload = rsdoc;
