var NaviCnt = 15;
var Pglink;
if( Pglink == 'i'){
	Linkdir = '.';
}else{
	Linkdir = '..';
}
LinkImg = new Array('<img src="http://raku.homepage.biglobe.ne.jp/biz/images/parts/image/icon_b_ma_01.gif" border="0">','<img src="http://raku.homepage.biglobe.ne.jp/biz/images/parts/image/icon_b_ma_02.gif" border="0">','<img src="http://raku.homepage.biglobe.ne.jp/biz/images/parts/image/icon_b_ma_03.gif" border="0">','<img src="http://raku.homepage.biglobe.ne.jp/biz/images/parts/image/icon_b_ma_04.gif" border="0">','<img src="http://raku.homepage.biglobe.ne.jp/biz/images/parts/image/icon_b_ma_05.gif" border="0">','<img src="http://raku.homepage.biglobe.ne.jp/biz/images/parts/image/icon_b_ma_06.gif" border="0">','<img src="http://raku.homepage.biglobe.ne.jp/biz/images/parts/image/icon_b_ma_07.gif" border="0">','<img src="http://raku.homepage.biglobe.ne.jp/biz/images/parts/image/icon_b_ma_08.gif" border="0">','<img src="http://raku.homepage.biglobe.ne.jp/biz/images/parts/image/icon_b_ma_09.gif" border="0">','','','','','','');
PageID = new Array(Linkdir+'/',Linkdir+'/57416187/',Linkdir+'/41146234/',Linkdir+'/58135073/',Linkdir+'/30375271/',Linkdir+'/71847341/',Linkdir+'/85411912/',Linkdir+'/66360913/',Linkdir+'/12581257/',Linkdir+'//',Linkdir+'//',Linkdir+'//',Linkdir+'//',Linkdir+'//',Linkdir+'//');
PageTitle = new Array('大江ビル矯正歯科[Top]','[Information]','プライベート','クリーン＆セイフティー','セキュリテリィー','アルバム','★ブログ★','Map','リンク','','','','','','');
PageComment = new Array('','','','','','','','','','','','','','','');
document.write('<style>\n');
document.write('.title_td {margin:5px; background-color:#ZZZZZZ; color:#336600; font-size:small; font-weight: bolder; ;}\n');
document.write('.link_td {margin:5px; background-color:66FF00}\n');
document.write('.link_elem {color:#336600; font-size:small; none}\n');
document.write('.comment_elem {color:#FFFFFF; font-size:xx-small; font-style: italic;}\n');
document.write('</style>\n');
var TitleImage = '<img src="'+Linkdir+'/navi_img/7aurawa-dent417dde1a900e0.jpg" border="0">';
var TdTag = '<td valign="top" align="left" nowrap>';
var LinkTag = '<a href="%LINK%"%TARGET%><span class="link_elem">%LINK_TITLE%</span></a><br>\n';
var CommTag = '<span class="comment_elem">%LINK_COMMENT%</span><br>\n';
var ImgTag = '<a href="%LINK%"%TARGET%>%IMG%</a><br>\n';
var Spacer = 'http://raku.homepage.biglobe.ne.jp/biz/images/parts/1pix.gif';
document.write('<table cellspacing="0" cellpadding="0" border="0">\n');
document.write('<tbody>\n');
document.write('<tr>\n');
document.write('<td valign="top" align="left" class="link_td">\n');
document.write('<table cellspacing="0" cellpadding="0" border="0">\n');
document.write('<tbody>\n');
document.write('<tr>\n');
document.write('<td valign="top" align="left" colspan="2" class="title_td">');
if ( TitleImage ) {
	document.write(TitleImage);
}
document.write('</td>\n');
document.write('</tr>\n');
document.write('<tr>\n');
document.write('<td valign="top" align="left" colspan="2" class="title_td"></td>\n');
document.write('</tr>\n');
for ( n=0; n<NaviCnt; n++ ) {
	document.write('<tr>\n');
	var ImgTagOut = '';
	var LinkTagOut = '';
	var CommTagOut = '';
	document.write(TdTag);
	if ( LinkImg[n] ) {
		ImgTagOut = ImgTag.replace('%LINK%',PageID[n]);
		ImgTagOut = ImgTagOut.replace('%IMG%',LinkImg[n]);
		if ( ImgTagOut.indexOf('.php?',0) > 0 ) {
			if ( ImgTagOut.indexOf('tools.php?',0) > 0) {
				ImgTagOut = ImgTagOut.replace('%TARGET%','target="tools_"');
			}else{
				ImgTagOut = ImgTagOut.replace('%TARGET%','target="_blank"');
			}
		} else {
			ImgTagOut = ImgTagOut.replace('%TARGET%','');
		}
		document.write(ImgTagOut);
	}
	document.write('</td>\n');
	document.write(TdTag);
	if ( PageTitle[n] ) {
		LinkTagOut = LinkTag.replace('%LINK%',PageID[n]);
		LinkTagOut = LinkTagOut.replace('%LINK_TITLE%',PageTitle[n]);
		if ( LinkTagOut.indexOf('.php?',0) > 0 ) {
			if ( LinkTagOut.indexOf('tools.php?',0) > 0) {
				LinkTagOut = LinkTagOut.replace('_IMAGE','_TITLE');
				LinkTagOut = LinkTagOut.replace('%TARGET%','target="tools_"');
			}else{
				LinkTagOut = LinkTagOut.replace('%TARGET%','target="_blank"');
			}
		} else {
			LinkTagOut = LinkTagOut.replace('%TARGET%','');
		}
		document.write(LinkTagOut);
	}
	if ( PageComment[n] ) {
		CommTagOut = CommTag.replace('%LINK_COMMENT%',PageComment[n]);
		document.write(CommTagOut);
	}
	document.write('</td>\n');
	document.write('</tr>\n');
}
document.write('</tbody>\n');
document.write('</table>\n');
document.write('</td>\n');
document.write('<td align="left" valign="top"><img src="' + Spacer+ '" width="20" height="1"></td>');

