
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function openswin(theURL) { //v2.0
an = navigator.userAgent;
if(an.indexOf("Win")<0){
  window.open(theURL,'swin','scrollbars=yes,resizable=yes,width=800,height=700');
}
else{
  window.open(theURL,'swin','scrollbars=yes,resizable=yes,width=800,height=700');
 }
}
function openswin2(theURL) { //v2.0
an = navigator.userAgent;
if(an.indexOf("Win")<0){
  window.open(theURL,'swin','scrollbars=yes,width=500,height=300');
}
else{
  window.open(theURL,'swin','scrollbars=yes,width=520,height=330');
 }
}
function openswin3(theURL) { //v2.0
an = navigator.userAgent;
if(an.indexOf("Win")<0){
  window.open(theURL,'swin','scrollbars=yes,width=600,height=600');
}
else{
  window.open(theURL,'swin','scrollbars=yes,width=620,height=630');
 }
}


//<!-- 画面遷移用スクリプト -->

// トップページ
    function goTop() {
      parent.location.href = "toppagef.asp";
}
// 新規登録
    function goEntry(){
      insWin=window.open('../../std/new/index.asp','entry','scrollbars=yes,resizable=yes,width=800,height=700,left=1,top=1');
}
// ********** ADD START 2007/07/03 JAST) H.KOSUGE **********
// 新規登録
    function goEntry2(){
      insWin=window.open('./std/new/index.asp','entry','scrollbars=yes,resizable=yes,width=800,height=700,left=1,top=1');
}
// ********** ADD END   2007/07/03 JAST) H.KOSUGE **********

// パスワード忘れ
    function goConfirm(){
      var win;
      win = window.open('../lgn/slgn020.asp','confirm','resizable=no,menubar=no,toolbar=no,location=no,status=yes,scrollbars=no,width=770,height=500');
//      win = window.blur();
}

// ********** ADD START 2007/06/27 JAST) M.OKANO **********
// パスワード忘れ
    function goConfirm3(){
      var win;
      win = window.open('./std/lgn/slgn020.asp','confirm','resizable=no,menubar=no,toolbar=no,location=no,status=yes,scrollbars=no,width=770,height=500');
//      win = window.blur();
    }
// ********** ADD END   2007/06/27 JAST) M.OKANO **********

// 各種設定の変更
    function goMaintenance(strSsl, plsFlg){
      var win;
      if(strSsl!="ssl"){
        win=window.open('../std/myp/smyp080.asp','maintenance','scrollbars=yes,resizable=yes,width=785,height=500');
//      win.moveTo(1,1);
}
      else{
        if(plsFlg=="3"){
          win=window.open('https://haji-ten.jp/std/myp/smyp080.asp','maintenance','scrollbars=yes,resizable=yes,width=785,height=500');
        }else{
          win=window.open('https://re-katsu.jp/std/myp/smyp080.asp','maintenance','scrollbars=yes,resizable=yes,width=785,height=500');
//        win.moveTo(0,0);
        }
}
}

// ********** ADD START 2007/05/18 AND) M.OKANO **********
// 各種設定の変更
    function goMaintenance2(strSsl, plsFlg){
        var win;
        if(strSsl!="ssl"){
            win=window.open('../myp/smyp080.asp','maintenance','scrollbars=yes,resizable=yes,width=785,height=500');
        }else{
          if(plsFlg=="3"){
            win=window.open('https://haji-ten.jp/std/myp/smyp080.asp','maintenance','scrollbars=yes,resizable=yes,width=785,height=500');
          }else{
            win=window.open('https://re-katsu.jp/std/myp/smyp080.asp','maintenance','scrollbars=yes,resizable=yes,width=785,height=500');
          }
        }
    }
// ********** ADD END   2007/05/18 AND) M.OKANO **********

// ********** ADD START 2007/06/27 JAST) M.OKANO **********
// 各種設定の変更
    function goMaintenance3(strSsl, plsFlg){
        var win;
        if(strSsl!="ssl"){
            win=window.open('./std/myp/smyp080.asp','maintenance','scrollbars=yes,resizable=yes,width=785,height=500');
        }else{
          if(plsFlg=="3"){
            win=window.open('https://haji-ten.jp/std/myp/smyp080.asp','maintenance','scrollbars=yes,resizable=yes,width=785,height=500');
          }else{
            win=window.open('https://re-katsu.jp/std/myp/smyp080.asp','maintenance','scrollbars=yes,resizable=yes,width=785,height=500');
          }
        }
    }
// ********** ADD END   2007/06/27 JAST) M.OKANO **********

// ********** ADD START 2007/09/01 JAST) M.OKANO **********
// 各種設定の変更(プラス)
    function goMaintenance4(strSsl){
        var win;
        if(strSsl!="ssl"){
            win=window.open('./std/myp/smyp080.asp','maintenance','scrollbars=yes,resizable=yes,width=785,height=500');
    //      win.moveTo(1,1);
        }else{
            win=window.open('https://re-katsu.jp/plus/std/myp/smyp080.asp','maintenance','scrollbars=yes,resizable=yes,width=785,height=500');
    //        win.moveTo(0,0);
        }
    }
// ********** ADD END   2007/09/01 JAST) M.OKANO **********

// WANNA BE+ とは？
    function goWannabe(){
      window.open('../../syukatsu/concept/index.html','concept','scrollbars=yes,resizable=yes,width=800,height=700');
}
//業界別ナビオープン
   function NaviOpen(){
     win=window.open('../../gyoukai2006/index.html','gyoukaibetunaviWin','scrollbars=yes,resizable=yes,width=800,height=700,left=1,top=1');
}
//個人情報保護方針オープン
   function kojinOpen(){
     win=window.open('http://company.gakujo.ne.jp/privacy/index.html','kojin','scrollbars=yes,resizable=yes,toolbar=yes,width=700,height=670');
}
// ********** ADD START 2007/07/03 JAST) H.KOSUGE **********
//個人情報保護方針オープン
   function kojinOpen2(){
     win=window.open('http://company.gakujo.ne.jp/privacy/index.html','kojin','scrollbars=yes,resizable=yes,toolbar=yes,width=700,height=670');
}
// ********** ADD END   2007/07/03 JAST) H.KOSUGE **********
//プライバシーマーク取得をオープンする
    function goPrivacyMark(){
            stsWin=window.open('../../htm/jasdaq_privacy/privacy.html','stsWin','menubar=no,scrollbars=yes,location=no,status=no,toolbar=yes,width=586,height=310,left=1,top=1');
}
//JASDAQをオープンする
    function goJasdaq(){
            stsWin=window.open('../../htm/jasdaq_privacy/jasdaq.html','stsWin','menubar=no,scrollbars=yes,location=no,status=no,toolbar=yes,width=586,height=363,left=1,top=1');
    }
//質問箱オープン
    function QuestionOpen()
    {
        win=window.open('../../toppage/qabox/qabox.asp','Question','menubar=no,toolbar=no,location=no,status=yes,scrollbars=yes,width=800,height=540,left=1,top=1');
    }
//FAQオープン
    function FaqOpen()
    {
        win=window.open('../../toppage/qabox/questionFaq.html','Question','menubar=no,toolbar=no,location=no,status=yes,scrollbars=yes,width=800,height=540,left=1,top=1');
    }
//******* 適職診断 *************
//ID･パスワード入力（適職診断）
    function goIDInput(){
        var stsWin;
        stsWin=window.open('https://re-katsu.jp/std/sch/ssch085.asp?PID=STST005&JUMPTYPE=12','stsWin','scrollbars=yes,resizable=yes,width=790,height=550,left=1,top=1');
    }
//エニアグラムのすごみオープン
    function eniaOpen(){
        win = window.open('../../htm/eniagram/tekisyoku/sugomi1.html','enia','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=800,height=600,left=1,top=1');
    }
//エニアグラムのすごみオープン(Re就活プラス)
    function eniaOpenP(){
        win = window.open('../../htm/eniagram/tekisyoku/sugomi1plus.html','enia','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=800,height=600,left=1,top=1');
    }
//適職診断ウィンドウをオープンする
  function goShindan(){
    stsWin=window.open('../tst/stst005.html?PID=main','stsWin','scrollbars=yes,resizable=yes,width=790,height=550,left=1,top=1');
}
//適職診断ウィンドウをオープンする(Re就活プラス)
  function goShindanp(){
    stsWin=window.open('../tst/stst005plus.html?PID=main','stsWin','scrollbars=yes,resizable=yes,width=790,height=550,left=1,top=1');
}
//適職診断結果ウィンドウをオープンする
  function goKekka( strSsl, strUrl ){
    if(strSsl=="ssl"){
      kekkaWin=window.open( "../std/tst/" + strUrl,'kekkaWin','scrollbars=yes,resizable=yes,width=770,height=550');
}else{

      kekkaWin=window.open( "./std/tst/" + strUrl,'kekkaWin','scrollbars=yes,resizable=yes,width=770,height=550');
}
}
//再度適職診断ウィンドウをオープンする
  function reGoShindan(){
        stsWin=window.open('../../htm/eniagram/tekisyoku/sugomi1.html','stsWin','scrollbars=yes,resizable=yes,width=790,height=550,left=1,top=1');
}
//武田耕一氏インタビューオープン
    function takedaOpen(){
        win = window.open('../../htm/eniagram/takeda/index.html','enia','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=800,height=600,left=1,top=1');
    }
//武田耕一氏インタビューオープン(Re就活プラス)
    function takedaOpenP(){
        win = window.open('../../htm/eniagram/takeda/indexplus.html','enia','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=800,height=600,left=1,top=1');
    }
//今すぐ受ける
    function NowTekisyoku(){
        var stsWin;
        stsWin=window.open('https://re-katsu.jp/std/tst/stst010.asp?PID=STST005','stsWin','scrollbars=yes,resizable=yes,width=790,height=550,left=1,top=1');
    }
//今すぐ受ける(Re活プラス)
    function NowTekisyokup(){
        var stsWin;
        stsWin=window.open('https://re-katsu.jp/plus/std/tst/stst010.asp?PID=STST005','stsWin','scrollbars=yes,resizable=yes,width=790,height=550,left=1,top=1');
    }

    //**************** フラッシュ表示(バナー専用) ***************
    function ShockwaveFlash_banner( jsrc ){

        var str;
        str = ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
        str = str + ('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280" height="66">');
        str = str + ('<param name="movie" value="' + jsrc + '">');
        str = str + ('<param name="quality" value="high" vspace="100">');
        str = str + ('<embed src="' + jsrc + '" quality="high"');
        str = str + ('pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="280" height="66"></embed></object>');

        document.write(str);

    }
    //メニュー項目が2段の場合
    function ShockwaveFlash_banner2( jsrc ){

        var str;
        str = ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
        str = str + ('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280" height="255">');
        str = str + ('<param name="movie" value="' + jsrc + '">');
        str = str + ('<param name="quality" value="high" vspace="100">');
        str = str + ('<embed src="' + jsrc + '" quality="high"');
        str = str + ('pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="280" height="255"></embed></object>');

        document.write(str);

    }
    //メニュー項目が1段の場合
    function ShockwaveFlash_banner3( jsrc ){

        var str;
        str = ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
        str = str + ('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280" height="230">');
        str = str + ('<param name="movie" value="' + jsrc + '">');
        str = str + ('<param name="quality" value="high" vspace="100">');
        str = str + ('<embed src="' + jsrc + '" quality="high"');
        str = str + ('pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="280" height="230"></embed></object>');

        document.write(str);

    }

    function ShockwaveFlash_Town( jsrc ){

        var str;
        str = ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
        str = str + ('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="630" height="340">');
        str = str + ('<param name="movie" value="' + jsrc + '">');
        str = str + ('<param name="quality" value="high" vspace="100">');
        str = str + ('<embed src="' + jsrc + '" quality="high"');
        str = str + ('pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="630" height="340"></embed></object>');

        document.write(str);

    }
    //フラッシュ表示(プラス用)
    function ShockwaveFlash_banner2_plus( jsrc ){

        var str;
        str = ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
        str = str + ('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280" height="201">');
        str = str + ('<param name="movie" value="' + jsrc + '">');
        str = str + ('<param name="quality" value="high" vspace="100">');
        str = str + ('<embed src="' + jsrc + '" quality="high"');
        str = str + ('pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="280" height="201"></embed></object>');

        document.write(str);

    }

    //**************** フラッシュ表示(バナー専用) ***************
    function ShockwaveFlash_banner_ssch060( jsrc ){
        var str;
        str = ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
        str = str + ('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="176" height="176">');
        str = str + ('<param name="movie" value="' + jsrc + '">');
        str = str + ('<param name="quality" value="high" vspace="100">');
        str = str + ('<embed src="' + jsrc + '" quality="high"');
        str = str + ('pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="176" height="176"></embed></object>');

        document.write(str);
    }