

var news_news_disp_num = 5;
var theme_category_disp_num = 20;
var comment_disp_num = 5;
var trackback_disp_num = 5;

function include_design_css(page){
      document.write("<LINK HREF=\"/css/articles.new/illust_cafe.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
      document.write("<script language=\"javascript\" src=\"/articles_jss/blank.js\"></script>");
      document.write("<script language=\"javascript\" src=\"http://cancoffee2.at.webry.info/amazon.js\"></script>");
      document.write("<script language=\"javascript\" src=\"http://webryblog.biglobe.ne.jp/affiliate/rakuten/rakuten_sidebar.js\"></script>");
      document.write("<LINK HREF=\"http://webryblog.biglobe.ne.jp/affiliate/rakuten/rakuten_sidebar.css\" REL=\"stylesheet\" TYPE=\"text/css\">");

      document.write("<LINK HREF=\"/css/articles.new/layout_left3col.new.css\" REL=\"stylesheet\" TYPE=\"text/css\">");

    if (page == "top" || page == "friend" || page == "circle"){
	}

      document.write("<LINK HREF=\"http://cancoffee2.at.webry.info/customize.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
      document.write("<LINK HREF=\"/css/articles.new/fixed.css\" REL=\"stylesheet\" TYPE=\"text/css\">");

      document.write("<style type\"text/css\">");
      document.write("#newcmt{  display: none;  }");
      document.write("</style>");
      document.write("<style type\"text/css\">");
      document.write("#newtbk{  display: none;  }");
      document.write("</style>");
      document.write("<style type\"text/css\">");
      document.write("#categories{  display: none;  }");
      document.write("</style>");
      document.write("<style type\"text/css\">");
      document.write("#newpost{  display: none;  }");
      document.write("</style>");
      document.write("<style type\"text/css\">");
      document.write("#albums{  display: none;  }");
      document.write("</style>");
      document.write("<style type\"text/css\">");
      document.write("#webryseal{  display: none;  }");
      document.write("</style>");
    if (page == "top" || page == "friend" || page == "circle"){
}

if ( (page == "theme") ){
theme_category_disp_num = 50;
}

if ( (page == "month") ){
}
if ( page == null ){
      document.write("<style type\"text/css\">");
      document.write("#postlist blockquote{  display: none;  }");
      document.write("</style>");
}

}

function include_article_css(page){
   component_flg=0;
  if(page == "article"){
      component_flg=1;
    }
    if (component_flg == 1){
      document.write("<LINK HREF=\"/css/articles.new/layout_left3col.new.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
    }else{
      document.write("<LINK HREF=\"/css/articles.new/layout_left3col.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
    }

      
       document.write("<LINK HREF=\"http://cancoffee2.at.webry.info/customize.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
       document.write("<LINK HREF=\"/css/articles.new/fixed.css\" REL=\"stylesheet\" TYPE=\"text/css\">");

      document.write("<script language=\"javascript\" src=\"http://cancoffee2.at.webry.info/amazon.js\"></script>");
      document.write("<script language=\"javascript\" src=\"http://webryblog.biglobe.ne.jp/affiliate/rakuten/rakuten_sidebar.js\"></script>");
      document.write("<LINK HREF=\"http://webryblog.biglobe.ne.jp/affiliate/rakuten/rakuten_sidebar.css\" REL=\"stylesheet\" TYPE=\"text/css\">");


    if (page == "article"){

      document.write("<style type\"text/css\">");
      document.write("#categories{  display: none;  }");
      document.write("</style>");
      document.write("<style type\"text/css\">");
      document.write("#newpost{  display: none;  }");
      document.write("</style>");

      document.write("<style type\"text/css\">");
      document.write("#newcmt{  display: none;  }");
      document.write("</style>");
      document.write("<style type\"text/css\">");
      document.write("#newtbk{  display: none;  }");
      document.write("</style>");
      document.write("<style type\"text/css\">");
      document.write("#albums{  display: none;  }");
      document.write("</style>");
      document.write("<style type\"text/css\">");
      document.write("#webryseal{  display: none;  }");
      document.write("</style>");
}
}

function include_free_space(){
  free_space_disp();
}

function include_free_space_news(){
  free_space_disp();
}

function free_space_disp(){
      document.write("<h2>ケータイ用にコンパクトになった<br>\n");
      document.write("「とりあえずコーヒーを飲もう」</h2>\n");
      document.write("<a href=\"http://userdisk.webry.biglobe.ne.jp/004/146/83/N000/000/001/123609521662016100779_cancoffee2.jpg\" target=\"_blank\"><img src=\"http://userdisk.webry.biglobe.ne.jp/004/146/83/N000/000/001/123609521662016100779_cancoffee2.jpg\" alt=\"携帯「とりあえずコーヒーを飲もう」\" title=\"携帯「とりあえずコーヒーを飲もう」\" />\n");
      document.write("</a>\n");
      document.write("<br>\n");
      document.write("<small>（ケータイ用 URL：<a href=\"http://m.webry.info/at/cancoffee2/index.htm\"  target=\"_blank\">http://m.webry.info/at/cancoffee2/index.htm</a>）</small>\n");
      document.write("\n");
      document.write("\n");
      document.write("<h2>althi 応援バナー</h2>\n");
      document.write("<a href=\"http://www.fonfun.co.jp/ds/aen/?althiweb\" target=\"_blank\">\n");
      document.write("<img class=\"anc\" src=\"http://www.althi.co.jp/mystery/toudou/img/ds/02ds286_71.png\" alt=\"ニンテンドーDS『亜鉛の匣舟　〜相馬邸連続殺人事件〜』公式サイト\" width=\"160\"/>\n");
      document.write("</a>\n");
      document.write("\n");
      document.write("<!--\n");
      document.write("<a target=\"_blank\" href=\"http://www.althi.co.jp/sitelink.cgi?s=acolytesows01mail\"><img border=\"0\" src=\"http://www.althi.co.jp/mystery/acolytes/img/download/banner/banner02_02.png\" alt=\"アドベンチャーゲーム「未解決犯罪捜査班アコライツ」オフィシャルサイト\" width=\"160\"/></a>\n");
      document.write("-->\n");
      document.write("\n");
      document.write("<a target=\"_blank\" href=\"http://www.althi.co.jp/sitelink.cgi?s=acolytesows01mail\"><img border=\"0\" src=\"http://www.althi.co.jp/mystery/acolytes/img/download/banner/banner01_02.png\" alt=\"アドベンチャーゲーム「未解決犯罪捜査班アコライツ」オフィシャルサイト\" width=\"160\"/></a>\n");
      document.write("\n");
      document.write("<a href=\"http://www.fonfun.co.jp/ds/jbmk/\" target=\"_blank\">\n");
      document.write("<img class=\"anc\" src=\"http://www.althi.co.jp/mystery/jb/img/ds/02ds468_60.png\" alt=\"ニンテンドーDS『マンハッタン・レクイエム＆キス・オブ・マーダー』公式サイト\" width=\"160\"/>\n");
      document.write("</a>\n");
      document.write("\n");
      document.write("<!--\n");
      document.write("<a href=\"http://www.althi.co.jp/sitelink.cgi?s=myssele\"><img src=\"http://www.althi.co.jp/img/mystery/mys120-60_br.jpg\" alt=\"ミステリーセレクション\"></a> \n");
      document.write("-->\n");
      document.write("\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("\n");
      document.write("<!-- 新着記事・リスト表示 -->\n");
      document.write("<script type=\"text/javascript\">\n");
      document.write("<!--\n");
      document.write("　var domain1;\n");
      document.write("　function include_news_cus(domain1){\n");
      document.write("  include_news_list(20);\n");
      document.write("\n");
      document.write("　}\n");
      document.write("include_news_cus();\n");
      document.write("// -->\n");
      document.write("</script>\n");
      document.write("<br>\n");
      document.write("<!-- 新着記事・リスト表示 ここまで -->\n");
      document.write("\n");
      document.write("\n");
      document.write("\n");
      document.write("<!-- 新着コメント・リスト表示 -->\n");
      document.write("<script type=\"text/javascript\">\n");
      document.write("<!--\n");
      document.write("　var domain2;\n");
      document.write("　function include_comment_cus(domain2){\n");
      document.write("　  include_comment_list(40);\n");
      document.write("　}\n");
      document.write("  include_comment_cus();\n");
      document.write("// -->\n");
      document.write("</script>\n");
      document.write("<br>\n");
      document.write("<!-- 新着コメント・リスト表示 ここまで-->\n");
      document.write("\n");
      document.write("\n");
      document.write("\n");
      document.write("<!-- テーマ・リスト表示 -->\n");
      document.write("<script type=\"text/javascript\">\n");
      document.write("<!--\n");
      document.write("　var domain3;\n");
      document.write("　function include_theme_cus(domain3){\n");
      document.write("    include_theme_category(39);\n");
      document.write("　}\n");
      document.write("  include_theme_cus();\n");
      document.write("// -->\n");
      document.write("</script>\n");
      document.write("<br>\n");
      document.write("<!-- テーマ・リスト表示 ここまで -->\n");
}

function include_free_space2(){
  free_space2_disp();
}

function include_free_space2_news(){
  free_space2_disp();
}

function free_space2_disp(){
      document.write("<!--\n");
      document.write("<style>\n");
      document.write(" .blue     {color: #0000ff; background: #ffffff; text-decoration: none}\n");
      document.write("</style>\n");
      document.write("-->\n");
      document.write("\n");
      document.write("\n");
      document.write("<!-- ====== Google Analytics ====== -->\n");
      document.write("<script type=\"text/javascript\">\n");
      document.write("var gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\n");
      document.write("document.write(unescape(\"%3Cscript src=\'\" + gaJsHost + \"google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E\"));\n");
      document.write("</script>\n");
      document.write("<script type=\"text/javascript\">\n");
      document.write("var pageTracker = _gat._getTracker(\"UA-5991901-3\");\n");
      document.write("pageTracker._initData();\n");
      document.write("pageTracker._trackPageview();\n");
      document.write("</script>\n");
      document.write("<!-- ====== Google Analytics ====== -->\n");
      document.write("\n");
      document.write("\n");
      document.write("<!-- ====== あとで読む ====== -->\n");
      document.write("<a href=\'http://atode.cc/\' onclick=\'javascript:(function(){var s=document.createElement(\"scr\"+\"ipt\");s.charset=\"UTF-8\";s.language=\"javascr\"+\"ipt\";s.type=\"text/javascr\"+\"ipt\";var d=new Date;s.src=\"http://atode.cc/bjs.php?d=\"+d.getMilliseconds();document.body.appendChild(s)})();return false;\'><span class=\"blue\">[あとで読む]</span></a>\n");
      document.write("\n");
      document.write("<a href=\'http://atode.cc/\' onclick=\'javascript:(function(){var s=document.createElement(\"scr\"+\"ipt\");s.charset=\"UTF-8\";s.language=\"javascr\"+\"ipt\";s.type=\"text/javascr\"+\"ipt\";var d=new Date;s.src=\"http://atode.cc/bjs.php?d=\"+d.getMilliseconds();document.body.appendChild(s)})();return false;\'><img src=\"http://atode.cc/img/iconnja.gif\" alt=\"あとで読む\" border=\"0\" align=\"absmiddle\" width=\"66\" height=\"20\"></a>\n");
      document.write("\n");
      document.write("<br>\n");
      document.write("<a href=\"http://atode.cc/\"  target=\"_blank\">\n");
      document.write("<span class=\"blue\">[あとで読む] を利用するには？</span>\n");
      document.write("</a>\n");
      document.write("<br>\n");
      document.write("<br>\n");
      document.write("<!-- ====== End of あとで読む ====== -->\n");
      document.write("\n");
      document.write("<!-- Google 翻訳で，このサイトを翻訳する -->\n");
      document.write("<div id=\"google_translate_element\"></div><script>\n");
      document.write("function googleTranslateElementInit() {\n");
      document.write("  new google.translate.TranslateElement({\n");
      document.write("    pageLanguage: \'ja\'\n");
      document.write("  }, \'google_translate_element\');\n");
      document.write("}\n");
      document.write("</script><script src=\"http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit\"></script>\n");
      document.write("<br>\n");
      document.write("<br>\n");
      document.write("<!-- Google 翻訳で，このサイトを翻訳する ここまで -->\n");
      document.write("\n");
      document.write("\n");
      document.write("\n");
      document.write("<h2>Google で<br>このサイト内を検索</h2>\n");
      document.write("<!-- Begin Google Form -->\n");
      document.write("<form method=\"GET\" action=\"http://www.google.co.jp/search\">\n");
      document.write("<input type=\"text\" name=\"q\" size=20 value=\"\">\n");
      document.write("<input type=\"submit\" name=\"btnG\" value=\"検索\">\n");
      document.write("<input type=\"hidden\" name=\"hl\" value=\"ja\">\n");
      document.write("<input type=\"hidden\" name=\"sitesearch\" value=\"cancoffee2.at.webry.info\">\n");
      document.write("<input type=\"hidden\" name=\"ie\" value=\"Shift_JIS\">\n");
      document.write("<input type=\"hidden\" name=\"oe\" value=\"Shift_JIS\">\n");
      document.write("</form>\n");
      document.write("<!-- END Google Form -->\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("\n");
      document.write("<h2>Bing で<br>このサイト内を検索</h2>\n");
      document.write("<form method=\"GET\" action=\"http://www.bing.com/search\">\n");
      document.write("<input type=\"text\" name=\"q\" size=20 value=\"\">\n");
      document.write("<input type=\"submit\" name=\"btnB\" value=\"検索\">\n");
      document.write("<input type=\"hidden\" name=\"form\" value=\"QBRE\">\n");
      document.write("<input type=\"hidden\" name=\"filt\" value=\"all\">\n");
      document.write("<input type=\"hidden\" name=\"q1\" value=\"site:cancoffee2.at.webry.info\"/> \n");
      document.write("<input type=\"hidden\" name=\"cp\" value=\"932\"/> \n");
      document.write("</form>\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("\n");
      document.write("<h2>おぼえがき</h2>\n");
      document.write("<!-- Amazon 配送料無料 -->\n");
      document.write("<iframe src=\"http://rcm-jp.amazon.co.jp/e/cm?t=amazonoike-22&o=9&p=9&l=ur1&category=amazoncampaign&banner=1DM7T473CN8RAGXTNFR2&f=ifr\" width=\"180\" height=\"150\" scrolling=\"no\" border=\"0\" marginwidth=\"0\" style=\"border:none;\" frameborder=\"0\"></iframe>\n");
      document.write("<!-- Amazon 配送料無料 ここまで -->\n");
      document.write("<br>\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("\n");
      document.write("<h2>グーバーウォーク</h2>\n");
      document.write("<!-- グーバーウォーク -->\n");
      document.write("<script src=\"http://widget.blogram.jp/blogparts/gooberWalk?uid=54791\" type=\"text/javascript\" charset=\"UTF-8\"></script>\n");
      document.write("<!-- グーバーウォーク ここまで -->\n");
      document.write("<br>\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("<!-- 気持玉ランキング -->\n");
      document.write("<h2>今月記事の気持玉ランキング</h2>\n");
      document.write("<iframe src=\"http://noike.info/~kenzi/cgi-bin/tamaran/tamaran.cgi?url=http://cancoffee2.at.webry.info&top=100&bsd=30\" width=\"160\" height=\"360\">\n");
      document.write("</iframe>\n");
      document.write("<!-- 気持玉ランキング ここまで -->\n");
      document.write("\n");
      document.write("\n");
      document.write("<!-- だじゃれランダム表示 -->\n");
      document.write("<h2> だじゃれランダム表示 </h2>\n");
      document.write("<iframe src=\"http://noike.info/~kenzi/cgi-bin/1noike/1noike_mini.cgi\"\n");
      document.write("Scrolling=\"auto\"\n");
      document.write("width=\"160\"\n");
      document.write("height=\"64\"\n");
      document.write("marginheight=\"4\"\n");
      document.write("marginwidth=\"4\"\n");
      document.write(">\n");
      document.write("<a href=\"http://noike.info/~kenzi/cgi-bin/1noike/1noike_mini.cgi\">表示されないときは，ここをクリックしてください．</a>\n");
      document.write("</iframe>\n");
      document.write("<br>\n");
      document.write("<br>\n");
      document.write("<!-- だじゃれランダム表示 ここまで -->\n");
      document.write("\n");
      document.write("\n");
      document.write("<!-- ====== 去年のオイラ ====== -->\n");
      document.write("<h2> n 年前の私</h2>\n");
      document.write("<iframe src=\"http://noike.info/~kenzi/cgi-bin/oiraly/oiraly.cgi?url=http://cancoffee2.at.webry.info&fs=1&bs=1&bsy=10&nat=(書き休暇)\"  width=\"160\" height=\"480\">\n");
      document.write("</iframe>\n");
      document.write("<br>\n");
      document.write("<br>\n");
      document.write("<!-- ====== End of 去年のオイラ ====== -->\n");
      document.write("\n");
      document.write("\n");
      document.write("<!-- ============================================================= -->\n");
      document.write("<h2><span style=\"color: #000000; background: #fff0f5\"> 聴く音楽の傾向  </span></h2>\n");
      document.write("<a href=\"http://www.last.fm\"  target=\"_blank\">\n");
      document.write("<img src=\"http://static.last.fm/media/lastfm_anijabanner.gif\"  height=\"15\" width=\"80\" alt=\"Last.fm Antipixel Banner\" style=\"vertical-align: middle\"/>\n");
      document.write("</a>\n");
      document.write("\n");
      document.write("<iframe src=\"http://noike.info/~kenzi/cgi-bin/lfls/lfls.php?user=knoike&mode=rt&time=ago&now=10&cssfile=http://noike.info/~kenzi/cgi-bin/lfls/cancoffee2.css\"  width=\"160\" height=\"800\">\n");
      document.write("<a href=\"http://noike.info/~kenzi/cgi-bin/lfls/lfls.php?user=knoike&mode=rt&time=ago&now=10&cssfile=http://noike.info/~kenzi/cgi-bin/lfls/cancoffee2.css\">表示されないときは，ここをクリックしてください．</a>\n");
      document.write("</iframe>\n");
      document.write("\n");
      document.write("<br>\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("\n");
      document.write("<h2> 自作のユーティリティ </h2>\n");
      document.write("<ul>\n");
      document.write(" <li>\n");
      document.write("  <a href=\"http://noike.info/~kenzi/cgi-bin/smf2mp3/\" target=\"_blank\">\n");
      document.write("  <span class=\"blue\">SMF to MP3 with ぼーか郎</span>\n");
      document.write("  </a>\n");
      document.write(" </li>\n");
      document.write("\n");
      document.write(" <li>\n");
      document.write("  <a href=\"http://noike.info/~kenzi/cgi-bin/mml2mp3/\" target=\"_blank\">\n");
      document.write("  <span class=\"blue\">MML to MP3 with ぼーか郎</span>\n");
      document.write("  </a>\n");
      document.write(" </li>\n");
      document.write(" \n");
      document.write(" <li>\n");
      document.write("  <a href=\"http://noike.info/~kenzi/cgi-bin/xml2mp3/\" target=\"_blank\">\n");
      document.write("  <span class=\"blue\">MusicXML to MP3 with ぼーか郎</span>\n");
      document.write("  </a>\n");
      document.write(" </li>\n");
      document.write("\n");
      document.write(" <li>\n");
      document.write("  <a href=\"http://noike.info/~kenzi/cgi-bin/1noike/\" target=\"_blank\">\n");
      document.write("  <span class=\"blue\">だじゃれランダム表示プログラム \"1noike の爆弾\"</span>\n");
      document.write("  </a>\n");
      document.write(" </li>\n");
      document.write("\n");
      document.write(" <li>\n");
      document.write("  <a href=\"http://noike.info/~kenzi/cgi-bin/omikuzi/\" target=\"_blank\">\n");
      document.write("  <span class=\"blue\">できごとおみくじ</span>\n");
      document.write("  </a>\n");
      document.write(" </li>\n");
      document.write("\n");
      document.write(" <li>\n");
      document.write("  <a href=\"http://noike.info/~kenzi/cgi-bin/lfls/index.html\" target=\"_blank\">\n");
      document.write("  <span class=\"blue\">lfls.php -- Last.fm listing</span>\n");
      document.write("  </a>\n");
      document.write(" </li>\n");
      document.write("\n");
      document.write(" <li>\n");
      document.write("  <a href=\"http://noike.info/~kenzi/cgi-bin/han2csa/\" target=\"_blank\">\n");
      document.write("  <span class=\"blue\">棋譜ファイル・コンバータ「Hangame 将棋弐 to CSA（KIF to CSA）」</span>\n");
      document.write("  </a>\n");
      document.write(" </li>\n");
      document.write("\n");
      document.write(" <li>\n");
      document.write("  <a href=\"http://noike.info/~kenzi/cgi-bin/kifujin/kifujin.html\" target=\"_blank\">\n");
      document.write("  <span class=\"blue\">棋譜投稿掲示板 - 棋譜人 -</span>\n");
      document.write("  </a>\n");
      document.write(" </li>\n");
      document.write("\n");
      document.write("</ul>\n");
      document.write("\n");
      document.write("<br>\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("\n");
      document.write("<!-- Lapis アクセス解析 -->\n");
      document.write("<script type=\"text/javascript\" src=\"http://noike.info/~kenzi/lapis/tracker.js\" charset=\"UTF-8\"></script> \n");
      document.write("<div id=\"tracker\" style=\"position:absolute;visibility:hidden;\">\n");
      document.write("<script type=\"text/javascript\">sendData();</script>\n");
      document.write("<noscript>\n");
      document.write("<img src=\"http://noike.info/~kenzi/lapis/write.php/img/\" width=\"0\" height=\"0\" alt=\"tracker\">\n");
      document.write("</noscript>\n");
      document.write("</div> \n");
}
function include_message(){
      message_disp();
}
function include_message_news(){
      message_disp();
}
function message_disp(){
      document.write('<h2>メッセージ</h2>' + "\n");
      document.write('<form method="POST" action="https://bblog.sso.biglobe.ne.jp/ap/tool/newmessageeditdisplay.do">' + "\n");
      document.write('<input type="image" src="/images/article/btn_sendmsg.gif" onclick="this.form" />' + "\n");
      document.write('<input type="hidden" name="domain" value="cancoffee2.at.webry.info">' + "\n");
      document.write('</form>' + "\n");
}
function include_news_webry_seal(){
}
function include_amazon_affiliate(){
      document.write('<div style="text-align:left; border:none; padding: 0px;">');
      document.write('<h2>Amazon.co.jp</h2>');
      document.write('<div style="margin:auto; width:120px; text-align:left; border:none; padding: 5px;">');
      amazon_affiliate_disp();
      document.write('</div></div>');
}
function include_amazon_affiliate_news(){
      document.write('<div style="text-align:left; border:none; padding: 0px;">');
      document.write('<h2>Amazon.co.jp</h2>');
      document.write('<div style="margin:auto; width:120px; text-align:left; border:none; padding: 5px;">');
      amazon_affiliate_disp();
      document.write('</div></div>');
}
function amazon_affiliate_disp(){
}
function include_qr_code(){
      document.write("<style type\"text/css\">");
      document.write("#qrcode{  display: none;  }");
      document.write("</style>");
}
function include_qr_code_news(){
      document.write("<style type\"text/css\">");
      document.write("#qrcode{  display: none;  }");
      document.write("</style>");
}
function qrcode_disp(){
}
function include_temiru(){
      document.write("<style type\"text/css\">");
      document.write("#temiru{  display: none;  }");
      document.write("</style>");
}
function include_temiru_news(){
      document.write("<style type\"text/css\">");
      document.write("#temiru{  display: none;  }");
      document.write("</style>");
}
function temiru_back_btn_disp(){
      document.write('<h2>temiru.jp</h2>' + "\n");
      document.write('<scr' + 'ipt type="text/javascript" src="http://www.temiru.jp/blog/index.js"></scr' + 'ipt>');
}
function include_rakuten_affiliate(){
      document.write('<div style="text-align:left; border:none; padding: 0px;">');
      document.write('<h2>Rakuten.co.jp</h2>');
      document.write('<div style="margin:auto; width:150px; text-align:left; border:none; padding: 0px;">');
      rakuten_affiliate_disp();
      document.write('</div></div>');
}
function include_rakuten_affiliate_news(){
      document.write('<div style="text-align:left; border:none; padding: 0px;">');
      document.write('<h2>Rakuten.co.jp</h2>');
      document.write('<div style="margin:auto; width:150px; text-align:left; border:none; padding: 0px;">');
      rakuten_affiliate_disp();
      document.write('</div></div>');
}
function rakuten_affiliate_disp(){

webryblog_rakuten_affiliate_id = "0850fc70.293d4771.0850fc71.f6c1a0bc";


webryblog_rakuten_affiliate_image_flag = 1;
webryblog_rakuten_affiliate_itemnum = 1;

document.write('<scr' + 'ipt type="text/javascript" src="http://webryblog.biglobe.ne.jp/affiliate/rakuten/js/genre/101164.js" charset="UTF-8" ></scr' + 'ipt>');

document.write('<img src="http://go.biglobe.ne.jp/md/vt/002075/rakuten_sidebar/" width=1 height=1>');
}

function include_compo(type) {
    switch (type){
      case 1:
        // フリースペース２
        document.write("<div id=\"freespace2\">\n");
        include_free_space2_news();
        break;
      case 2:
        // Amazonアフィリエイト
        document.write('<div id="amazonaffiliate" style="text-align:center;">');
        include_amazon_affiliate_news();
        break;
      case 3:
        // 楽天アフィリエイト
        document.write("<div id=\"rakutenaffiliate\" style=\"text-align:center;\">\n");
        include_rakuten_affiliate_news();
        break;
      case 4:
        // QRコード
        document.write("<div id=\"qrcode\">\n");
        include_qr_code_news();
        break;
      case 5:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 6:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 7:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 8:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 9:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 10:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 11:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 12:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 13:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 14:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 15:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 16:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 17:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 18:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 19:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 20:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
    }
}

function include_compo_left(type) {
    switch (type){
      case 1:
        // カレンダー
        document.write("<div id=\"calendar\">\n");
        include_calendar();
        break;
      case 2:
        // フリースペース
        document.write("<div id=\"freespace\">\n");
        include_free_space_news();
        break;
      case 3:
        // 新着記事
        document.write("<div id=\"newpost\">\n");
        include_news_list(news_news_disp_num);
        break;
      case 4:
        // 新着コメント
        document.write("<div id=\"newcmt\">\n");
        include_comment_list(comment_disp_num);
        break;
      case 5:
        // テーマ
        document.write("<div id=\"categories\">\n");
        include_theme_category(theme_category_disp_num);
        break;
      case 6:
        // 新着トラックバック
        document.write("<div id=\"newtbk\">\n");
        include_trackback_list(trackback_disp_num);
        break;
      case 7:
        // プライベートメッセージ
        document.write("<div id=\"message\">\n");
        include_message_news();
        break;
      case 8:
        // ウェブリアルバム
        document.write("<div id=\"albums\">\n");
        include_album();
        break;
      case 9:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 10:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 11:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 12:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 13:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 14:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 15:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 16:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 17:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 18:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 19:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 20:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
    }
}

function include_compo_top(type) {
    switch (type){
      case 1:
        // フリースペース２
        document.write("<div id=\"freespace2\">\n");
        include_free_space2();
        break;
      case 2:
        // Amazonアフィリエイト
        document.write('<div id="amazonaffiliate" style="text-align:center;">');
        include_amazon_affiliate();
        break;
      case 3:
        // 楽天アフィリエイト
        document.write("<div id=\"rakutenaffiliate\" style=\"text-align:center;\">\n");
        include_rakuten_affiliate();
        break;
      case 4:
        // QRコード
        document.write("<div id=\"qrcode\">\n");
        include_qr_code();
        break;
      case 5:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 6:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 7:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 8:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 9:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 10:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 11:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 12:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 13:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 14:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 15:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 16:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 17:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 18:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 19:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 20:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
    }
}

function include_compo_top_left(type) {
    switch (type){
      case 1:
        // カレンダー
        document.write("<div id=\"calendar\">\n");
        include_calendar();
        break;
      case 2:
        // フリースペース
        document.write("<div id=\"freespace\">\n");
        include_free_space();
        break;
      case 3:
        // 新着記事
        document.write("<div id=\"newpost\">\n");
        include_news_list(news_news_disp_num);
        break;
      case 4:
        // 新着コメント
        document.write("<div id=\"newcmt\">\n");
        include_comment_list(comment_disp_num);
        break;
      case 5:
        // テーマ
        document.write("<div id=\"categories\">\n");
        include_theme_category(theme_category_disp_num);
        break;
      case 6:
        // 新着トラックバック
        document.write("<div id=\"newtbk\">\n");
        include_trackback_list(trackback_disp_num);
        break;
      case 7:
        // プライベートメッセージ
        document.write("<div id=\"message\">\n");
        include_message();
        break;
      case 8:
        // ウェブリアルバム
        document.write("<div id=\"albums\">\n");
        include_album();
        break;
      case 9:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 10:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 11:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 12:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 13:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 14:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 15:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 16:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 17:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 18:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 19:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 20:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
    }
}