function writeHead() {
document.write('<title>' + YTitle +' - 個別記事表示</title>');
return;
}


function writeTop() {
var str = 'abc';
document.write('<table boder="0"><tr><td valign="top">');

str = '	<a href=\"' + Direct() + YC0 + '\" target=\"_blank\">発行: ' + YDate + '</a>';

document.write(str);
document.write('　　　');
return;
}


function Direct() {
var inw2 = 'http://mkynet.hp.infoseek.co.jp/webcic/lib/inw2/';
var inw3 = 'http://www.h5.dion.ne.jp/~wing-x/ezhtml/inw3/';

if (YC0.indexOf('za2') != -1) {
  return inw2;
}

if ( (YDate.indexOf('2003') != -1)||(YDate.indexOf('2004') != -1) ) {
  return inw2;
} else if (YDate.indexOf('2005') != -1) {
  if (  (YDate.indexOf('11月') != -1)
      ||(YDate.indexOf('12月') != -1)
     ) {
    return inw3;
  }
  if (  (YDate.indexOf('1月') != -1)
      ||(YDate.indexOf('2月') != -1)
      ||(YDate.indexOf('3月') != -1)
      ||(YDate.indexOf('4月') != -1)
      ||(YDate.indexOf('5月') != -1)
     ) {
    return inw2;
  }
}

return inw3;
}


function writeTop2() {
document.write('</td><td>');
indx = 'iswebg';
dflt = '';
kensaku='無窮ナレッジサーチ';
tbcolor='white';
width='400';
Sch='<form action=\"http://f56.aaa.livedoor.jp/~hawkeye/cgi-bin/msearch/msearch.cgi\" accept-charset=\"x-euc-jp\" target=\"_blank\"><input type=\"hidden\" name=\"index\" value=\"' + indx + '\"><table bgcolor=\"' + tbcolor +'\" width=\"' + width +'\"><tr><td align=\"center\"><input type=\"text\" name=\"query\" size=\"20\"value=\"' + dflt + '\"> <input type=\"submit\" value=\"' + kensaku + '\"> <INPUT TYPE=\"reset\" value=\"消\"> <a href=\"http://f56.aaa.livedoor.jp/~hawkeye/cgi-bin/msearch/msearch.cgi?index=' + indx + '\" target=\"_blank\"><font size=2>help</font></a></td></tr></table><input type=\"hidden\" name=\"hint\" value=\"漢字コード判定用文字列\"></form>';
document.write(Sch);
document.write('</td></tr><tr><td colspan="2">');
return;
}


function writeTop3() {
document.write('</td></tr></table>');
return;
}


function writeBottom() {
YC0_mem = YC0;
YC0_page = YC0;
while (YC0_mem.search('#') != -1){
  YC0_mem= YC0_mem.replace('#','%23') ;
}
YC0_page = YC0_page.slice(0, -2);

document.write('<table border=\"0\"><tr><td valign=\"top\"><a name=\"nhm\"></a>・<br><img src=\"../g_dat/s1x1.gif"\ width=\"1\" height=\"160\"><br><a name=\"la\"></a>・<br><img src=\"../g_dat/s1x1.gif"\ width=\"1\" height=\"860\"><br><a name=\"book\"></a>・</td><td>');
document.write('<table border=\"1\" bordercolor=\"#d6dff7\"><tr><td><iframe src=\"http://homepage2.nifty.com/mukyu/sys/la/la_window_multi.html?' + YC0_mem +'\" width=\"650\" height=\"1500\" scrolling=no frameborder=\"0\" border=\"0\" style=\"border:none;\" name=\"plus\"></iframe></td></tr></table>');
document.write('</td><td align=\"left\" valign=\"top\">');
document.write('　付加機能インデックス：<ul><li><a href=\"#nhm\">人工司書見習いのコメント</a></li><li><a href=\"#la\">関連記事案内</a></li><li><a href=\"#book\">関連書籍</a></li><li><a href=\"#contempo\">同時期に書かれた記事</a></li></ul>');
document.write('<ul><li><a href=\"http://homepage2.nifty.com/mukyu/takagi-1/\" target=\"_blank\">管理人プロフィール</a></li></ul>');
document.write('</td></tr></table>');
document.write('　<br><a name=\"contempo\"></a>・同時期に書かれた記事');
document.write('<table border=\"1\" bordercolor=\"#d6dff7\" width=\"80%\"><tr><td><iframe src=\"' + Direct() + YC0_page + '\" width=\"100%\" height=\"4000\" scrolling=auto frameborder=\"0\" border=\"0\" style=\"border:none;\"></iframe></td></tr></table>');
document.write('　<hr><center>&copy; <a href=\"http://homepage2.nifty.com/mukyu/takagi-1/\" target=\"_blank\">TAKAGI-1</a></center>');
return;
}


function writeWALink(url) {
url2 = url;
while (url2.search('#') != -1){
  url2= url2.replace('#','%23') ;
}
WALink='<sup>*</sup><font size=\"-1\"><a href=\"http://b.hatena.ne.jp/entry/' + url2 + '\" target=\"_blank\">はてなブクマ</a></font> <font color=\"blue\" size=\"-1\">保存庫</font><a href=\"http://www.h5.dion.ne.jp/~wing-x/kansai/lib/develop/linkto_wa.html\" target=\"_blank\" title=\"Help\">?</a>(<a href=\"http://web.archive.org/web/*/' + url + '\" target=\"_blank\">wayback</a>-<a href=\"http://www.google.com/search?hl=ja\&q=cache:' + url + '\" target=\"_blank\">GoogleCache</a>)';
document.write(WALink);
return;
}