// ECNETK WebSite header or footer
//						(C)2001.4.26 Writen by Shiba

var imgdir = 'http://www.ecnetk.co.jp/img/';

function header (H_no,H_url1,H_url2)
{
//	document.write('<img width=1 height=1 '
//    + 'src="http://www.ecnetk.co.jp/scripts/ac.pl?ref='
//    + escape(document.referrer) + '&add=1">');
	if (H_no == 1) {
	  document.write('<table width="704" border="0" cellspacing="0" cellpadding="0">'
  		+ '<tr><td width="134">'
  		+ '<img src="' + imgdir + 'header_r1_c1.gif" width="134" height="38" usemap="#Ecmap" border="0">'
  		+ '<map name="Ecmap"><area shape="rect" coords="4,17,131,35" href="' + H_url1 + '"></map></td>'
  		+ '<td width="133" background="' + imgdir + 'header_r1_c2.gif">　</td>'
  		+ '<td width="44"><img src="' + imgdir + 'header_r1_c4.gif" width="44" height="38"></td>'
  		+ '<td width="393"><img src="' + imgdir + 'header_r1_c5.gif" width="388" height="38"></td></tr></table>'
  	);
  }
	if (H_no == 10) {
		document.write('<table border=0 width="100%"><tr><td nowrap>');
		if ( (H_url1 != '') | (H_url2 != '') ) {
			if ( H_url1 != '' ) { document.write('<a href="' + H_url1 + '"><span style="font-size:12pt; font:bold">ホームにもどる</span></a>&nbsp;&nbsp;'); }
			if ( H_url2 != '' ) { document.write('<a href="' + H_url2 + '"><span style-"font-size:12pg; font:bold">もどる</span></a>'); }
		}
		document.write('</td><td align="right"><font color="#666666" style="font-size:12pt; font:bold">');
		document.write("<img width=1 height=1 src='http://www.ecnetk.co.jp/lib/ac/acclog.cgi?");
		document.write("referrer="+document.referrer+"&");
		document.write("width="+screen.width+"&");
		document.write("height="+screen.height+"&");
		document.write("color="+screen.colorDepth+"'>");
		document.write('全国石材店＆霊園･墓石ガイド（墓地・お墓案内）</font></td></tr></table>');
	}
}

function footer ()
{

}
