サンプルコード
<html>
<script language=javascript>
function nwin(){
	contwin	= window.open("","contwindow");
	contwin.moveTo(150,0);
	sHeight=screen.height-28;
	if (screen.width-150<800)
		sWidth=screen.width-150;
	else
		sWidth=800;
	contwin.resizeTo(sWidth,sHeight);
}
function cwin(){
	naviwin	= window.open("http://www.tokyodisneyresort.co.jp/tdr/japanese/navi.html","naviwindow","menubar=no,scrollbars=no,toolbar=no,status=no,location=no,directories=no,width=140,height=509,left=0,top=0,screenX=0,screenY=0");
	naviwin.close();
	if (contwin.closed==false)
		contwin.close();
}
</script>
<body OnLoad="javascript:nwin()">
<center>
<form>
<input type=button value="実行" OnClick="javascript:nwin()">
<input type=button value="終了" OnClick="javascript:cwin()">
</form>
</center>
</body>
</html>
新しくメインウィンドウ(contwin: nav.html)を開くとメインウィンドウがナビウィンドウ(naviwin)を開き、ナビウィンドウに接する(x=150,y=0)ようにメインウィンドウを移動(moveTo)して、width=800 height=(画面の高さ)にリサイズ(resizeTo)する。