//Top Header//

function header(pagestatus){

	if ( pagestatus == "top" ) {

	document.write('<table width="760" border="0" cellpadding="0" cellspacing="0">\n');
	document.write('  <tr>\n');
	document.write('    <td>\n');
	document.write('     <table width="151" border="0" cellpadding="0" cellspacing="0">\n');
	document.write('      <tr>\n');
	document.write('       <td rowspan="3"><img src="images/hdr_01.gif" width="26" height="71" alt=""></td>\n');
	document.write('       <td><img src="images/hdr_02.gif" width="97" height="5" alt=""></td>\n');
	document.write('       <td rowspan="3"><img src="images/hdr_04.gif" width="28" height="71" alt=""></td>\n');
	document.write('      </tr>\n');
	document.write('      <tr>\n');
	document.write('       <td><a href="#"><img src="images/navi_logo.gif" width="97" height="53" border="0" alt="DAIICHI HOME CORPORATION"></a></td>\n');
	document.write('      </tr>\n');
	document.write('      <tr>\n');
	document.write('       <td><img src="images/hdr_03.gif" width="97" height="13" alt=""></td>\n');
	document.write('      </tr>\n');
	document.write('     </table>\n');
	document.write('    </td>\n');
	document.write('    <td>\n');
	document.write('     <table width="609" border="0" cellpadding="0" cellspacing="0">\n');
	document.write('      <tr>\n');
	document.write('       <td background="images/hdr_05.gif">\n');
	document.write('       <table width="609" border="0" cellpadding="0" cellspacing="0">\n');
	document.write('        <tr>\n');
	document.write('         <td><img src="images/spacer.gif" width="1" height="12" alt=""></td>\n');
	document.write('        </tr>\n');
	document.write('        <tr>\n');
	document.write('         <td><img src="images/spacer.gif" width="210" height="1" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="images/hdr_btn_home.gif" width="62" height="20" border="0" alt="ホーム"></a></td>\n');
	document.write('         <td><img src="images/hdr_line.gif" width="1" height="20" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="images/hdr_btn_corporate.gif" width="76" height="20" border="0" alt="会社概要"></a></td>\n');
	document.write('         <td><img src="images/hdr_line.gif" width="1" height="20" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="images/hdr_btn_qa.gif" width="58" height="20" border="0" alt="Q&A"></td>\n');
	document.write('         <td><img src="images/hdr_line.gif" width="1" height="20" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="images/hdr_btn_contact.gif" width="94" height="20" border="0" alt="お問い合わせ"></a></td>\n');
	document.write('         <td><img src="images/hdr_line.gif" width="1" height="20" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="images/hdr_btn_sitemap.gif" width="91" height="20" border="0" alt="サイトマップ"></a></td>\n');
	document.write('         <td><img src="images/hdr_07.gif" width="14" height="20" alt=""></td>\n');
	document.write('        </tr>\n');
	document.write('      </table>\n');
	document.write('     </td>\n');
	document.write('    </tr>\n');
	document.write('    <tr>\n');
	document.write('     <td><img src="images/hdr_08.gif" width="609" height="7" alt=""></td>\n');
	document.write('    </tr>\n');
	document.write('    <tr>\n');
	document.write('     <td>\n');
	document.write('       <table width="609" border="0" cellpadding="0" cellspacing="0">\n');
	document.write('        <tr>\n');
	document.write('         <td><a href="#"><img src="images/navi_btn_finance.gif" width="120" height="19" border="0" alt="ファイナンス事業部"></a></td>\n');
	document.write('         <td><img src="images/navi_line_01.gif" width="1" height="19" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="images/navi_btn_hudousan.gif" width="120" height="19" border="0" alt="不動産事業部"></a></td>\n');
	document.write('         <td><img src="images/navi_line_02.gif" width="1" height="19" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="images/navi_btn_kensetu.gif" width="120" height="19" border="0" alt="建設事業部"></a></td>\n');
	document.write('         <td><img src="images/navi_line_03.gif" width="1" height="19" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="images/navi_btn_marketing.gif" width="120" height="19" border="0" alt="マーケティング事業部"></a></td>\n');
	document.write('         <td><img src="images/navi_line_04.gif" width="1" height="19" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="images/navi_btn_food.gif" width="125" height="19" border="0" alt="飲食事業部"></a></td>\n');
	document.write('        </tr>\n');
	document.write('      </table>\n');
	document.write('     </td>\n');
	document.write('    </tr>\n');
	document.write('    <tr>\n');
	document.write('     <td background="images/hdr_06.gif" align="right"><img src="images/navi_txt.gif" width="223" height="13" alt="DAIICHI HOME CORPORATION"></td>\n');
	document.write('    </tr>\n');
	document.write('   </table>\n');
	document.write('  </td>\n');
	document.write(' </tr>\n');
	document.write('</table>\n');

	}

//Common Header//

	else if ( pagestatus == "common" ){

	document.write('<table width="760" border="0" cellpadding="0" cellspacing="0">\n');
	document.write('  <tr>\n');
	document.write('    <td>\n');
	document.write('     <table width="151" border="0" cellpadding="0" cellspacing="0">\n');
	document.write('      <tr>\n');
	document.write('       <td rowspan="3"><img src="../images/hdr_01.gif" width="26" height="71" alt=""></td>\n');
	document.write('       <td><img src="../images/hdr_02.gif" width="97" height="5" alt=""></td>\n');
	document.write('       <td rowspan="3"><img src="../images/hdr_04.gif" width="28" height="71" alt=""></td>\n');
	document.write('      </tr>\n');
	document.write('      <tr>\n');
	document.write('       <td><a href="#"><img src="../images/navi_logo.gif" width="97" height="53" border="0" alt="DAIICHI HOME CORPORATION"></a></td>\n');
	document.write('      </tr>\n');
	document.write('      <tr>\n');
	document.write('       <td><img src="../images/hdr_03.gif" width="97" height="13" alt=""></td>\n');
	document.write('      </tr>\n');
	document.write('     </table>\n');
	document.write('    </td>\n');
	document.write('    <td>\n');
	document.write('     <table width="609" border="0" cellpadding="0" cellspacing="0">\n');
	document.write('      <tr>\n');
	document.write('       <td background="../images/hdr_05.gif">\n');
	document.write('       <table width="609" border="0" cellpadding="0" cellspacing="0">\n');
	document.write('        <tr>\n');
	document.write('         <td><img src="../images/spacer.gif" width="1" height="12" alt=""></td>\n');
	document.write('        </tr>\n');
	document.write('        <tr>\n');
	document.write('         <td><img src="../images/spacer.gif" width="210" height="1" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="../images/hdr_btn_home.gif" width="62" height="20" border="0" alt="ホーム"></td>\n');
	document.write('         <td><img src="../images/hdr_line.gif" width="1" height="20" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="../images/hdr_btn_corporate.gif" width="76" height="20" border="0" alt="会社概要"></td>\n');
	document.write('         <td><img src="../images/hdr_line.gif" width="1" height="20" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="../images/hdr_btn_qa.gif" width="58" height="20" border="0" alt="Q&A"></td>\n');
	document.write('         <td><img src="../images/hdr_line.gif" width="1" height="20" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="../images/hdr_btn_contact.gif" width="94" height="20" border="0" alt="お問い合わせ"></td>\n');
	document.write('         <td><img src="../images/hdr_line.gif" width="1" height="20" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="../images/hdr_btn_sitemap.gif" width="91" height="20" border="0" alt="サイトマップ"></td>\n');
	document.write('         <td><img src="../images/hdr_07.gif" width="14" height="20" alt=""></td>\n');
	document.write('        </tr>\n');
	document.write('      </table>\n');
	document.write('     </td>\n');
	document.write('    </tr>\n');
	document.write('    <tr>\n');
	document.write('     <td><img src="../images/hdr_08.gif" width="609" height="7" alt=""></td>\n');
	document.write('    </tr>\n');
	document.write('    <tr>\n');
	document.write('     <td>\n');
	document.write('       <table width="609" border="0" cellpadding="0" cellspacing="0">\n');
	document.write('        <tr>\n');
	document.write('         <td><a href="#"><img src="../images/navi_btn_finance.gif" width="120" height="19" border="0" alt="ファイナンス事業部"></a></td>\n');
	document.write('         <td><img src="../images/navi_line_01.gif" width="1" height="19" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="../images/navi_btn_hudousan.gif" width="120" height="19" border="0" alt="不動産事業部"></a></td>\n');
	document.write('         <td><img src="../images/navi_line_02.gif" width="1" height="19" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="../images/navi_btn_kensetu.gif" width="120" height="19" border="0" alt="建設事業部"></a></td>\n');
	document.write('         <td><img src="../images/navi_line_03.gif" width="1" height="19" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="../images/navi_btn_marketing.gif" width="120" height="19" border="0" alt="マーケティング事業部"></a></td>\n');
	document.write('         <td><img src="../images/navi_line_04.gif" width="1" height="19" alt=""></td>\n');
	document.write('         <td><a href="#"><img src="../images/navi_btn_food.gif" width="125" height="19" border="0" alt="飲食事業部"></a></td>\n');
	document.write('        </tr>\n');
	document.write('      </table>\n');
	document.write('     </td>\n');
	document.write('    </tr>\n');
	document.write('    <tr>\n');
	document.write('     <td background="../images/hdr_06.gif" align="right"><img src="../images/navi_txt.gif" width="223" height="13" alt="DAIICHI HOME CORPORATION"></td>\n');
	document.write('    </tr>\n');
	document.write('   </table>\n');
	document.write('  </td>\n');
	document.write(' </tr>\n');
	document.write('</table>\n');


	}

}
