//==============================================================================
//　ポップアップウィンドウ作成用関数
//　MakeWin:指定のサイズでポップアップを開くための関数。
//　HTML指定方法1:<a href="javascript:MakeWin('xxxx.html');">
//　HTML指定方法2:<a href="#" onClick="javascript:MakeWin('xxxx.html')">
//==============================================================================
function MakeWin(url) {
x_size = 650;//←幅
y_size = 500;//←高さ
target_name = 'PopUp';//←ウィンドウのターゲット設定
var attb = 'toolbar=no,location=no,directories=no,status=yes,enubar=no,scrollbars=yes,resizable=yes,width=' + x_size + ',height=' + y_size;
subWin=window.open(url,target_name,attb);
var check = ((navigator.appName.charAt(0) == "M") && (navigator.appVersion.charAt(0) <= 3));
if (!check) {subWin.focus();}
}

function MakeWinEV(url) {
x_size = 800;//←幅
y_size = 600;//←高さ
target_name = 'PopUp';//←ウィンドウのターゲット設定
var attb = 'toolbar=no,location=no,directories=no,status=yes,enubar=no,scrollbars=yes,resizable=yes,width=' + x_size + ',height=' + y_size;
subWin=window.open(url,target_name,attb);
var check = ((navigator.appName.charAt(0) == "M") && (navigator.appVersion.charAt(0) <= 3));
if (!check) {subWin.focus();}
}

function MakeWinEV2(url) {
x_size = 500;//←幅
y_size = 430;//←高さ
target_name = 'PopUp';//←ウィンドウのターゲット設定
var attb = 'toolbar=no,location=no,directories=no,status=yes,enubar=no,scrollbars=yes,resizable=yes,width=' + x_size + ',height=' + y_size;
subWin=window.open(url,target_name,attb);
var check = ((navigator.appName.charAt(0) == "M") && (navigator.appVersion.charAt(0) <= 3));
if (!check) {subWin.focus();}
}
function MakeWinEV3(url) {
x_size = 680;//←幅
y_size = 960;//←高さ
target_name = 'PopUp';//←ウィンドウのターゲット設定
var attb = 'toolbar=no,location=no,directories=no,status=yes,enubar=no,scrollbars=yes,resizable=yes,width=' + x_size + ',height=' + y_size;
subWin=window.open(url,target_name,attb);
var check = ((navigator.appName.charAt(0) == "M") && (navigator.appVersion.charAt(0) <= 3));
if (!check) {subWin.focus();}
}
function MakeWinEV4(url) {
x_size = 680;//←幅
y_size = 800;//←高さ
target_name = 'PopUp';//←ウィンドウのターゲット設定
var attb = 'toolbar=no,location=no,directories=no,status=yes,enubar=no,scrollbars=yes,resizable=yes,width=' + x_size + ',height=' + y_size;
subWin=window.open(url,target_name,attb);
var check = ((navigator.appName.charAt(0) == "M") && (navigator.appVersion.charAt(0) <= 3));
if (!check) {subWin.focus();}
}
function MakeWinEV5(url) {
x_size = 580;//←幅
y_size = 850;//←高さ
target_name = 'PopUp';//←ウィンドウのターゲット設定
var attb = 'toolbar=no,location=no,directories=no,status=yes,enubar=no,scrollbars=yes,resizable=yes,width=' + x_size + ',height=' + y_size;
subWin=window.open(url,target_name,attb);
var check = ((navigator.appName.charAt(0) == "M") && (navigator.appVersion.charAt(0) <= 3));
if (!check) {subWin.focus();}
}
