a=screen.height;
b=a-500     // 実際に開く窓の高さをマイナスする
c=b/2
x=screen.width;
y=x-800    // 実際に開く窓の幅をマイナスする
z=y/2
function openWin(fi,na,w,h) {
	window.open(fi,na,"width="+w+",height="+h+",left="+z+",top="+c+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,favorites=no,resizable=yes");
}