

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/random_cloud_n.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
      document.write("<script language=\"javascript\" src=\"/articles_jss/blank.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_center3col.new.css\" REL=\"stylesheet\" TYPE=\"text/css\">");

    if (page == "top" || page == "friend" || page == "circle"){
	}


      document.write("<style type\"text/css\">");
      document.write("#albums{  display: none;  }");
      document.write("</style>");
      document.write("<style type\"text/css\">");
      document.write(".themetabs{  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"){
    }
    if (component_flg == 1){
      document.write("<LINK HREF=\"/css/articles.new/layout_centerL.new.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
    }else{
      document.write("<LINK HREF=\"/css/articles.new/layout_centerL.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("#calendar{  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>");
      document.write("<style type\"text/css\">");
      document.write(".themetabs{  display: none;  }");
      document.write("</style>");
}
}

function include_free_space(){
  free_space_disp();
}

function include_free_space_news(){
      document.write("<style type\"text/css\">");
      document.write("#freespace{  display: none;  }");
      document.write("</style>");
}

function free_space_disp(){
      document.write("<h2>TEAM NACSが大好き</h2>\n");
      document.write("<ul>\n");
      document.write("<li><a href=\"http://www.office-cue.com/\">@CREATIVE OFFICE CUE</a></li>\n");
      document.write("<li><a href=\"http://www.htb.co.jp/suidou/\">A水曜どうでしょう</a></li>\n");
      document.write("<li><a href=\"http://www.htb.co.jp/suzuinosu/\">Bドラバラ鈴井の巣</a></li>\n");
      document.write("<li><a href=\"http://www.htb.co.jp/hanatare/\">Cハナタレナックス</a></li>\n");
      document.write("<li><a href=\"http://www.stv.ne.jp/tv/chibinacs/index.html\">Dチビナックス</a></li>\n");
      document.write("<li><a href=\"http://www.stv.ne.jp/tv/yoyo/index.html\">E1×8行こうよ!</a></li>\n");
      document.write("<li><a href=\"http://www.teamnacs.com/index.html\">FTEAM NACS</a></li>\n");
      document.write("<li><a href=\"http://www.fujitv.co.jp/abarenbou-mama/index2.html\">G暴れん坊ママ</a></li>\n");
      document.write("</ul>\n");
      document.write("<h2>とりあえず足跡を残すサイト</h2>\n");
      document.write("<ul>\n");
      document.write("<li><a href=\"http://mixi.jp/home.pl\">mixi</a></li>\n");
      document.write("<li><a href=\"http://auctions.yahoo.co.jp/\">Yahoo! オークション</a></li>\n");
      document.write("<li><a href=\"http://www.office-cue.com/manpin/blog/\">まんぴんブログ</a></li>\n");
      document.write("<li><a href=\"http://www.htb.co.jp/goods/index.html\">南平岸ユメミル工房</a></li>\n");
      document.write("<li><a href=\"http://mycasty.jp/license_fujiwara/\">ライセンス藤原のブログ</a></li>\n");
      document.write("</ul>\n");
      document.write("<h2>マイコレクション</h2>\n");
      document.write("<ul>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=43&item_id=88\">水曜どうでしょうDVD第一弾「原付ベトナム縦断１８００キロ」: DVD</a></li>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=43&item_id=90\">水曜どうでしょうDVD第二弾「サイコロ1・粗大ゴミで家を作ろう・闘痔の旅」:DVD</a></li>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=43&item_id=10972\">水曜どうでしょうDVD第七弾｢ヨーロッパ21カ国完全制覇｣:DVD</a></li>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=43&item_id=39680\">水曜どうでしょうDVD第八弾｢激闘!西表島｣:DVD</a></li>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=43&item_id=63235\">水曜どうでしょうDVD第九弾｢北海道212市町村カントリーサインの旅U/サイコロ4〜日本列島完全制覇〜｣:DVD</a></li>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=46&item_id=151\">水曜天幕團DVD｢蟹頭十郎太｣:DVD</a></li>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=45&item_id=169\">ドラバラ鈴井の巣DVD第4弾｢山田家の人々｣: DVD</a></li>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=0&item_id=12951\">ドラバラ鈴井の巣DVD第6弾｢VS〜禁断の対決企画〜｣: DVD</a></li>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=0&item_id=35380\">ドラバラ鈴井の巣DVD第7弾 「なんてったってアイドル！」: DVD</a></li>\n");
      document.write("<li><a href=\"http://www.teamnacs.com/chronology/history/history_05.html\">LETTER〜変わり続けるベクトルの障壁〜: DVD</a></li>\n");
      document.write("<li><a href=\"http://www.teamnacs.com/chronology/history/history_05.html\">RECOVER〜描きつづけるもうひとつの結論〜:DVD</a></li>\n");
      document.write("<li><a href=\"http://www.teamnacs.com/chronology/history/history_05.html\">FEVER〜眺め続けた展望の行方〜: DVD</a></li>\n");
      document.write("<li><a href=\"http://www.cue-products.com/shohin_detail.php?cateid=1&subid=4&itemid=17&page=1\">COMPOSER 〜響き続ける旋律の調べ: DVD</a></li>\n");
      document.write("<li><a href=\"http://www.cue-products.com/shohin_detail.php?cateid=1&subid=4&itemid=210&page=1\">HONOR 〜守り続けた痛みと共に: DVD</a></li>\n");
      document.write("<li><a href=\"http://www.cue-products.com/shohin_detail.php?cateid=1&subid=1&itemid=22&page=1\">100%スープカレー: DVD</a></li>\n");
      document.write("<li><a href=\"http://www.htb.co.jp/hanatare/\">ハナタレナックス（1〜30、97〜101回）: DVD</a></li>\n");
      document.write("<li><a href=\"http://www.cue-products.com/shohin_detail.php?cateid=pickup&itemid=127\">チビナックスDVD完全版: DVD</a></li>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=232&item_id=42907\">CUE DREAM JAM-BOREE 2006「再会」: DVD</a></li>\n");
      document.write("<li><a href=\"http://www.stv.ne.jp/tv/yoyo/dvd/index.html\">DVDの1×8いこうよ!: DVD</a></li>\n");
      document.write("<li><a href=\"http://www.cue-products.com/shohin_detail.php?cateid=2&subid=&itemid=33&page=1\">ドラバラ「なんてったってアイドル !」: CD</a></li>\n");
      document.write("<li><a href=\"http://www.cue-products.com/shohin_detail.php?cateid=2&subid=&itemid=31&page=1\">ドラバラコンプリート: CD</a></li>\n");
      document.write("<li><a href=\"http://www.cue-products.com/shohin_detail.php?cateid=2&subid=&itemid=29&page=1\">COMPOSER オリジナルサウンドトラック: CD</a></li>\n");
      document.write("<li><a href=\"http://www.cue-products.com/shohin_detail.php?cateid=2&subid=&itemid=32&page=1\">ナックスハリケーン/捻挫した君: CD</a></li>\n");
      document.write("<li><a href=\"http://www.cue-products.com/shohin_detail.php?cateid=2&subid=&itemid=28&page=1\">CUE DREAM JAM-BOREE 2006「再会」: CD</a></li>\n");
      document.write("<li><a href=\"http://www.amazon.co.jp/exec/obidos/ASIN/B0001JZPCS/qid=1141711427/sr=1-2/ref=sr_1_2_2/503-6241761-8476763\">本日のスープ: CD</a></li>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=0&item_id=4337\">水曜どうでしょう写真集2: 本</a></li>\n");
      document.write("<li><a href=\"http://www.cue-products.com/shohin_detail.php?cateid=3&subid=&itemid=39&page=1\">鈴井貴之編集長 大泉洋: 本</a></li>\n");
      document.write("<li><a href=\"http://www.cue-products.com/shohin_detail.php?cateid=5&subid=15&itemid=112&page=1\">TEAM NACS 10th ANNIVERSARY BOOK「TEAM NACS TEN」: 本</a></li>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=0&item_id=58714\">水曜どうでしょう本　創刊号：本</a></li>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=50&item_id=103\">水曜どうでしょう本　第2号：本</a></li>\n");
      document.write("<li><a href=\"http://www.htbshop.jp/shop/item_detail?category_id=43&item_id=67202\">水曜どうでしょう　藤村・嬉野 本日の日記 2002年7月〜2003年3月：本</a></li>\n");
      document.write("<li><a href=\"http://www.soupcurry.jp/pc/\">本日のスープカレーのスープ: 食品</a></li>\n");
      document.write("</ul>\n");
}

function include_free_space2(){
  free_space2_disp();
}

function include_free_space2_news(){
      document.write("<style type\"text/css\">");
      document.write("#freespace2{  display: none;  }");
      document.write("</style>");
}

function free_space2_disp(){
      document.write("<h2>お友達のブログ</h2>\n");
      document.write("<ul>\n");
      document.write("<li><a href=\"http://yaplog.jp/aka10ne/\">茜ちゃんのブログ</a></li>\n");
      document.write("<li><a href=\"http://blog.livedoor.jp/chika27560/?blog_id=2003331\">ちかちゃんのブログ</a></li>\n");
      document.write("<li><a href=\"http://yaplog.jp/fumiko526/\">史ちゃんのブログ</a></li>\n");
      document.write("<li><a href=\"http://blog.livedoor.jp/assist522/\">高橋君のブログ</a></li>\n");
      document.write("</ul>\n");
}
function include_message(){
      message_disp();
}
function include_message_news(){
      document.write("<style type\"text/css\">");
      document.write("#message{  display: none;  }");
      document.write("</style>");
}
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="kassu-de-blog.at.webry.info">' + "\n");
      document.write('</form>' + "\n");
}
function include_news_webry_seal(){
}
function include_amazon_affiliate(){
      document.write("<style type\"text/css\">");
      document.write("#amazonaffiliate{  display: none;  }");
      document.write("</style>");
}
function include_amazon_affiliate_news(){
      document.write("<style type\"text/css\">");
      document.write("#amazonaffiliate{  display: none;  }");
      document.write("</style>");
}
function amazon_affiliate_disp(){
}
function include_qr_code(){
      qrcode_disp();
}
function include_qr_code_news(){
      document.write("<style type\"text/css\">");
      document.write("#qrcode{  display: none;  }");
      document.write("</style>");
}
function qrcode_disp(){
      document.write('<h2>このブログを携帯で読む</h2>' + "\n");
      document.write('<div style="text-align:center">' + "\n");
      document.write('<img src="http://kassu-de-blog.at.webry.info/blogtop_qr.png" width="100" height="100" vspace="3" alt="QRコード" class="border" /><br>' + "\n");
      document.write('<a href="mailto:?subject=mobile webryblog&amp;body=http://kassu-de-blog.at.webry.info/">携帯にメールを送る</a>' + "\n");
      document.write('</div>' + "\n");
}
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("<style type\"text/css\">");
      document.write("#rakutenaffiliate{  display: none;  }");
      document.write("</style>");
}
function rakuten_affiliate_disp(){

webryblog_rakuten_affiliate_id = "07e783ad.7281cd72.07e783ae.01fd4688";


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/totalrank.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=\"calendar\">\n");
        include_calendar();
        break;
      case 2:
        // フリースペース２
        document.write("<div id=\"freespace2\">\n");
        include_free_space2_news();
        break;
      case 3:
        // 新着コメント
        document.write("<div id=\"newcmt\">\n");
        include_comment_list(comment_disp_num);
        break;
      case 4:
        // 新着記事
        document.write("<div id=\"newpost\">\n");
        include_news_list(news_news_disp_num);
        break;
      case 5:
        // 新着トラックバック
        document.write("<div id=\"newtbk\">\n");
        include_trackback_list(trackback_disp_num);
        break;
      case 6:
        // テーマ
        document.write("<div id=\"categories\">\n");
        include_theme_category(theme_category_disp_num);
        break;
      case 7:
        // プライベートメッセージ
        document.write("<div id=\"message\">\n");
        include_message_news();
        break;
      case 8:
        // Amazonアフィリエイト
        document.write('<div id="amazonaffiliate" style="text-align:center;">');
        include_amazon_affiliate_news();
        break;
      case 9:
        // QRコード
        document.write("<div id=\"qrcode\">\n");
        include_qr_code_news();
        break;
      case 10:
        // 楽天アフィリエイト
        document.write("<div id=\"rakutenaffiliate\" style=\"text-align:center;\">\n");
        include_rakuten_affiliate_news();
        break;
      case 11:
        // ウェブリアルバム
        document.write("<div id=\"albums\">\n");
        include_album();
        break;
      case 12:
        // フリースペース
        document.write("<div id=\"freespace\">\n");
        include_free_space_news();
        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:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 2:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 3:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 4:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        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(type) {
    switch (type){
      case 1:
        // カレンダー
        document.write("<div id=\"calendar\">\n");
        include_calendar();
        break;
      case 2:
        // フリースペース２
        document.write("<div id=\"freespace2\">\n");
        include_free_space2();
        break;
      case 3:
        // 新着コメント
        document.write("<div id=\"newcmt\">\n");
        include_comment_list(comment_disp_num);
        break;
      case 4:
        // 新着記事
        document.write("<div id=\"newpost\">\n");
        include_news_list(news_news_disp_num);
        break;
      case 5:
        // 新着トラックバック
        document.write("<div id=\"newtbk\">\n");
        include_trackback_list(trackback_disp_num);
        break;
      case 6:
        // テーマ
        document.write("<div id=\"categories\">\n");
        include_theme_category(theme_category_disp_num);
        break;
      case 7:
        // プライベートメッセージ
        document.write("<div id=\"message\">\n");
        include_message();
        break;
      case 8:
        // 楽天アフィリエイト
        document.write("<div id=\"rakutenaffiliate\" style=\"text-align:center;\">\n");
        include_rakuten_affiliate();
        break;
      case 9:
        // Amazonアフィリエイト
        document.write('<div id="amazonaffiliate" style="text-align:center;">');
        include_amazon_affiliate();
        break;
      case 10:
        // QRコード
        document.write("<div id=\"qrcode\">\n");
        include_qr_code();
        break;
      case 11:
        // ウェブリアルバム
        document.write("<div id=\"albums\">\n");
        include_album();
        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=\"freespace\">\n");
        include_free_space();
        break;
      case 2:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 3:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        break;
      case 4:
        // reserved
        document.write("<div style=\"display: none;\">\n");
        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;
    }
}