function WriteHeader_Top()
{
	document.write("<TABLE width='100%' border='0' align='center' valign='top' cellspacing='0' cellpadding='0'>");
	document.write("<TR height='85'>");
	document.write("<TD align='right' background='img/topban.gif'><font class='M' color='#000000'><a href='sitemap.html'><font class='M'>SITEMAP</font></a>&nbsp;&nbsp;&nbsp;&nbsp;</font></TD>");
	document.write("</TR>");
	document.write("<TR height='6'>");
	document.write("<TD background='img/topline.gif'></TD>");
	document.write("</TR>");
	document.write("</TABLE>");
}

function WriteHeader()
{
	document.write("<TABLE width='100%' border='0' align='center' valign='top' cellspacing='0' cellpadding='0'>");
	document.write("<TR height='85'>");
	document.write("<TD align='right' background='img/topban.gif'><font class='M' color='#000000'>&nbsp;&nbsp;<a href='sitemap.html'><font class='M'>SITEMAP</font></a>&nbsp;&nbsp;&nbsp;&nbsp;</font></TD>");
	document.write("</TR>");

	document.write("<TR>");
	document.write("<TD bgcolor='#e0ffff' align='right'>");
	document.write("<a href='index.html'><img src='img/btn_home_off.gif' onmouseover=this.src='img/btn_home_on.gif' onMouseOut=this.src='img/btn_home_off.gif'></a>");
	document.write("<a href='corp.html'><img src='img/btn_corp_off.gif' onmouseover=this.src='img/btn_corp_on.gif' onMouseOut=this.src='img/btn_corp_off.gif'></a>");
	document.write("<a href='rinen.html'><img src='img/btn_rinen_off.gif' onmouseover=this.src='img/btn_rinen_on.gif' onMouseOut=this.src='img/btn_rinen_off.gif'></a>");
	document.write("<a href='contact.html'><img src='img/btn_toi_off.gif' onmouseover=this.src='img/btn_toi_on.gif' onMouseOut=this.src='img/btn_toi_off.gif'></a>");
	document.write("<a href='map.html'><img src='img/btn_syozai_off.gif' onmouseover=this.src='img/btn_syozai_on.gif' onMouseOut=this.src='img/btn_syozai_off.gif'></a>");
	document.write("</TD>");
	document.write("</TR>");

	document.write("<TR height='6'>");
	document.write("<TD background='img/topline.gif'></TD>");
	document.write("</TR>");
	document.write("</TABLE>");
}

function WriteFooter_top()
{
	document.write("<TABLE  background='img/footer.gif' width='100%' border='0' align='center' valign='top' cellspacing='5' cellpadding='3'>");
	document.write("<TR>");
	document.write("<TD>");
	document.write("<!--");
	document.write("<font class='M'>■個人情報保護方針</font>&nbsp;");
	document.write("<font class='M'>■E-MAIL</font>&nbsp;");
	document.write("<br>");
	document.write("-->");
	document.write("<br>");
	document.write("<a href='index.html'><font class='S'>■HOME</font></a>&nbsp;");
	document.write("<a href='corp.html'><font class='S'>■会社案内</font></a>&nbsp;");
	document.write("<a href='rinen.html'><font class='S'>■HRA Trust理念</font></a>&nbsp;");
	document.write("<a href='contact.html'><font class='S'>■お問い合わせ</font></a>&nbsp;");
	document.write("<a href='map.html'><font class='S'>■所在地</font></a>&nbsp;");
	document.write("</TD>");
	document.write("</TR>");

	document.write("<TR>");
	document.write("<TD align='right'>");
	document.write("<a href='index.html'>");
	document.write("<font class='M' color='#008040'>転職エージェントが豊富な転職情報であなたの転職活動を支援する転職サイト</font><img src='img/sp.gif' width='4'><br>");
	document.write("<a>");
	document.write("</TD>");
	document.write("<TR>");
	document.write("<TD align='right'>");
	document.write("<font class='M'>Copyrights &copy; HRA Trust,Inc.All Rights Reserved.&nbsp;</font><img src='img/pic/sp.gif' width='4'><br><br>");
	document.write("</TD>");

	document.write("</TABLE>");
}

function WriteFooter()
{
	document.write("<TABLE  background='img/footer.gif' width='100%' border='0' align='center' valign='top' cellspacing='5' cellpadding='3'>");
	document.write("<TR>");
	document.write("<TD>");
	document.write("<!--");
	document.write("<font class='M'>■個人情報保護方針</font>&nbsp;");
	document.write("<font class='M'>■E-MAIL</font>&nbsp;");
	document.write("<br>");
	document.write("-->");
	document.write("<a href='../../../HRA_WebPage/Kinyu_S'><img src='img/getkinyu_off.gif' onmouseover=this.src='img/getkinyu_on.gif' onMouseOut=this.src='img/getkinyu_off.gif'></a>");
	document.write("&nbsp;");
	document.write("<a href='../../../HRA_WebPage/Keiri_S'><img src='img/getkanri_off.gif' onmouseover=this.src='img/getkanri_on.gif' onMouseOut=this.src='img/getkanri_off.gif'></a>");

	document.write("<br>");
	document.write("<a href='index.html'><font class='S'>■HOME</font></a>&nbsp;");
	document.write("<a href='corp.html'><font class='S'>■会社案内</font></a>&nbsp;");
	document.write("<a href='rinen.html'><font class='S'>■HRA Trust理念</font></a>&nbsp;");
	document.write("<a href='contact.html'><font class='S'>■お問い合わせ</font></a>&nbsp;");
	document.write("<a href='map.html'><font class='S'>■所在地</font></a>&nbsp;");
	document.write("</TD>");
	document.write("</TR>");

	document.write("<TR>");
	document.write("<TD align='right'>");
	document.write("<a href='index.html'>");
	document.write("<font class='M' color='#008040'>転職エージェントが豊富な転職情報であなたの転職活動を支援する転職サイト</font><img src='img/sp.gif' width='4'><br>");
	document.write("<a>");
	document.write("</TD>");
	document.write("<TR>");
	document.write("<TD align='right'>");
	document.write("<font class='M'>Copyrights &copy; HRA Trust,Inc.All Rights Reserved.&nbsp;</font><img src='img/pic/sp.gif' width='4'><br><br>");
	document.write("</TD>");

	document.write("</TABLE>");
}


function setLinkMsg(obj,msg) {
  document.getElementById(obj).innerHTML = msg
}

var i = 0;
var delay = 5; // 表示されるスピード（1000分の1秒単位）
function typethis(obj,msg) {
   if(!obj||!msg) return false;
   if(document.getElementById) {
      document.getElementById(obj).innerHTML = msg.substring(0,i) + '<span id="lastletter">' + msg.substring(i,i+1) + '</span>';
      if (i<=msg.length) {
         setTimeout(function() { typethis(obj,msg);}, delay);
         i++;
      } else {
         i=0;
      }
   } else {
      return false;
   }
}
