//　サブウィンドウオープン

function MM_openBrWindow(theURL,winName,features) { //v2.0
  subWin = window.open(theURL,winName,features);
  subWin.opener=top;
  subWin.focus();
}
		
//　親ウィンドウロケーション

function viewWin(theURL) { //v2.0
  if (opener) {
			opener.location.href=theURL;
		}
			else {
				newWin = window.open(theURL,"newWindow","");
				newWin.opener=top;
				newWin.focus();
			}
}
