function openwin1(file,name,w,h) { //位置指定_有り
newWin1= window.open(file,name,"width="+w+",height="+h+",screenX=0,screenY=0,left=0,top=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0");
newWin1.focus()
}

function openwin2(file,name,w,h) {//位置指定_なし　未使用
newWin2= window.open(file,name,"width="+w+",height="+h+",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0");
newWin2.focus()
}

function openwin3(file,name, w, h) {//位置指定_センター　未使用
	sw=screen.availWidth/2-w/2;
	sh=screen.availHeight/2-h/2;
newWin3= window.open(file,name,"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+w+",height="+h+",top="+sh+",screenY="+sh+",left="+sw+",screenX="+sw+"");
newWin3.focus()
}

function openwin4(file,name, w, h) {//地図
	sw=screen.availWidth/2-w/2;
newWin5= window.open(file,name,"width="+w+",height="+h+",screenY=10,top=10,toolbar=1,location=0,directories=0,status=0,menubar=1,scrollbars=0,resizable=0,left="+sw+",screenX="+sw+"");
newWin5.focus()
}

function openwin5(file,name, w, h) {//フォームで使用
	sw=screen.availWidth/2-w/2;
newWin5= window.open(file,name,"width="+w+",height="+h+",screenY=10,top=10,toolbar=1,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,left="+sw+",screenX="+sw+"");
newWin5.focus()
}

function openwin6(file,name, w, h) {//未使用
	sw=screen.availWidth/2-w/2;
	sh=screen.availHeight/2-h/2;
newWin6= window.open(file,name,"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width="+w+",height="+h+",top="+sh+",screenY="+sh+",left="+sw+",screenX="+sw+"");
newWin6.focus()
}

// +--- 記述 -----------------------------------------------------------+
//<head内>
//<SCRIPT type="text/javascript" src="../../js/%83t%83H%83%8B%83_%96%BC/popup.js"></SCRIPT>

//<BODY>内
//<A href="javascript:openwinN('file','name',w,h)">link</A>
//　openwinN　ここのNを　1.2.3のどれかにするだけできりかわります。
//
//		file ファイル名
//		name ウィンドウ名
//		w 幅 
//		h  高
//		openwinN（N=1,2,3）


//+--- 補足 -----------------------------------------------------------+
//openwin1　
//		screenX=x,screenY=y  nn用
//		left=x,top=y　ie用
//		モニターの左上からの座標(x.y)
