var C01 = location.href.indexOf('/info/') == -1 ? true : false;
var C02 = location.href.indexOf('/jiyu/') == -1 ? true : false;
var C03 = location.href.indexOf('/gallery/') == -1 ? true : false;
var C04 = location.href.indexOf('/century/') == -1 ? true : false;
var C05 = location.href.indexOf('/fude/') == -1 ? true : false;
var C06 = location.href.indexOf('/sample/') == -1 ? true : false;

function HeaderNavi() {
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">');
	document.write('<tr>');
	document.write('<td width="100%" align="right" valign="top">');
	document.write('<img src="../img/arrow.gif" width="16" height="12" align="top" vspace="1" hspace="2">');
	document.write('<a href="../form/index.html">入会申し込み・資料請求</a>&nbsp;');
	document.write('<img src="../img/arrow.gif" width="16" height="12" align="top" vspace="1" hspace="2">');
	document.write('<a href="javaScript:history.back();">もどる</a>&nbsp;<br>');
	document.write('</td>');
	document.write('</tr>');
	document.write('</table>');
	document.close();
}

function Header() {
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr>');
	document.write('<td align="left" valign="middle">');
	document.write('<a href="/jiyushodo/">');
	document.write('<img src="/jiyushodo/img/logo.gif" width="140" height="40" alt="日本自由書道連盟" hspace="20" border="0"></a><br>');
	document.write('</td>');
	document.write('<td width="300" align="right" valign="top">');
	document.write('<table width="300" border="0" cellspacing="0" cellpadding="0" background="../img/top_bg.jpg">');
	document.write('<tr>');
	document.write('<td width="300" align="right" valign="top">');
	document.write('<a href="/jiyushodo/" onMouseOver="NaviIn(\'home\',1);" onMouseOut="NaviOut(\'home\',0);">');
	document.write('<img src="/jiyushodo/img/home.gif" width="60" height="50" alt="HOME" border="0" name="home"></a><br>');
	document.write('</td>');
	document.write('</tr>');
	document.write('</table>');
	document.write('</td>');
	document.write('</tr>');
	document.write('</table>');
	document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0" background="../img/bginfo.gif">');
	document.write('<tr>');
	document.write('<td width="100%" align="left" valign="top">');
if(!C01){
	document.write('<img src="/jiyushodo/img/navi_info_in.gif" width="105" height="22" alt="入会のご案内" border="0" name="info">');
}else{
	document.write('<a href="/jiyushodo/info/index.html" onMouseOver="NaviIn(\'info\',2);" onMouseOut="NaviOut(\'info\',3);">');
	document.write('<img src="/jiyushodo/img/navi_info_off.gif" width="105" height="22" alt="入会のご案内" border="0" name="info"></a>');
}
if(!C06){
	document.write('<img src="/jiyushodo/img/navi_sample_in.gif" width="105" height="22" alt="手本誌の見本" border="0" name="sample">');
}else{
	document.write('<a href="/jiyushodo/sample/index.html" onMouseOver="NaviIn(\'sample\',12);" onMouseOut="NaviOut(\'sample\',13);">');
	document.write('<img src="/jiyushodo/img/navi_sample_off.gif" width="105" height="22" alt="手本誌の見本" border="0" name="sample"></a>');
}
if(!C02){
	document.write('<img src="/jiyushodo/img/navi_jiyu_in.gif" width="140" height="22" alt="自由書道のご案内" border="0" name="jiyu">');
}else{
	document.write('<a href="/jiyushodo/jiyu/index.html" onMouseOver="NaviIn(\'jiyu\',4);" onMouseOut="NaviOut(\'jiyu\',5);">');
	document.write('<img src="/jiyushodo/img/navi_jiyu_off.gif" width="140" height="22" alt="自由書道のご案内" border="0" name="jiyu"></a>');
}
if(!C03){
	document.write('<img src="/jiyushodo/img/navi_gallery_in.gif" width="90" height="22" alt="添削の実例" border="0" name="gallery">');
}else{
	document.write('<a href="/jiyushodo/gallery/index.html" onMouseOver="NaviIn(\'gallery\',6);" onMouseOut="NaviOut(\'gallery\',7);">');
	document.write('<img src="/jiyushodo/img/navi_gallery_off.gif" width="90" height="22" alt="添削の実例" border="0" name="gallery"></a>');
}
if(!C04){
	document.write('<img src="/jiyushodo/img/navi_century_in.gif" width="190" height="22" alt="100年後の人々への手紙" border="0" name="century">');
}else{
	document.write('<a href="/jiyushodo/century/index.html" onMouseOver="NaviIn(\'century\',8);" onMouseOut="NaviOut(\'century\',9);">');
	document.write('<img src="/jiyushodo/img/navi_century_off.gif" width="190" height="22" alt="100年後の人々への手紙" border="0" name="century"></a>');
}
if(!C05){
	document.write('<img src="/jiyushodo/img/navi_fude_in.gif" width="60" height="22" alt="筆塚" border="0" name="fude">');
}else{
	document.write('<a href="/jiyushodo/fude/index.html" onMouseOver="NaviIn(\'fude\',10);" onMouseOut="NaviOut(\'fude\',11);">');
	document.write('<img src="/jiyushodo/img/navi_fude_off.gif" width="60" height="22" alt="筆塚" border="0" name="fude"></a>');
}
	document.write('<img src="/jiyushodo/img/dot_clear.gif" width="1"><br>');
	document.write('</td>');
	document.write('</tr>');
	document.write('</table>');
	document.close();
}

