<!-- Hide from non-javascript compatible browsers//-----------------------ヘッダ書き出し---------------------------------//ヘッダを生成させる関数function put_header(dir,flg) {document.write("<TABLE WIDTH='740' BORDER='0' CELLSPACING='0' CELLPADDING='0'>");document.write("<TR>");document.write("<TD align='center' valign='center'><IMG SRC='");document.write(dir);document.write("img/ttl_01.gif' WIDTH='551' HEIGHT='22' BORDER='0' ALT=''><br>");document.write("</TD>");document.write("<TD align='left' valign='bottom'><A href='http://www.jp-group.jp/' target='_blank'><IMG SRC='");document.write(dir);document.write("img/lgo_jp.gif' WIDTH='189' HEIGHT='22' BORDER='0' ALT=''></A><br>");document.write("</TD>");document.write("</TR>");document.write("</TABLE>");document.write("<TABLE WIDTH='740' BORDER='0' CELLSPACING='0' CELLPADDING='0'>");document.write("<TR>");document.write("<TD align='center' valign='center' rowspan='2'><IMG SRC='");document.write(dir);document.write("img/pic_01.gif' WIDTH='55' HEIGHT='58' BORDER='0' ALT=''></A><br>");document.write("</TD>");document.write("<TD align='center' valign='center'><IMG SRC='");document.write(dir);document.write("img/ttl_02.gif' WIDTH='685' HEIGHT='27' BORDER='0' ALT=''></A><br>");document.write("</TD>");document.write("</TR>");document.write("<TR HEIGHT='31'>");document.write("<TD align='left' valign='middle' background='");document.write(dir);document.write("img/bak_menu.gif'>");document.write("<IMG SRC='");document.write(dir);document.write("img/spacer.gif' WIDTH='5' HEIGHT='3' BORDER='0'><br>");put_menu(dir,flg);document.write("</TD>");document.write("</TR>");document.write("</TABLE>");}//-----------------------メニュー書き出し---------------------------------//左のメニューボタンを配置する関数//(flg　0:通常  1:マウスオン状態　3:リンクなし)function put_btn(name,alt,dir,flg,link) {document.write("<TD align='center' valign='center'><A href='");document.write(dir);document.write(link);document.write("' onMouseOver=images['");document.write(name);document.write("'].src='");document.write(dir);document.write("img/mnu_");document.write(name);document.write("_on.gif' onMouseOut=images['");document.write(name);document.write("'].src='")document.write(dir);document.write("img/mnu_");document.write(name);if (flg == '1'){    document.write("_on");}else{    document.write("");}document.write(".gif'><IMG SRC='");document.write(dir);document.write("img/mnu_");document.write(name);if (flg == '1'){    document.write("_on");}else{    document.write("");}//document.write(".gif' WIDTH='150' HEIGHT='25' BORDER='0' ALT='");document.write(".gif' BORDER='0' ALT='");document.write(alt);document.write("' NAME='");document.write(name);document.write("'></A><br>");document.write("<IMG SRC='");document.write(dir);document.write("img/spacer.gif' WIDTH='5' HEIGHT='2' BORDER='0'><br>");document.write("</TD>");}//左のサブメニューを生成させる関数function put_menu(dir,flg) {document.write("<TABLE WIDTH='685' BORDER='0' CELLSPACING='0' CELLPADDING='0'>");document.write("<TR>");if (flg == '0'){    put_btn('top','TOP',dir,'1','index.html');}else{    put_btn('top','TOP',dir,'0','index.html');}if (flg == '1'){    put_btn('tuite','学生寮について',dir,'1','tuite/index.html');}else{    put_btn('tuite','学生寮について',dir,'0','tuite/index.html');}if (flg == '2'){    put_btn('anshin','安心・生活',dir,'1','anshin/index.html');}else{    put_btn('anshin','安心・生活',dir,'0','anshin/index.html');}if (flg == '3'){    put_btn('youko','募集要項・手続き',dir,'1','youko/index.html');}else{    put_btn('youko','募集要項・手続き',dir,'0','youko/index.html');}if (flg == '4'){    put_btn('sisetu','施設案内',dir,'1','sisetu/index.html');}else{    put_btn('sisetu','施設案内',dir,'0','sisetu/index.html');}if (flg == '5'){    put_btn('syuhen','周辺環境',dir,'1','syuhen/index.html');}else{    put_btn('syuhen','周辺環境',dir,'0','syuhen/index.html');}document.write("</TR>");document.write("</TABLE>");}// End hiding -->
