<!--
/*初期値設定*/
app = navigator.appName.charAt(0);
win=(navigator.userAgent.indexOf("Win")!=-1)
mac=(navigator.userAgent.indexOf("Mac")!=-1)
ce=(navigator.userAgent.indexOf("CE")!=-1)
agt2 = "";
startPoint2 = "";
endPoint2 = "";
version2 = 0;
/*ログインバージョンチェックなしでopen処理しています。*/
/*  2007/04/09 サーバ変更対応 --- 

*/
function dblogin() {
var sWidth = screen.availWidth - 80 ;
var sHeight = screen.availHeight - 60 ;
var resize;
if (netscape_check() ) {
   resize = "no";
}else{
   resize = "yes";
}
option = "toolbar=no,SCROLLBARS=auto,menubar=no,location=no,status=yes";
option += ",resizable=" + resize;
option += ",top=0,left=0"
option += ",height="+sHeight
option += ",width=" +sWidth
url ="https://bb1.finemax.net/0177fukuoka/bob/BOB_90N90.htm";
 window.open(url,"bb_hit_chg",option);

}
/*ネット投信バージョンチェックなしでopen処理しています。*/
function toushinlogin() {
sWidth = screen.availWidth - 80 ;
sHeight = screen.availHeight - 60 ;
option = "toolbar=no,SCROLLBARS=yes,menubar=no,location=no,status=yes,resizable=no,top=0,left=0";

option += ",height="+sHeight
option += ",width=" +sWidth
url ="https://0177.mf.finemax.net/";
 window.open(url,"bb_toushin",option);

}
/*法人BBW　ANSER---open処理しています。*/
function anserlogin() {
sWidth =780 ;
sHeight = screen.availHeight - 60 ;
option = "toolbar=yes,SCROLLBARS=yes,menubar=yes,location=yes,status=yes,resizable=yes,top=0,left=0"
option += ",height="+sHeight
option += ",width=" +sWidth
url  ="https://www.caweb.anser.or.jp:443/cgi/caweb.aic?CCT0080=0177";
window.open(url,"anser_bbw",option);

}
/*法人BBW　IFB---open処理しています。*/
function ifblogin() {
sWidth = 780;
sHeight = screen.availHeight - 60 ;
option = "toolbar=yes,SCROLLBARS=yes,menubar=yes,location=yes,status=yes,resizable=yes,top=0,left=0"
option += ",height="+sHeight
option += ",width=" +sWidth
url ="https://www.caweb.anser.or.jp:443/cgi/caweb.aic?CCT0080=0177&IFB=TOP";
 window.open(url,"ifb_bbw",option);

}
/*外為WEB　---open処理しています。*/
function gaitamelogin() {
sWidth = 1004;
sHeight = screen.availHeight - 60 ;
option = "toolbar=no,SCROLLBARS=yes,menubar=no,location=yes,status=yes,resizable=yes,top=0,left=0"
option += ",height="+sHeight
option += ",width=" +sWidth
url ="https://www.caweb.anser.or.jp/cgi/caweb.aic?CCT0080=0177&FES=TOP";
 window.open(url,"gaitame_web",option);

}
/*バージョンチェック処理 現状カットです。*/
function versioncheck(url) {

sWidth = screen.availWidth - 80 ;
sHeight = screen.availHeight - 60 ;
option = "toolbar=no,SCROLLBARS=auto,menubar=no,location=no,status=yes,resizable=no,top=0,left=0"
option += ",height="+sHeight
option += ",width=" +sWidth
url ="https://www2.ib-center.gr.jp/0177fukuoka/bob/BOB_90N90.htm";

/*チェックフラグ初期化*/
  checkflg = 1;
  /*Netscape*/

  if (app == "N") {
     var agt=navigator.userAgent.toLowerCase();
     startPoint = (agt.indexOf('mozilla/')+8);
     endPoint = startPoint + 4;
     version = parseFloat(agt.substring(startPoint,endPoint));
     /*Win系*/
     if ((win)&&(!ce)) {
        /*バージョン4.75*/
        if ((version == 4.75) || (version == 4.78)) {
           checkflg = 0;
        }
     }
     /*MAC*/
     else if (mac) {
        /*バージョン4.7*/
        if (version == 4.7) {
           checkflg = 0;
        }
     }
  }

  /*IE*/
  else if (app == "M") {
     var agt=navigator.userAgent.toLowerCase();
     startPoint = (agt.indexOf('msie')+5);
     endPoint= (agt.indexOf(' ',startPoint)-1);
     version = parseFloat(agt.substring(startPoint,endPoint));
     /*Win系*/
     if ((win)&&(!ce)) {
        /*バージョン5.5 6.0*/
        if ((version == 5.5) || (version == 6.0)) {
           checkflg = 0;
        }
     }
     /*MAC*/
     else if (mac) {
        /*バージョン5*/
        if ((version == 5) || (version >= 5.1 && version < 5.3)) {
           checkflg = 0;
        }
     }
  }

  /*振り分け*/
  /*チェックフラグ0は取引ウィンドウ表示*/
  if (checkflg == 0) {
     if (app == "M") {
        window.open(url,"bb_hit_chg",option);
     }
     else {
        window.open(url,"bb_hit_chg",option);
     }
  }
  /*チェックフラグ0以外はダイアログ表示*/
  else {
     alert("お客様のブラウザをチェックしました所、\nこのバージョンではブラウザオンラインバンキングをご利用することはできません。\n当行が推奨するブラウザをダウンロードして下さい。");
  }

}
/*ネットスケープのチェック処理 2007/06/15*/
function netscape_check() {


/*チェックフラグ初期化*/
 var checkflg = "";
  /*Netscape*/

  if (app == "N") {
     var agt=navigator.userAgent.toLowerCase();
     startPoint = (agt.indexOf('mozilla/')+8);
     endPoint = startPoint + 4;
     version = parseFloat(agt.substring(startPoint,endPoint));
     /*Win系*/
     if ((win)&&(!ce)) {
        /*バージョン4.75*/
        if (version <= 4.79) {
           checkflg = "N";
        }
     } /*MAC*/
     else
        if (mac) {
        /*バージョン4.7*/
        if (version <= 4.79) {
           checkflg = "N";
        }
     }
  }

 if ( checkflg == "N") {
      return true;
 }else{
      return false;
 }

}
