//==================================
//　サブナビゲーションの出現
//==================================

var CSN = true;

function chgSubNavi(menu,val){
		MM_showMenu(menu,180,0,null,val);
/*
	//サブナビの出現
	if(CSN){
		MM_showMenu(menu,180,0,null,val);
		CSN = false;
	}else{
		MM_startTimeout();
		CSN = true;
	}
*/
}





//==================================
//　パスの切り替え
//==================================
// true：相対パス
// false：絶対パス

pathType = false;


//==================================
//　ナビゲーション
//==================================
/*
function mmLoadMenus() {
	if (window.mm_menu_0819172433_0) return;
	window.mm_menu_0819172433_0 = new Menu("root", 198, 24, "Osaka, MS UI Gothic", 12, "#000000", "#ffffff", "#ffffff", "#61ACD4", "left", "middle", 3, 0, 1000, -5, 7, true, true, true, 0, true, true);
	mm_menu_0819172433_0.addMenuItem("EAPの発祥", "window.open('eap_01.html', '_self');");
	mm_menu_0819172433_0.addMenuItem("メンタルヘルスとの違い", "window.open('eap_02.html', '_self');");
	mm_menu_0819172433_0.addMenuItem("導入のメリットと費用対効果", "window.open('eap_03.html', '_self');");
	mm_menu_0819172433_0.hideOnMouseOut = true;
	mm_menu_0819172433_0.menuBorder = 1;
	mm_menu_0819172433_0.menuItemBorder = 1;
	mm_menu_0819172433_0.menuLiteBgColor = '#ffffff';
	mm_menu_0819172433_0.menuBorderBgColor = '#555555';
	mm_menu_0819172433_0.bgColor = '#555555';
	window.mm_menu_0819172433_1 = new Menu("root", 139, 24, "Osaka, MS UI Gothic", 12, "#000000", "#ffffff", "#ffffff", "#61ACD4", "left", "middle", 3, 0, 1000, -5, 7, true, true, true, 0, true, true);
	mm_menu_0819172433_1.addMenuItem("JESサービスの特色", "window.open('jes_01.html', '_self');");
	mm_menu_0819172433_1.addMenuItem("スタッフの紹介", "window.open('jes_02.html', '_self');");
	mm_menu_0819172433_1.addMenuItem("提携機関", "window.open('jes_03.html', '_self');");
	//mm_menu_0819172433_1.addMenuItem("契約企業の声", "window.open('jes_04.html', '_self');");
	mm_menu_0819172433_1.addMenuItem("書籍紹介", "window.open('jes_05.html', '_self');");
	mm_menu_0819172433_1.hideOnMouseOut = true;
	mm_menu_0819172433_1.menuBorder = 1;
	mm_menu_0819172433_1.menuItemBorder = 1;
	mm_menu_0819172433_1.menuLiteBgColor = '#ffffff';
	mm_menu_0819172433_1.menuBorderBgColor = '#555555';
	mm_menu_0819172433_1.bgColor = '#555555';
	window.mm_menu_0819172433_2_1 = new Menu("相談サービス", 198, 24, "Osaka, MS UI Gothic", 12, "#000000", "#ffffff", "#ffffff", "#61ACD4", "left", "middle", 3, 0, 1000, -5, 7, true, true, true, 0, true, true);
	mm_menu_0819172433_2_1.addMenuItem("メンタルヘルス相談", "window.open('ser_0201.html', '_self');");
	mm_menu_0819172433_2_1.addMenuItem("キャリアコンサルテーション", "window.open('ser_0202.html', '_self');");
	mm_menu_0819172433_2_1.addMenuItem("ハラスメント相談", "window.open('ser_0203.html', '_self');");
	mm_menu_0819172433_2_1.addMenuItem("その他", "window.open('ser_0204.html', '_self');");
	mm_menu_0819172433_2_1.hideOnMouseOut = true;
	mm_menu_0819172433_2_1.menuBorder = 1;
	mm_menu_0819172433_2_1.menuItemBorder = 1;
	mm_menu_0819172433_2_1.menuLiteBgColor = '#ffffff';
	mm_menu_0819172433_2_1.menuBorderBgColor = '#555555';
	mm_menu_0819172433_2_1.bgColor = '#555555';
	window.mm_menu_0819172433_2 = new Menu("root", 226, 24, "Osaka, MS UI Gothic", 12, "#000000", "#ffffff", "#ffffff", "#61ACD4", "left", "middle", 3, 0, 1000, -5, 7, true, true, true, 0, true, true);
	mm_menu_0819172433_2.addMenuItem(mm_menu_0819172433_2_1,"window.open('ser_02.html', '_self');");
	mm_menu_0819172433_2.addMenuItem("マネジメントコンサルテーション", "window.open('ser_03.html', '_self');");
	mm_menu_0819172433_2.addMenuItem("職場復帰支援プログラム", "window.open('ser_04.html', '_self');");
	mm_menu_0819172433_2.addMenuItem("危機対応", "window.open('ser_05.html', '_self');");
	mm_menu_0819172433_2.addMenuItem("EAP利用状況報告", "window.open('ser_06.html', '_self');");
	mm_menu_0819172433_2.addMenuItem("研修", "window.open('ser_07.html', '_self');");
	mm_menu_0819172433_2.addMenuItem("プロモーション活動", "window.open('ser_08.html', '_self');");
	mm_menu_0819172433_2.addMenuItem("ストレスチェック・調査", "window.open('ser_09.html', '_self');");
	mm_menu_0819172433_2.addMenuItem("費用", "window.open('ser_01.html', '_self');");
	mm_menu_0819172433_2.hideOnMouseOut = true;
	mm_menu_0819172433_2.childMenuIcon = "_common_img/arrows.gif";
	mm_menu_0819172433_2.menuBorder = 1;
	mm_menu_0819172433_2.menuItemBorder = 1;
	mm_menu_0819172433_2.menuLiteBgColor = '#ffffff';
	mm_menu_0819172433_2.menuBorderBgColor = '#555555';
	mm_menu_0819172433_2.bgColor = '#555555';
	window.mm_menu_0819172433_3 = new Menu("root", 184, 24, "Osaka, MS UI Gothic", 12, "#000000", "#ffffff", "#ffffff", "#61ACD4", "left", "middle", 3, 0, 1000, -5, 7, true, true, true, 0, true, true);
	mm_menu_0819172433_3.addMenuItem("うつ病診断テスト", "window.open('chk_01.html', '_self');");
	mm_menu_0819172433_3.addMenuItem("ストレス度セルフチェック", "window.open('chk_02.html', '_self');");
	mm_menu_0819172433_3.addMenuItem("アルコール依存症チェック", "window.open('chk_03.html', '_self');");
	mm_menu_0819172433_3.addMenuItem("睡眠セルフチェック", "window.open('chk_04.html', '_self');");
	mm_menu_0819172433_3.hideOnMouseOut = true;
	mm_menu_0819172433_3.menuBorder = 1;
	mm_menu_0819172433_3.menuItemBorder = 1;
	mm_menu_0819172433_3.menuLiteBgColor = '#ffffff';
	mm_menu_0819172433_3.menuBorderBgColor = '#555555';
	mm_menu_0819172433_3.bgColor = '#555555';
	window.mm_menu_0819172433_4 = new Menu("root", 184, 24, "Osaka, MS UI Gothic", 12, "#000000", "#ffffff", "#ffffff", "#61ACD4", "left", "middle", 3, 0, 1000, -5, 7, true, true, true, 0, true, true);
	mm_menu_0819172433_4.addMenuItem("活動理念", "window.open('cmp_01.html', '_self');");
	mm_menu_0819172433_4.addMenuItem("沿革", "window.open('cmp_02.html', '_self');");
	mm_menu_0819172433_4.addMenuItem("会社概要", "window.open('cmp_03.html', '_self');");
	mm_menu_0819172433_4.addMenuItem("アクセスマップ", "window.open('cmp_04.html', '_self');");
	mm_menu_0819172433_4.addMenuItem("カウンセラー募集", "window.open('cmp_05.html', '_self');");
	mm_menu_0819172433_4.hideOnMouseOut = true;
	mm_menu_0819172433_4.menuBorder = 1;
	mm_menu_0819172433_4.menuItemBorder = 1;
	mm_menu_0819172433_4.menuLiteBgColor = '#ffffff';
	mm_menu_0819172433_4.menuBorderBgColor = '#555555';
	mm_menu_0819172433_4.bgColor = '#555555';

	mm_menu_0819172433_4.writeMenus();
}
*/

function mmLoadMenus() {
	if (window.mm_menu_0819172433_0) return;
  window.mm_menu_0819172433_0 = new Menu("root",250,26,"Osaka, MS UI Gothic", 12,"#666666","#ffffff","#ffffff","#6699ff","left","middle",5,0,100000,-5,7,true,false,true,0,false,false);
  mm_menu_0819172433_0.addMenuItem("EAPの発祥","window.open('http://www.jes.ne.jp/eap_01.html', '_self');");
  mm_menu_0819172433_0.addMenuItem("メンタルヘルスとの違い","window.open('http://www.jes.ne.jp/eap_02.html', '_self');");
  mm_menu_0819172433_0.addMenuItem("導入のメリットと費用対効果","window.open('http://www.jes.ne.jp/eap_03.html', '_self');");
   mm_menu_0819172433_0.bgImageUp="index_sample/mmmenu1_250x26_up.gif";
   mm_menu_0819172433_0.bgImageOver="index_sample/mmmenu1_250x26_over.gif";
   mm_menu_0819172433_0.hideOnMouseOut=true;
   mm_menu_0819172433_0.bgColor='#555555';
  window.mm_menu_0819172433_1 = new Menu("root",250,26,"Osaka, MS UI Gothic", 12,"#666666","#ffffff","#cccccc","#6699ff","left","middle",3,0,100000,-5,7,true,false,true,0,false,false);
  mm_menu_0819172433_1.addMenuItem("JESサービスの特色","window.open('http://www.jes.ne.jp/jes_01.html', '_self');");
  mm_menu_0819172433_1.addMenuItem("スタッフの紹介","window.open('http://www.jes.ne.jp/jes_02.html', '_self');");
  mm_menu_0819172433_1.addMenuItem("提携機関","window.open('jes_03.html', '_self');");
  //mm_menu_0819172433_1.addMenuItem("契約企業の声","window.open('http://www.jes.ne.jp/jes_04.html', '_self');");
  mm_menu_0819172433_1.addMenuItem("書籍紹介","window.open('http://www.jes.ne.jp/jes_05.html', '_self');");
   mm_menu_0819172433_1.bgImageUp="index_sample/mmmenu1_250x26_up.gif";
   mm_menu_0819172433_1.bgImageOver="index_sample/mmmenu1_250x26_over.gif";
   mm_menu_0819172433_1.hideOnMouseOut=true;
   mm_menu_0819172433_1.bgColor='#555555';
    window.mm_menu_0819172433_2_1 = new Menu("相談サービス",250,26,"Osaka, MS UI Gothic", 12,"#666666","#ffffff","#cccccc","#6699ff","left","middle",3,0,100000,-5,7,true,false,true,0,false,false);
    mm_menu_0819172433_2_1.addMenuItem("メンタルヘルス相談","window.open('http://www.jes.ne.jp/ser_0201.html', '_self');");
    mm_menu_0819172433_2_1.addMenuItem("キャリアコンサルテーション","window.open('http://www.jes.ne.jp/ser_0202.html', '_self');");
    mm_menu_0819172433_2_1.addMenuItem("ハラスメント相談","window.open('http://www.jes.ne.jp/ser_0203.html', '_self');");
    mm_menu_0819172433_2_1.addMenuItem("その他","window.open('http://www.jes.ne.jp/ser_0204.html', '_self');");
     mm_menu_0819172433_2_1.bgImageUp="index_sample/mmmenu1_250x26_up.gif";
     mm_menu_0819172433_2_1.bgImageOver="index_sample/mmmenu1_250x26_over.gif";
     mm_menu_0819172433_2_1.hideOnMouseOut=true;
     mm_menu_0819172433_2_1.bgColor='#555555';
  window.mm_menu_0819172433_2 = new Menu("root",250,26,"Osaka, MS UI Gothic", 12,"#666666","#ffffff","#cccccc","#6699ff","left","middle",3,0,100000,-5,7,true,false,true,0,false,false);
  mm_menu_0819172433_2.addMenuItem(mm_menu_0819172433_2_1,"window.open('http://www.jes.ne.jp/ser_02.html', '_self');");
  mm_menu_0819172433_2.addMenuItem("マネジメントコンサルテーション","window.open('http://www.jes.ne.jp/ser_03.html', '_self');");
  mm_menu_0819172433_2.addMenuItem("職場復帰支援プログラム","window.open('http://www.jes.ne.jp/ser_04.html', '_self');");
  mm_menu_0819172433_2.addMenuItem("危機対応","window.open('http://www.jes.ne.jp/ser_05.html', '_self');");
  mm_menu_0819172433_2.addMenuItem("EAP利用状況報告","window.open('http://www.jes.ne.jp/ser_06.html', '_self');");
  mm_menu_0819172433_2.addMenuItem("研修","window.open('http://www.jes.ne.jp/ser_07.html', '_self');");
  mm_menu_0819172433_2.addMenuItem("プロモーション","window.open('http://www.jes.ne.jp/ser_08.html', '_self');");
  mm_menu_0819172433_2.addMenuItem("ストレスチェック・調査","window.open('http://www.jes.ne.jp/ser_09.html', '_self');");
  mm_menu_0819172433_2.addMenuItem("費用","window.open('http://www.jes.ne.jp/ser_01.html', '_self');");
   mm_menu_0819172433_2.bgImageUp="index_sample/mmmenu1_250x26_up.gif";
   mm_menu_0819172433_2.bgImageOver="index_sample/mmmenu1_250x26_over.gif";
   mm_menu_0819172433_2.hideOnMouseOut=true;
   mm_menu_0819172433_2.childMenuIcon="index_sample/arrows.gif";
   mm_menu_0819172433_2.bgColor='#555555';
  window.mm_menu_0819172433_3 = new Menu("root",250,26,"Osaka, MS UI Gothic", 12,"#666666","#ffffff","#cccccc","#6699ff","left","middle",3,0,100000,-5,7,true,false,true,0,false,false);
  mm_menu_0819172433_3.addMenuItem("うつ病診断テスト","window.open('http://www.jes.ne.jp/chk_01.html', '_self');");
  mm_menu_0819172433_3.addMenuItem("ストレス度セルフチェック","window.open('http://www.jes.ne.jp/chk_02.html', '_self');");
  mm_menu_0819172433_3.addMenuItem("アルコール依存症チェック","window.open('http://www.jes.ne.jp/chk_03.html', '_self');");
  mm_menu_0819172433_3.addMenuItem("睡眠セルフチェック","window.open('http://www.jes.ne.jp/chk_04.html', '_self');");
   mm_menu_0819172433_3.bgImageUp="index_sample/mmmenu1_250x26_up.gif";
   mm_menu_0819172433_3.bgImageOver="index_sample/mmmenu1_250x26_over.gif";
   mm_menu_0819172433_3.hideOnMouseOut=true;
   mm_menu_0819172433_3.bgColor='#555555';
  window.mm_menu_0114105511_4 = new Menu("root",250,26,"Osaka, MS UI Gothic", 12,"#666666","#ffffff","#cccccc","#6699ff","left","middle",3,0,100000,-5,7,true,false,true,0,false,false);
  mm_menu_0114105511_4.addMenuItem("活動理念","window.open('http://www.jes.ne.jp/cmp_01.html', '_self');");
  mm_menu_0114105511_4.addMenuItem("沿革","window.open('http://www.jes.ne.jp/cmp_02.html', '_self');");
  mm_menu_0114105511_4.addMenuItem("会社概要","window.open('http://www.jes.ne.jp/cmp_03.html', '_self');");
  mm_menu_0114105511_4.addMenuItem("アクセスマップ","window.open('http://www.jes.ne.jp/cmp_04.html', '_self');");
  mm_menu_0114105511_4.addMenuItem("カウンセラー募集","window.open('http://www.jes.ne.jp/cmp_05.html', '_self');");
   mm_menu_0114105511_4.bgImageUp="index_sample/mmmenu1_250x26_up.gif";
   mm_menu_0114105511_4.bgImageOver="index_sample/mmmenu1_250x26_over.gif";
   mm_menu_0114105511_4.hideOnMouseOut=true;
   mm_menu_0114105511_4.bgColor='#555555';

  mm_menu_0114105511_4.writeMenus();
} // mmLoadMenus()


function navigation(){
	document.write('<div style="width:180px; margin:0 auto;">');
	document.write('<div style="margin:10px 0 20px 0;"><a href="index.html"><img src="_commonimg/logo_side.gif" alt="" name="logo" width="180" height="70" id="logo" /></a></div>');
	document.write('<div style="height:75px;"><a href="JavaScript:;" onmouseout="MM_swapImgRestore();" onclick="chgSubNavi(window.mm_menu_0819172433_0,\'eapgif\');" onmouseover="MM_swapImage(\'eapgif\',\'\',\'_common_img/eap.gif_f2.jpg\',1)"><img src="_common_img/eap.gif.jpg" alt="" name="eapgif" width="180" height="70" id="eapgif" /></a></div>');
	document.write('<div style="height:75px;"><a href="JavaScript:;" onmouseout="MM_swapImgRestore();" onclick="chgSubNavi(window.mm_menu_0819172433_1,\'jes\');" onmouseover="MM_swapImage(\'jes\',\'\',\'_common_img/jes_f2.jpg\',1)"><img src="_common_img/jes.jpg" alt="" name="jes" width="180" height="70" id="jes" /></a></div>');
	document.write('<div style="height:75px;"><a href="JavaScript:;" onmouseout="MM_swapImgRestore();" onclick="chgSubNavi(window.mm_menu_0819172433_2,\'ser\');" onmouseover="MM_swapImage(\'ser\',\'\',\'_common_img/ser_f2.jpg\',1)"><img src="_common_img/ser.jpg" alt="" name="ser" width="180" height="70" id="ser" /></a></div>');
	document.write('<div style="height:85px;"><a href="JavaScript:;" onmouseout="MM_swapImgRestore();" onclick="chgSubNavi(window.mm_menu_0819172433_3,\'chk\');" onmouseover="MM_swapImage(\'chk\',\'\',\'_common_img/chk_f2.jpg\',1)"><img src="_common_img/chk.jpg" alt="" name="chk" width="180" height="70" id="chk" /></a></div>');
	document.write('<div style="height:35px;"><a href="https://www.jes.ne.jp/inq_01.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage(\'inq_01\',\'\',\'_common_img/inq_01_f2.gif\',1)"><img src="_common_img/inq_01.gif" alt="" name="inq_01" width="180" height="30" id="inq_01" /></a></div>');
	document.write('<div style="height:35px;"><a href="https://www.jes.ne.jp/inq_02.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage(\'inq_02\',\'\',\'_common_img/inq_02_f2.gif\',1)"><img src="_common_img/inq_02.gif" alt="" name="inq_02" width="180" height="30" id="inq_02" /></a></div>');
	document.write('<div style="height:45px;"><a href="javascript:openUse();" onmouseout="MM_swapImgRestore();" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage(\'sys\',\'\',\'_common_img/sys_f2.gif\',1)"><img src="_common_img/sys.gif" alt="" name="sys" width="180" height="30" id="sys" /></a></div>');
	document.write('<div style="height:85px;"><a href="JavaScript:;" onclick="chgSubNavi(window.mm_menu_0114105511_4,\'cmp\');" onmouseover="MM_swapImage(\'cmp\',\'\',\'_common_img/cmp_f2.jpg\',1)"" onmouseover="MM_swapImage(\'cmp\',\'\',\'_common_img/cmp_f2.jpg\',1)"><img src="_common_img/cmp.jpg" alt="" name="cmp" width="180" height="70" id="cmp" /></a></div>');
	document.write('<div style="height:35px;"><a href="qes.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage(\'qes\',\'\',\'_common_img/qes_f2.jpg\',1)"><img src="_common_img/qes.jpg" alt="" name="qes" width="180" height="30" id="qes" /></a></div>');
	document.write('<div style="height:45px;"><a href="https://www.jes.ne.jp/inquiry.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage(\'inq_2\',\'\',\'_common_img/inq_2_f2.jpg\',1)"><img src="_common_img/inq_2.jpg" alt="" name="inq_2" width="180" height="30" id="inq_2" /></a></div>');
	document.write('<div style="height:150px;"><a href="http://www.mhcg.or.jp/" target="_blank" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage(\'midori\',\'\',\'_common_img/midori_f2.jpg\',1)"><img src="_common_img/midori.jpg" alt="" name="midori" width="180" height="50" id="midori" /></a></div>');
	document.write('<script type="text/javascript" src="https://seal.verisign.com/getseal?host_name=www.jes.ne.jp&amp;size=M&amp;use_flash=YES&amp;use_transparent=YES&amp;lang=ja"></script>');
	document.write('</div>');
}

function footer(){
	document.write('<table id="footer">');
	document.write('<tr><td id="footerLink">　<a class="wh_link" href="http://www.jes.ne.jp/f_privacy.html">個人情報保護方針</a> ｜ <a class="wh_link" href="http://www.jes.ne.jp/f_exemption.html">免責事項</a> ｜ <a class="wh_link" href="http://www.jes.ne.jp/f_sysreq.html">動作環境</a> </td>');
	document.write('<td id="footerCopy">Copyright (C) 2002-2011. JAPAN EAP SYSTEMS INC. ALL RIGHT RESERVED　</td></tr>');
	document.write('</table>');
}


//==================================
//　アクセスマップ
//==================================

adrs = new Array();
adrs[1] = "東京本社・ＥＡＰ相談室 東京<br/>〒169-0075 東京都新宿区高田馬場4丁目3-7　KSビル<br/>Tel：03-3362-6669　Fax：03-5338-2383";
adrs[2] = "中部支社・ＥＡＰ相談室 中部<br/>〒460-0003 愛知県名古屋市中区錦1丁目20-25　広小路YMDビル604号<br/>Tel：052-218-5126　Fax：052-218-5128";
adrs[3] = "関西支社・ＥＡＰ相談室 関西<br/>〒550-0004 大阪府大阪市西区靭本町1丁目4-8　本町中島ビル703号<br/>Tel：06-6449-6669　Fax：06-6449-6690";
adrs[4] = "九州支社・ＥＡＰ相談室 九州<br/>〒812-0011 福岡県福岡市博多区博多駅前3丁目16-13-1　由布ビル5階<br/>Tel：092-432-3755　Fax：092-432-3820";
adrs[5] = "東北支社・ＥＡＰ相談室 東北<br/>〒980-0013 宮城県仙台市青葉区花京院1丁目1-5　タカノボル第25ビル4階<br/>Tel：022-713-8077　Fax：022-713-8078";

var mpFlag;
var mpVal;

/*　マップを表示する　*/
function openMap(num){
	mpFlag=true;

	//マップ切り替え
	document.getElementById("mapIMG").src = "cmp_04/map0"+num+"_l.gif";

	//マップを表示
	setOverlay("companyMap","#FFFFFF",getPageCenterNew(650,'x'),getPageCenterNew(500,'y')-100,650,560,999,"");

	//ボタンを表示
	setOverlay("btnToolCtl","#FFFFFF",getPageCenterNew(650,'x'),getPageCenterNew(500,'y')+460,650,55,999,"");

	//バックグラウンド
	getPageSize();
	setOverlay("mapShadow","#000000",0,0,pageWidth,pageHeight,500,"");
	moveOpacity("mapShadow",0,70,70);

	mpVal = num;
}

/*　マップを閉じる　*/
function clearMap(){
	mpFlag=false;
	//マップ切り替え
	document.getElementById("mapIMG").src = "s.gif";

	document.getElementById('mapShadow').style.visibility='hidden';
	document.getElementById('companyMap').style.visibility='hidden';
	document.getElementById('btnToolCtl').style.visibility='hidden';
}


//==================================
//　アクセスマップの印刷画面
//==================================
function printMap_screen(){
	clearMap();

	zoom=window.open("","newwin","toolbar=no,width=670,height=800,location=no,resizable=yes")
	//--フォーカス
	window.zoom.focus();
	//--HTMLストリーム
	zoom.document.open();
	zoom.document.writeln('<html><head>');
	zoom.document.writeln('<title> - ジャパンEAPシステムズ(JES)</title>');
	zoom.document.writeln('<style type="text/css">@media print {.btnTool{display:none;}}</style>');
	zoom.document.writeln('</head>');
	zoom.document.writeln('<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0" bgcolor="#ffffff">');
	zoom.document.writeln('<center>');
	zoom.document.writeln('<img src="s.gif" width="1" height="10" vspace="0" hspace="0" border="0" />');
	zoom.document.writeln('<table border="0" cellpadding="0" cellspacing="0" width="650">');
	//zoom.document.writeln('<tr><td bgcolor="#005EAE"><img src="_common_img/logo.gif" width="220" height="62" vspace="0" hspace="0" border="0" /></td></tr>');
	zoom.document.writeln('<tr><td bgcolor="#FFFFFF" valign="top">');
	zoom.document.writeln('<img src="cmp_04/map0'+mpVal+'_l.gif" width="650" height="560" vspace="0" hspace="0" border="0" />');
	zoom.document.writeln('</td></tr>');
	zoom.document.writeln('<tr><td bgcolor="#FFFFFF" valign="top">');
	zoom.document.writeln('<p style="margin:20px 0; font:bold 16px/150% \'ＭＳ ゴシック\',\'ヒラギノ角ゴ Pro W3\',HiraKakuPro-W3,Osaka,verdana,arial,sans-serif;">'+adrs[mpVal]+'</p>');
	zoom.document.writeln('</td></tr>');
	zoom.document.writeln('<tr><td bgcolor="#FFFFFF" valign="top">');

	zoom.document.writeln('<div class="btnTool" style="margin-top:20px;"><a href="javascript:print();"><img src="_common_img/btn_print.jpg" width="120" height="35" vspace="0" hspace="0" border="0" /></a>　<a href="javascript:window.close();"><img src="_common_img/btn_close.jpg" width="120" height="35" vspace="0" hspace="0" border="0" /></a></div>');
	zoom.document.writeln('</td></tr></table>');
	zoom.document.writeln('</center>');
	zoom.document.writeln('</body></html>');
	zoom.document.close();
}



function ser_02_opcl(){
	document.getElementById('ser_02_navi').style.display='block';
}


function swapNavi(id_name){
	//document.getElementById("n"+id_name).src = "_common_img/n"+id_name+"_f2.gif";

}



//==================================
//　トップページのニュース
//==================================
function newsLoader(val){
	wrHtml = "";
	var httpXML=generateXmlHttp();
	httpXML.open("GET", "../fmi/xsl/xml_topnews.xsl?-max="+val , true);

	httpXML.onreadystatechange=function(){
		// readyState == 4で受信完了
		if (httpXML.readyState == 4) {
			sauceXML=httpXML.responseXML;
			listBox=sauceXML.getElementsByTagName("record");
			if(purseNode(listBox[0],'error') == 0){
				for(i=0;i<listBox.length;i++){
					wrHtml += '<div class="newsTi">'+purseNode(listBox[i],'date')+'：<a href="javascript:newsDetail('+purseNode(listBox[i],'op_RecID')+');">'+purseNode(listBox[i],'title')+'</a></div>';
					wrHtml += '<div class="newsTe">'+purseNode(listBox[i],'body')+'</div>';
				}
			}else{
				wrHtml = "";
			}
			document.getElementById("topNews").innerHTML = wrHtml;
		}
	}
	httpXML.send("");
}

function newsLoader_admin(val){
	wrHtml = "";
	var httpXML=generateXmlHttp();
	httpXML.open("GET", "xml_topnews_admin.xsl?-max="+val , true);
	httpXML.onreadystatechange=function(){
		// readyState == 4で受信完了
		if (httpXML.readyState == 4) {
			sauceXML=httpXML.responseXML;
			listBox=sauceXML.getElementsByTagName("record");
			if(purseNode(listBox[0],'error') == 0){
				for(i=0;i<listBox.length;i++){
					wrHtml += '<div class="newsTi">'+purseNode(listBox[i],'date')+'：<a href="javascript:newsDetail_admin('+purseNode(listBox[i],'op_RecID')+');">'+purseNode(listBox[i],'title')+'</a></div>';
					wrHtml += '<div class="newsTe">'+purseNode(listBox[i],'body')+'</div>';
				}
			}else{
				wrHtml = "";
			}
			document.getElementById("topNews").innerHTML = wrHtml;
		}
	}
	httpXML.send("");
}



function newsDetail(recid){
	location.href = "index_newsdetail.html#"+recid;
}

function newsDetail_admin(recid){
	location.href = "admin_topnews_chkdetail.xsl#"+recid;
}

function newsLoader_Detail(recid){
	wrHtml = "";
	dd = new Date();
	uid = dd.getTime();
	var httpXML=generateXmlHttp();
	httpXML.open("GET", "../fmi/xsl/xml_topnews.xsl?-max=1&-recid="+recid , true);
	httpXML.onreadystatechange=function(){
		// readyState == 4で受信完了
		if (httpXML.readyState == 4) {
			sauceXML=httpXML.responseXML;
			listBox=sauceXML.getElementsByTagName("record");
			if(purseNode(listBox[0],'error') == 0){
				for(i=0;i<listBox.length;i++){
					if(purseNode(listBox[i],'imgFlg') == 0){
						wrHtml += '<div class="newsTi">'+purseNode(listBox[i],'date')+'：<a href="javascript:newsDetail('+purseNode(listBox[i],'op_RecID')+');">'+purseNode(listBox[i],'title')+'</a></div>';
						wrHtml += '<div class="newsTe">'+purseNode(listBox[i],'body_detail')+'</div>';
					}else{
						wrHtml += '<table width="700">';
						wrHtml += '<tr>';
						wrHtml += '<td width="380">';
						wrHtml += '<div class="newsTi">'+purseNode(listBox[i],'title')+'</div>';
						wrHtml += '<div class="newsTe">'+purseNode(listBox[i],'body_detail')+'</div>';
						wrHtml += '<div class="Sml" style="margin-top:20px;">['+purseNode(listBox[i],'date')+']</div>';
						wrHtml += '</td>';
						wrHtml += '<td valign="top" width="320">';
						wrHtml += '<div style="margin-top:20px; text-align:right;"><a href="index_img/'+purseNode(listBox[i],'imgname')+'?'+uid+'" target="_blank"><img width="300" src="index_img/'+purseNode(listBox[i],'imgname')+'?'+uid+'"/></a></div>';
						wrHtml += '</td>';
						wrHtml += '</tr>';
						wrHtml += '</table>';
					}
					wrHtml += '<div style="margin:50px 0; text-align:center;"><input type="button" value="一覧に戻る" onclick="history.back();" /></div>';
				}
			}else{
				wrHtml = "";
			}
			document.getElementById("topNews").innerHTML = wrHtml;
		}
	}
	httpXML.send("");
}

function newsLoader_Detail_admin(recid){
	wrHtml = "";
	dd = new Date();
	uid = dd.getTime();
	var httpXML=generateXmlHttp();
	httpXML.open("GET", "xml_topnews_admin.xsl?-max=1&-recid="+recid , true);
	httpXML.onreadystatechange=function(){
		// readyState == 4で受信完了
		if (httpXML.readyState == 4) {
			sauceXML=httpXML.responseXML;
			listBox=sauceXML.getElementsByTagName("record");
			if(purseNode(listBox[0],'error') == 0){
				for(i=0;i<listBox.length;i++){
					if(purseNode(listBox[i],'imgFlg') == 0){
						wrHtml += '<div class="newsTi">'+purseNode(listBox[i],'date')+'：<a href="javascript:newsDetail('+purseNode(listBox[i],'op_RecID')+');">'+purseNode(listBox[i],'title')+'</a></div>';
						wrHtml += '<div class="newsTe">'+purseNode(listBox[i],'body_detail')+'</div>';
					}else{
						wrHtml += '<table width="700">';
						wrHtml += '<tr>';
						wrHtml += '<td width="380">';
						wrHtml += '<div class="newsTi">'+purseNode(listBox[i],'title')+'</div>';
						wrHtml += '<div class="newsTe">'+purseNode(listBox[i],'body_detail')+'</div>';
						wrHtml += '<div class="Sml" style="margin-top:20px;">['+purseNode(listBox[i],'date')+']</div>';
						wrHtml += '</td>';
						wrHtml += '<td valign="top" width="320">';
						wrHtml += '<div style="margin-top:20px; text-align:right;"><a href="../../../index_img/'+purseNode(listBox[i],'imgname')+'?'+uid+'" target="_blank"><img width="300" src="../../../index_img/'+purseNode(listBox[i],'imgname')+'?'+uid+'"/></a></div>';
						wrHtml += '</td>';
						wrHtml += '</tr>';
						wrHtml += '</table>';

						wrHtml += '<div style="margin:50px 0; text-align:center;"><input type="button" value="一覧に戻る" onclick="history.back();" /></div>';

					}
				}
			}else{
				wrHtml = "";
			}
			document.getElementById("topNews").innerHTML = wrHtml;
		}
	}
	httpXML.send("");
}


//==================================
//　スタッフの読込み
//==================================
function staffLoader(){
	tBox = new Array();
	var wrHtml="";
	var senmonTemp;

	var httpXML=generateXmlHttp();
	httpXML.open("GET", "../fmi/xsl/xml_staff.xsl" , true);
	httpXML.onreadystatechange=function(){
		// readyState == 4で受信完了
		if (httpXML.readyState == 4) {
			sauceXML=httpXML.responseXML;
			listBox=sauceXML.getElementsByTagName("record");
			for(i=0;i<listBox.length;i++){
				tBox[i] = new Array(purseNode(listBox[i],'shozoku'),purseNode(listBox[i],'name'),purseNode(listBox[i],'katagaki'),purseNode(listBox[i],'gakureki'),purseNode(listBox[i],'yakushoku'),purseNode(listBox[i],'ryakureki'),purseNode(listBox[i],'senmon'));
			}

			for(i=0;i<tBox.length;i++){
				if(senmonTemp != tBox[i][0]){
					wrHtml += '<div class="tCyp"><strong>'+tBox[i][0]+'</strong></div>';
					senmonTemp = tBox[i][0];
				}
				wrHtml += '<table width="670" cellspacing="1" cellpadding="1" border="0" style="margin-bottom:20px;">';
				wrHtml += '<tr><td  valign="top" bgcolor="#D8E8F8" width="120"><div class="tHdl_st">'+tBox[i][1]+'</div></td>';
				wrHtml += '<td valign="top" bgcolor="#ffffff" width="580"><div class="tCyp">'+tBox[i][2]+'</div></td></tr>';
				wrHtml += '<tr><td valign="top" bgcolor="#666666"><img width="80" height="1" src="s.gif"/></td>';
				wrHtml += '<td valign="top" bgcolor="#cccccc"><img width="10" height="1" src="s.gif"/></td></tr>';

				if(tBox[i][3] != "-"){
					wrHtml += '<tr><td  valign="top" bgcolor="#D8E8F8" width="120"><div class="tCyp">最終学歴</div></td>';
					wrHtml += '<td bgcolor="#ffffff" width="580"><div class="tCyp">'+tBox[i][3]+'</div></td></tr>';
				}
				if(tBox[i][4] != "-"){
					wrHtml += '<tr><td  valign="top" bgcolor="#D8E8F8" width="120"><div class="tCyp">役職など</div></td>';
					wrHtml += '<td bgcolor="#ffffff" width="580"><div class="tCyp">'+tBox[i][4]+'</div></td></tr>';
				}
				if(tBox[i][5] != "-"){
					wrHtml += '<tr><td  valign="top" bgcolor="#D8E8F8" width="120"><div class="tCyp">略歴など</div></td>';
					wrHtml += '<td bgcolor="#ffffff" width="580"><div class="tCyp">'+tBox[i][5]+'</div></td></tr>';
				}
				if(tBox[i][6] != "-"){
					wrHtml += '<tr><td  valign="top" bgcolor="#D8E8F8" width="120"><div class="tCyp">専門領域</div></td>';
					wrHtml += '<td bgcolor="#ffffff" width="580"><div class="tCyp">'+tBox[i][6]+'</div></td></tr>';
				}
				wrHtml += '</table>';
			}

			document.getElementById("staffList").innerHTML = wrHtml;
		}
	}
	httpXML.send("");
}



function staffLoader_admin(val){
	tBox = new Array();
	var wrHtml="";
	var senmonTemp;

	var httpXML=generateXmlHttp();
	httpXML.open("GET", "xml_staff_admin.xsl?-max="+val , true);
	httpXML.onreadystatechange=function(){
		// readyState == 4で受信完了
		if (httpXML.readyState == 4) {
			sauceXML=httpXML.responseXML;
			listBox=sauceXML.getElementsByTagName("record");
			for(i=0;i<listBox.length;i++){
				tBox[i] = new Array(purseNode(listBox[i],'shozoku'),purseNode(listBox[i],'name'),purseNode(listBox[i],'katagaki'),purseNode(listBox[i],'gakureki'),purseNode(listBox[i],'yakushoku'),purseNode(listBox[i],'ryakureki'),purseNode(listBox[i],'senmon'));
			}

			for(i=0;i<tBox.length;i++){
				if(senmonTemp != tBox[i][0]){
					wrHtml += '<div class="tCyp"><strong>'+tBox[i][0]+'</strong></div>';
					senmonTemp = tBox[i][0];
				}
				wrHtml += '<table width="670" cellspacing="1" cellpadding="1" border="0" style="margin-bottom:20px;">';
				wrHtml += '<tr><td  valign="top" bgcolor="#D8E8F8" width="120"><div class="tHdl_st">'+tBox[i][1]+'</div></td>';
				wrHtml += '<td valign="top" bgcolor="#ffffff" width="580"><div class="tCyp">'+tBox[i][2]+'</div></td></tr>';
				wrHtml += '<tr><td valign="top" bgcolor="#666666"><img width="80" height="1" src="../../s.gif"/></td>';
				wrHtml += '<td valign="top" bgcolor="#cccccc"><img width="10" height="1" src="../../s.gif"/></td></tr>';

				if(tBox[i][3] != "-"){
					wrHtml += '<tr><td  valign="top" bgcolor="#D8E8F8" width="120"><div class="tCyp">最終学歴</div></td>';
					wrHtml += '<td bgcolor="#ffffff" width="580"><div class="tCyp">'+tBox[i][3]+'</div></td></tr>';
				}
				if(tBox[i][4] != "-"){
					wrHtml += '<tr><td  valign="top" bgcolor="#D8E8F8" width="120"><div class="tCyp">役職など</div></td>';
					wrHtml += '<td bgcolor="#ffffff" width="580"><div class="tCyp">'+tBox[i][4]+'</div></td></tr>';
				}
				if(tBox[i][5] != "-"){
					wrHtml += '<tr><td  valign="top" bgcolor="#D8E8F8" width="120"><div class="tCyp">略歴など</div></td>';
					wrHtml += '<td bgcolor="#ffffff" width="580"><div class="tCyp">'+tBox[i][5]+'</div></td></tr>';
				}
				if(tBox[i][6] != "-"){
					wrHtml += '<tr><td  valign="top" bgcolor="#D8E8F8" width="120"><div class="tCyp">専門領域</div></td>';
					wrHtml += '<td bgcolor="#ffffff" width="580"><div class="tCyp">'+tBox[i][6]+'</div></td></tr>';
				}
				wrHtml += '</table>';
			}

			document.getElementById("staffList").innerHTML = wrHtml;
		}
	}
	httpXML.send("");
}



//==================================
//　提携機関の読込み
//==================================
function teikeiLoader(){
	tBox = new Array();
	var wrHtml="";
	var chihouTemp;
	var adrs1Temp;

	var httpXML=generateXmlHttp();
	httpXML.open("GET", "../fmi/xsl/xml_teikei.xsl" , true);
	//httpXML.open("GET", "jes_03.xml" , true);
	httpXML.onreadystatechange=function(){
		// readyState == 4で受信完了
		if (httpXML.readyState == 4) {
			sauceXML=httpXML.responseXML;
			listBox=sauceXML.getElementsByTagName("record");
			for(i=0;i<listBox.length;i++){
				tBox[i] = new Array(purseNode(listBox[i],'chihou'),purseNode(listBox[i],'adrs1'),purseNode(listBox[i],'adrs2'),purseNode(listBox[i],'name'),purseNode(listBox[i],'link'));
			}

			for(i=0;i<tBox.length;i++){
				wrHtml += '<tr>';
				if(chihouTemp!=tBox[i][0]){
					//　キャッシュしている“地方”が違ったら。。
					//　キャッシュに“地方”を代入して、、
					chihouTemp=tBox[i][0];
					//　同じ“地方”のカウント用変数を用意して、、
					var loop=0;
					//　数える。
					for(x=0;x<tBox.length;x++){if(tBox[x][0]==chihouTemp){loop++;}}
					wrHtml += '<th rowspan="'+loop+'">'+chihouTemp+'</th>';
				}

				if(adrs1Temp!=tBox[i][1]){
					//　キャッシュしている“都道府県”が違ったら。。
					//　キャッシュに“都道府県”を代入して、、
					adrs1Temp=tBox[i][1];
					//　同じ“都道府県”のカウント用変数を用意して、、
					var loop=0;
					//　数える。
					for(x=0;x<tBox.length;x++){if(tBox[x][1]==adrs1Temp){loop++;}}
					wrHtml += '<td rowspan="'+loop+'">'+adrs1Temp+'</td>';
				}
				wrHtml += '<td>'+tBox[i][2]+'</td>';
				if(tBox[i][4]!="-"){
					wrHtml += '<td><a class="teikei" target="_blank" href="'+tBox[i][4]+'">'+tBox[i][3]+'</a></td>';
				}else{
					wrHtml += '<td>'+tBox[i][3]+'</td>';
				}
				wrHtml += '</tr>';
			}

			tHead = '<table cellspacing="0" cellpadding="4" border="0" class="table03" width="700"><tbody>';
			tHead += '<tr>';
			tHead += '<td width="113"><img src="s.gif" width="113" height="1" alt="" /></td>';
			tHead += '<td width="66"><img src="s.gif" width="66" height="1" alt="" /></td>';
			tHead += '<td width="114"><img src="s.gif" width="114" height="1" alt="" /></td>';
			tHead += '<td width="382"><img src="s.gif" width="382" height="1" alt="" /></td>';
			tHead += '</tr>';
			tHead += '<tr>';
			tHead += '<th class="th" colspan="3">エリア</th>';
			tHead += '<th class="th">提携/関連機関</th>';
			tHead += '</tr>';
			tFoot = '</tbody></table>';
			document.getElementById("teikeiList").innerHTML = tHead + wrHtml + tFoot;
		}
	}
	httpXML.send("");
}

function teikeiLoader_admin(val){
	tBox = new Array();
	var wrHtml="";
	var chihouTemp;
	var adrs1Temp;

	var httpXML=generateXmlHttp();
	httpXML.open("GET", "xml_teikei_admin.xsl?-max="+val , true);
	httpXML.onreadystatechange=function(){
		// readyState == 4で受信完了
		if (httpXML.readyState == 4) {
			sauceXML=httpXML.responseXML;
			listBox=sauceXML.getElementsByTagName("record");
			for(i=0;i<listBox.length;i++){
				tBox[i] = new Array(purseNode(listBox[i],'chihou'),purseNode(listBox[i],'adrs1'),purseNode(listBox[i],'adrs2'),purseNode(listBox[i],'name'),purseNode(listBox[i],'link'));
			}

			for(i=0;i<tBox.length;i++){
				wrHtml += '<tr>';
				if(chihouTemp!=tBox[i][0]){
					//　キャッシュしている“地方”が違ったら。。
					//　キャッシュに“地方”を代入して、、
					chihouTemp=tBox[i][0];
					//　同じ“地方”のカウント用変数を用意して、、
					var loop=0;
					//　数える。
					for(x=0;x<tBox.length;x++){if(tBox[x][0]==chihouTemp){loop++;}}
					wrHtml += '<th rowspan="'+loop+'">'+chihouTemp+'</th>';
				}

				if(adrs1Temp!=tBox[i][1]){
					//　キャッシュしている“都道府県”が違ったら。。
					//　キャッシュに“都道府県”を代入して、、
					adrs1Temp=tBox[i][1];
					//　同じ“都道府県”のカウント用変数を用意して、、
					var loop=0;
					//　数える。
					for(x=0;x<tBox.length;x++){if(tBox[x][1]==adrs1Temp){loop++;}}
					wrHtml += '<td rowspan="'+loop+'">'+adrs1Temp+'</td>';
				}
				wrHtml += '<td>'+tBox[i][2]+'</td>';
				if(tBox[i][4]!="-"){
					wrHtml += '<td><a class="teikei" target="_blank" href="'+tBox[i][4]+'">'+tBox[i][3]+'</a></td>';
				}else{
					wrHtml += '<td>'+tBox[i][3]+'</td>';
				}
				wrHtml += '</tr>';
			}

			tHead = '<table cellspacing="0" cellpadding="4" border="0" class="table03" width="700"><tbody>';
			tHead += '<tr>';
			tHead += '<td width="113"><img src="../../s.gif" width="113" height="1" alt="" /></td>';
			tHead += '<td width="66"><img src="../../s.gif" width="66" height="1" alt="" /></td>';
			tHead += '<td width="114"><img src="../../s.gif" width="114" height="1" alt="" /></td>';
			tHead += '<td width="382"><img src="../../s.gif" width="382" height="1" alt="" /></td>';
			tHead += '</tr>';
			tHead += '<tr>';
			tHead += '<th class="th" colspan="3">エリア</th>';
			tHead += '<th class="th">提携/関連機関</th>';
			tHead += '</tr>';
			tFoot = '</tbody></table>';
			document.getElementById("teikeiList").innerHTML = tHead + wrHtml + tFoot;
		}
	}
	httpXML.send("");
}


//==================================
//　書籍の読込み
//==================================


function shosekiLoader(){
	tBox = new Array();
	var wrHtml="";
	var senmonTemp;
	dd = new Date();
	uid = dd.getTime();

	var httpXML=generateXmlHttp();
	httpXML.open("GET", "../fmi/xsl/xml_shoseki.xsl" , true);
	httpXML.onreadystatechange=function(){
		// readyState == 4で受信完了
		if (httpXML.readyState == 4) {
			sauceXML=httpXML.responseXML;
			listBox=sauceXML.getElementsByTagName("record");
			for(i=0;i<listBox.length;i++){
				tBox[i] = new Array(purseNode(listBox[i],'title'),purseNode(listBox[i],'copy'),purseNode(listBox[i],'bk_shupansha'),purseNode(listBox[i],'bk_cyosya'),purseNode(listBox[i],'bk_kakaku'),purseNode(listBox[i],'bk_hakkou'),purseNode(listBox[i],'bk_isbn'),purseNode(listBox[i],'bk_sort'),purseNode(listBox[i],'imgname'));
			}

			if(purseNode(listBox[0],'error') == 0){
				for(i=0;i<tBox.length;i++){
	
					wrHtml += '<table width="670" cellspacing="1" cellpadding="1" border="0" style="margin-bottom:30px;">';
					wrHtml += '<tr><td bgcolor="#ffffff" width="120"><img src="s.gif" width="120" height="1" alt="_" /></td>';
					wrHtml += '<td bgcolor="#ffffff" width="550"<img src="s.gif" width="550" height="1" alt="_" /></td></tr>';
	
					wrHtml += '<tr><td valign="top" bgcolor="#ffffff" width="120"><img src="jes_05_img/'+tBox[i][8]+'?'+uid+'" width="100" alt="_" /><div class="tHdl"></div></td>';
					wrHtml += '<td valign="top" bgcolor="#ffffff" width="580">';
	
						wrHtml += '<div class="Tit" style="color:#000099;">'+tBox[i][0]+'</div>';
						wrHtml += '<div class="Hdl" style="margin:5px 0"><hr/></div>';
						wrHtml += '<div class="Cyp" style="margin-bottom:0px;">'+tBox[i][1]+'</div>';
						wrHtml += '<div class="Hdl" style="margin:5px 0"><hr/></div>';
						wrHtml += '<table width="550" cellspacing="1" cellpadding="1" border="0" style="margin-bottom:20px;">';
	
						wrHtml += '<tr><td bgcolor="#ffffff" width="250"><img src="s.gif" width="40" height="1" alt="_" /></td>';
						wrHtml += '<td bgcolor="#ffffff" width="300"><img src="s.gif" width="50" height="1" alt="_" /></td></tr>';
	
						wrHtml += '<tr><td bgcolor="#ffffff"><div class="Sml">出版社：'+tBox[i][2]+'</div></td>';
						wrHtml += '<td bgcolor="#ffffff"><div class="Sml">発行年月：'+tBox[i][5]+'</div></td></tr>';
	
						wrHtml += '<tr><td bgcolor="#ffffff"><div class="Sml">著　者：'+tBox[i][3]+'</div></td>';
						wrHtml += '<td bgcolor="#ffffff"><div class="Sml">ＩＳＢＮ：'+tBox[i][6]+'</div></td></tr>';
	
						wrHtml += '<tr><td bgcolor="#ffffff"><div class="Sml">価　格：'+tBox[i][4]+'</div></td>';
						wrHtml += '<td bgcolor="#ffffff"><div class="Sml"></div></td></tr>';
	
						wrHtml += '</table>';
					wrHtml += '</td></tr>';
					wrHtml += '</table>';
				}
			}else{
				wrHtml = "";
			}

			document.getElementById("shosekiList").innerHTML = wrHtml;
		}
	}
	httpXML.send("");
}


function shosekiLoader_admin(val){
	tBox = new Array();
	var wrHtml="";
	var senmonTemp;
	dd = new Date();
	uid = dd.getTime();

	var httpXML=generateXmlHttp();
	httpXML.open("GET", "xml_shoseki_admin.xsl?-max="+val , true);
	httpXML.onreadystatechange=function(){
		// readyState == 4で受信完了
		if (httpXML.readyState == 4) {
			sauceXML=httpXML.responseXML;
			listBox=sauceXML.getElementsByTagName("record");
			for(i=0;i<listBox.length;i++){
				tBox[i] = new Array(purseNode(listBox[i],'title'),purseNode(listBox[i],'copy'),purseNode(listBox[i],'bk_shupansha'),purseNode(listBox[i],'bk_cyosya'),purseNode(listBox[i],'bk_kakaku'),purseNode(listBox[i],'bk_hakkou'),purseNode(listBox[i],'bk_isbn'),purseNode(listBox[i],'bk_sort'),purseNode(listBox[i],'imgname'));
			}

			if(purseNode(listBox[0],'error') == 0){
				for(i=0;i<tBox.length;i++){
	
					wrHtml += '<table width="670" cellspacing="1" cellpadding="1" border="0" style="margin-bottom:30px;">';
					wrHtml += '<tr><td bgcolor="#ffffff" width="120"><img src="../../s.gif" width="120" height="1" alt="_" /></td>';
					wrHtml += '<td bgcolor="#ffffff" width="550"<img src="../../s.gif" width="550" height="1" alt="_" /></td></tr>';
	
					wrHtml += '<tr><td valign="top" bgcolor="#ffffff" width="120"><img src="../../jes_05_img/'+tBox[i][8]+'?'+uid+'" width="100" alt="_" /><div class="tHdl"></div></td>';
					wrHtml += '<td valign="top" bgcolor="#ffffff" width="580">';
	
						wrHtml += '<div class="Tit" style="color:#000099;">'+tBox[i][0]+'</div>';
						wrHtml += '<div class="Hdl" style="margin:5px 0"><hr/></div>';
						wrHtml += '<div class="Cyp" style="margin-bottom:0px;">'+tBox[i][1]+'</div>';
						wrHtml += '<div class="Hdl" style="margin:5px 0"><hr/></div>';
						wrHtml += '<table width="550" cellspacing="1" cellpadding="1" border="0" style="margin-bottom:20px;">';
	
						wrHtml += '<tr><td bgcolor="#ffffff" width="250"><img src="../../s.gif" width="40" height="1" alt="_" /></td>';
						wrHtml += '<td bgcolor="#ffffff" width="300"><img src="../../s.gif" width="50" height="1" alt="_" /></td></tr>';
	
						wrHtml += '<tr><td bgcolor="#ffffff"><div class="Sml">出版社：'+tBox[i][2]+'</div></td>';
						wrHtml += '<td bgcolor="#ffffff"><div class="Sml">発行年月：'+tBox[i][5]+'</div></td></tr>';
	
						wrHtml += '<tr><td bgcolor="#ffffff"><div class="Sml">著　者：'+tBox[i][3]+'</div></td>';
						wrHtml += '<td bgcolor="#ffffff"><div class="Sml">ＩＳＢＮ：'+tBox[i][6]+'</div></td></tr>';
	
						wrHtml += '<tr><td bgcolor="#ffffff"><div class="Sml">価　格：'+tBox[i][4]+'</div></td>';
						wrHtml += '<td bgcolor="#ffffff"><div class="Sml"></div></td></tr>';
	
						wrHtml += '</table>';
					wrHtml += '</td></tr>';
					wrHtml += '</table>';
				}
			}else{
				wrHtml = "";
			}

			document.getElementById("shosekiList").innerHTML = wrHtml;
		}
	}
	httpXML.send("");
}




//==================================
//　マクロメディア標準ファンクション
//==================================
function MM_preload(){
	MM_preloadImages('_common_img/n0101_f2.gif','_common_img/n0102_f2.gif','_common_img/n0103_f2.gif','_common_img/n0201_f2.gif','_common_img/n0202_f2.gif','_common_img/n0203_f2.gif','_common_img/n0204_f2.gif','_common_img/n0205_f2.gif','_common_img/n0301_f2.gif','_common_img/n0302_f2.gif','_common_img/n030201_f2.gif','_common_img/n030202_f2.gif','_common_img/n030203_f2.gif','_common_img/n030204_f2.gif','_common_img/n0303_f2.gif','_common_img/n0304_f2.gif','_common_img/n0305_f2.gif','_common_img/n0306_f2.gif','_common_img/n0307_f2.gif','_common_img/n0308_f2.gif','_common_img/n0309_f2.gif','_common_img/n0401_f2.gif','_common_img/n0402_f2.gif','_common_img/n0403_f2.gif','_common_img/n0404_f2.gif','_common_img/n0501_f2.gif','_common_img/n0502_f2.gif','_common_img/n0503_f2.gif','_common_img/n0701_f2.gif','_common_img/n0702_f2.gif','_common_img/n0703_f2.gif','_common_img/n0704_f2.gif','_common_img/n0705_f2.gif');
}

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_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_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 chkAgent(){
	//=================================
	//　chkAgent()
	//　Ver1.0 / 2010.04.23
	//　return ブラウザの種類（IE6,IE7,IE8,IE?,Firefox,Opera,Chrome,Safari）
	//=================================
	var userAgent = window.navigator.userAgent.toLowerCase();
	var appVersion = window.navigator.appVersion.toLowerCase();

	var UAT;	
	if (userAgent.indexOf("msie") > -1) {
		if (appVersion.indexOf("msie 6.0") > -1) {UAT = "IE6";}
		else if (appVersion.indexOf("msie 7.0") > -1) {UAT = "IE7";}
		else if (appVersion.indexOf("msie 8.0") > -1) {UAT = "IE8";}
		else {userAgentType = "IE?";}
	}
	else if(userAgent.indexOf("firefox") > -1) {UAT = "Firefox";}
	else if(userAgent.indexOf("opera") > -1) {UAT = "Opera";}
	else if(userAgent.indexOf("chrome") > -1) {UAT = "Chrome";}
	else if(userAgent.indexOf("safari") > -1) {UAT = "Safari";}
	else {UAT = "Unknown";}

	return UAT;
}


//　ナビゲーションから別ウィンドウで会員ページを開く
function openSys(){
	window.open('http://172.23.2.246/fmi/xsl/user_start.xsl','sysWindow','width=800,height=650,scrollbars=yes,status=no,toolbar=no,location=yes');
}

//　ユーザー登録判定
function regist(){
	document.regist.submit();
}


//　登録画面
function entry(){
		window.open("https://www.jes.ne.jp/fmi/xsl/user_regi.xsl","member","width=800,height="+screen.availHeight+",scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=yes");
}



function gotop(){
	document.submitForm.action = "user_top.xsl";
	document.submitForm.submit();
}

function howto(){
	document.submitForm.action = "user_howto.xsl";
	document.submitForm.submit();
}

function howtoNext(val){
	if(val==2){
		document.submitForm.action = "user_howto_2.xsl";
	}else if(val==3){
		document.submitForm.action = "user_howto_3.xsl";
	}else if(val==4){
		document.submitForm.action = "user_faq.xsl";
	}
	document.submitForm.submit();
}


function scheck(){
	document.submitForm.submit();
}

function login(){
	chkFlg = "";
	chkValue("text","submitForm","-token.id","ユーザID");
	chkValue("text","submitForm","-token.pass","パスワード");

	if(chkFlg != "NG"){
		token_id = document.submitForm.elements["-token.id"].value;
		token_pass = document.submitForm.elements["-token.pass"].value;
		setCookie("user","login");
		setCookie("i",token_id);
		setCookie("p",token_pass);
		window.open("https://www.jes.ne.jp/fmi/xsl/user_login.xsl?-token.id="+token_id+"&-token.pass="+token_pass+"&-token.c=456sds523df71sf4ase564ds1asd2wdjdutb4d1z","member","width=800,height="+screen.availHeight+",scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=yes");
	}
}

function reregiGo(){
	window.open("https://www.jes.ne.jp/fmi/xsl/user_reregi.xsl","member","width=800,height="+screen.availHeight+",scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=yes");
}

function reregi(){
	chkFlg = "";
	chkValue("text","submitForm","-token.co_id","契約企業ID");
	chkValue("text","submitForm","-token.mail","メールアドレス","e-mail");

	if(chkFlg != "NG"){
		token_co_id = document.submitForm.elements["-token.co_id"].value;
		token_mail = document.submitForm.elements["-token.mail"].value.replace("@","_");

		window.open("https://www.jes.ne.jp/fmi/xsl/user_reregi_chk.xsl?-script=CreatePASS&co_id="+token_co_id+"&user_mail_add="+token_mail,"member","width=800,height="+screen.availHeight+",scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=yes");
	}
}



function past(){
	document.submitForm.action = "user_past.xsl";
	document.submitForm.submit();
}

function profTarget(){
		alert("テスト動作中");
		location.href = "sys_prof.html";
}

function inqOpen(){
	window.open("https://www.jes.ne.jp/inq_01.html","_blank","");
}

function websoudanOpen(){
	window.open("https://www.jes.ne.jp/inq_01.html","_blank","");
}

function pass(){
		reregiGo();
}


function openUse(){
	window.open("https://www.jes.ne.jp/sys_use.html","member","width=800,height="+screen.availHeight+",scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=yes");
}

//　エンターキー送信
function enterCancel(evt){
	if (evt.keyCode == 13) {
		if (evt.preventDefault) {
			login();
			evt.preventDefault();
		}else{
			setLogin();
			evt.returnValue = false;
		}
	}
}



function serchUser(){
	co_id = getValue("text","serchUserForm","co_id");
	user_name = getValue("text","serchUserForm","user_name");
	user_mail1 = getValue("text","serchUserForm","user_mail1");
	op_ansDate_01_yy = getValue("select","serchUserForm","op_ansDate_01_yy");
	op_ansDate_01_mm = getValue("select","serchUserForm","op_ansDate_01_mm");
	op_ansDate_01_dd = getValue("select","serchUserForm","op_ansDate_01_dd");
	op_ansDate_02_yy = getValue("select","serchUserForm","op_ansDate_02_yy");
	op_ansDate_02_mm = getValue("select","serchUserForm","op_ansDate_02_mm");
	op_ansDate_02_dd = getValue("select","serchUserForm","op_ansDate_02_dd");

	user_mail_add = user_mail1.replace("@","_");
	op_ansDate = op_ansDate_01_yy + "/" + op_ansDate_01_mm + "/" + op_ansDate_01_dd + ".." + op_ansDate_02_yy + "/" + op_ansDate_02_mm + "/" + op_ansDate_02_dd;

	csvURL = "?co_id="+co_id+"&user_name="+user_name+"&user_mail_add="+user_mail1.replace("@","_")+"&op_ansDate="+op_ansDate;

	document.serchUserForm2.co_id.value = co_id;
	document.serchUserForm2.user_name.value = user_name;
	document.serchUserForm2.user_mail_add.value = user_mail_add;
	document.serchUserForm2.op_ansDate.value = op_ansDate;
	document.serchUserForm2.elements["-token.csvurl"].value = csvURL;
	document.serchUserForm2.submit();
}



function downloadCSV(){
	window.open("csv_user.xsl"+csvURL,"_blank","width=100,height=100");
}




function creatNavi_sys(seg,val){
	if(seg=="menu"){
		if(val==musOver){
			document.write('<div class="nCA"><a href="/fmi/xsl/'+val+'.xsl"><img src="_common_img/'+val+'_f2.gif" alt="" width="200" height="20" id="'+val+' "name="'+val+'" /></a></div>');
		}else{
			document.write('<div class="nCA"><a href="/fmi/xsl/'+val+'.xsl" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage(\''+val+'\',\'\',\'_common_img/'+val+'_f2.gif\',1);"><img src="_common_img/'+val+'.gif" alt="" name="'+val+'" width="200" height="20" id="'+val+'" /></a></div>');
		}
	}else if(seg=="title"){
		if(val=="home"){
			document.write('<div class="nCC"><a href="index.html"><img src="_common_img/'+val+'.gif" alt="" width="200" height="25" id="'+val+'" name="'+val+'" /></a></div>');
		}else{
			document.write('<div class="nCC"><img src="_common_img/'+val+'.gif" alt="" width="200" height="25" id="'+val+'" name="'+val+'" /></div>');
		}
	}else if(seg=="spacer"){
		document.write('<div class="nSS"><img src="s.gif" alt="" height="'+val+'" width="5" /></div>');
	}
}


function jumpPage(frm,url){
	setCookie("frameName",frm);
	if(url == "openUse()"){
		openUse();
	}else{
		location.href = url + ".html";
	}
}


function logout(){
	window.open('user_logout.xsl','_blank','width=800,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no,resizable=yes');
	window.close();
}






