

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_2007con29.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
      document.write("<script language=\"javascript\" src=\"/articles_jss/blank.js\"></script>");

      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("#counter{  display: none;  }");
      document.write("#counterimg{  width: 0px; height: 0px;  }");
      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(".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"){
      component_flg=1;
    }
    if (component_flg == 1){
      document.write("<LINK HREF=\"/css/articles.new/layout_centerR.new.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
    }else{
      document.write("<LINK HREF=\"/css/articles.new/layout_centerR.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
    }

      


      document.write("<style type\"text/css\">");
      document.write("#counter{  display: none;  }");
      document.write("#counterimg{  width: 0px; height: 0px;  }");
      document.write("</style>");

    if (page == "article"){


      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>★画像庫★</h2>\n");
      document.write("</ul>\n");
      document.write("<h2>（携帯専用）</h2>\n");
      document.write("</ul>\n");
      document.write("<li><a href=\"http://megaview.jp/view.php?v=960176\">すの部屋</a></li>\n");
      document.write("<h2>☆ご近所さん☆</h2>\n");
      document.write("</ul>\n");
      document.write("<li><a href=\"http://modeste-405.269g.net/\">アミカル・シェモア</a></li>\n");
      document.write("<li><a href=\"http://blog.livedoor.jp/gokigen109/\">ごきげん上々♪</a></li>\n");
      document.write("<li><a href=\"http://mele-blue.cocolog-nifty.com/\">MeleBlue</a></li>\n");
      document.write("<li><a href=\"http://kaeru-mu.blog.ocn.ne.jp/smap/\">ケセラセラ</a></li>\n");
      document.write("<li><a href=\"http://smap-dake.at.webry.info/\">すまっぷぅな日々</a></li>\n");
      document.write("<li><a href=\"http://blog.livedoor.jp/libra563/\">とにかく始めてみよう</a></li>\n");
      document.write("<li><a href=\"http://yaplog.jp/mananeko_1208/\">露思案青</a></li>\n");
      document.write("<li><a href=\"http://blog.goo.ne.jp/noko405/\">ゆめのかたち</a></li>\n");
      document.write("<li><a href=\"http://blog.goo.ne.jp/mikomiko405/\">Miko\'sDiary</a></li>\n");
      document.write("<li><a href=\"http://yaplog.jp/chiko223/\">気ままな私時間</a></li>\n");
      document.write("<li><a href=\"http://only1web.com/blognplus/\">RainySeason</a></li>\n");
      document.write("<li><a href=\"http://smap.only1web.com/modules/wordpress/\">SMAPON-MyBlog</a></li>\n");
      document.write("\n");
      document.write("<h2>♪お気に入り♪</h2>\n");
      document.write("</ul>\n");
      document.write("<li><a href=\"http://homepage2.nifty.com/kikyo/\">SMA\'S HOUSE</a></li>\n");
      document.write("<li><a href-\"http://smap.only1web.com/\">SMAPON</a></li>\n");
      document.write("<li><a href=\"http://members.goo.ne.jp/home/noko405\">sunrise sunshine</a></li>\n");
      document.write("<li><a href=\"http://tk.only1web.com/\">Tak-ing</a></li>\n");
      document.write("<li><a href=\"http://www.tfm.co.jp/what-s/index.html\">WHAT\'S海賊団 木村拓哉のWHAT\'S UP SMAP!公認</a></li>\n");
      document.write("<li><a href=\"http://mikomiko.fc2web.com/\">Growing up◆Miko\'s web site◆</a></li>\n");
      document.write("<li><a href=\"http://www.katsuyuki.net/\">katsuyuki.net</a></li>\n");
      document.write("<li><a href=\"http://blog.livedoor.jp/artbookshop/\">art-bookshop blog</a></li>\n");
      document.write("<li><a href=\"http://www.marines.co.jp/\">千葉ロッテマリーンズ</a></li>\n");
      document.write("<li><a href=\"http://www.terao.info/\">錣山親方(寺尾改メ)オフィシャルサイト</a></li>\n");
      document.write("<li><a href=\"http://www.sumo.orjp/\">日本相撲協会公式サイト</a></li>\n");
      document.write("<li><a href=\"http://www.konishiki.net/jp/\">-KONISHIKI\'S−</a></li>\n");
      document.write("<li><a href=\"http://www.kabuki-za.co.jp/\">歌舞伎座ホームページ</a></li>\n");
      document.write("</ul>\n");
      document.write("<h2>*大好きなお店*</h2>\n");
      document.write("<li><a href=\"http://www.lovemaui.net/\">AlohaCrafts</a></li>\n");
      document.write("<li><a href=\"http://www.waikiki-aloha.com/\">RESTAURANT WAIKIKI</a></li>\n");
      document.write("<li><a href=\"http://www.joyfulhonda.com/\">JOYFUL HONDA</a></li>\n");
      document.write("<li><a href=\"http://amazon.trendmark.jp/\">Amapon</a></li>\n");
      document.write("<li><a href=\"http://rakuten.trendmark.jp/\">Rakuchin</a></li>\n");
      document.write("<li><a href=\"http://www.colourfield.co.jp/\">COLOUR FIELD</a></li>\n");
      document.write("<li><a href=\"http://www.colourfield.co.jp/art-bookshop/index.html\">art-bookshop & caf\'e</a></li>\n");
      document.write("<li><a href=\"http://blog.goo.ne.jp/yas-blog\">KURA6330</a></li>\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("<script src=\"http://www.hero-movie.net/blogparts/hero_l.js\"></script>\n");
      document.write("<a href=\"http://smap.ciao.jp/report/sonota/photo.html\" target=\"_blank\" ><img\n");
      document.write("src=\"http://smap.ciao.jp/report/sonota/shingonosnap000.gif\"\n");
      document.write("border=\"0\"alt=\"snap no shingo写真展全国へ\"></a>\n");
      document.write("<h2>★information & repo★</h2>\n");
      document.write("<!--SMAPON RSS--><iframe src=\"http://only1web.com/smapon/rss16.htm\" \n");
      document.write("width=\"140\" height=\"400\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" \n");
      document.write("frameborder=\"0\"></iframe><!--SMAPON RSS-->\n");
      document.write("<h2>☆SMAP×SMAP☆</h2>\n");
      document.write("<iframe width=\"150\" height=\"260\" src=\"http://wwwz.fujitv.co.jp/blogpong/blog_b.html?COL=FFFFCF&TREE=298000011\" border=\"0\" marginwidth=\"0\" marginheight=\"0\" frameborder=\"0\" scrolling=\"no\"></iframe>\n");
      document.write("<script type=\"text/javascript\" src=\"http://www.movies.co.jp/piratesfan/desktop/jack1.js\"></script>\n");
      document.write("<script language=\"javascript\" type=\"text/javascript\" src=\"http://aqua.kyucon.com/neontetra4.js\"></script>\n");
      document.write("<a href=\"http://www.wunderground.com/global/stations/47671.html?bannertypeclick=infobox\">\n");
      document.write("<img src=\"http://banners.wunderground.com/weathersticker/infobox/language/www/global/stations/47671.gif\" border=0\n");
      document.write("alt=\"Click for Tokyo, Japan Forecast\" height=108 width=144></a>\n");
      document.write("\n");
      document.write("<a href=\"http://www.wunderground.com/US/HI/Honolulu.html?bannertypeclick=infobox\">\n");
      document.write("<img src=\"http://banners.wunderground.com/weathersticker/infobox/language/www/US/HI/Honolulu.gif\" border=0\n");
      document.write("alt=\"Click for Honolulu, Hawaii Forecast\" height=108 width=144></a>\n");
}
function include_message(){
      document.write("<style type\"text/css\">");
      document.write("#message{  display: none;  }");
      document.write("</style>");
}
function include_message_news(){
      document.write("<style type\"text/css\">");
      document.write("#message{  display: none;  }");
      document.write("</style>");
}
function message_disp(){
}
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(){
      qrcode_disp();
}
function qrcode_disp(){
      document.write('<h2>このブログを携帯で読む</h2>' + "\n");
      document.write('<div style="text-align:center">' + "\n");
      document.write('<img src="http://chaiyoshi-198.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://chaiyoshi-198.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("<style type\"text/css\">");
      document.write("#rakutenaffiliate{  display: none;  }");
      document.write("</style>");
}
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=\"newpost\">\n");
        include_news_list(news_news_disp_num);
        break;
      case 3:
        // テーマ
        document.write("<div id=\"categories\">\n");
        include_theme_category(theme_category_disp_num);
        break;
      case 4:
        // 新着トラックバック
        document.write("<div id=\"newtbk\">\n");
        include_trackback_list(trackback_disp_num);
        break;
      case 5:
        // 新着コメント
        document.write("<div id=\"newcmt\">\n");
        include_comment_list(comment_disp_num);
        break;
      case 6:
        // ウェブリアルバム
        document.write("<div id=\"albums\">\n");
        include_album();
        break;
      case 7:
        // フリースペース
        document.write("<div id=\"freespace\">\n");
        include_free_space_news();
        break;
      case 8:
        // プライベートメッセージ
        document.write("<div id=\"message\">\n");
        include_message_news();
        break;
      case 9:
        // Amazonアフィリエイト
        document.write('<div id="amazonaffiliate" style="text-align:center;">');
        include_amazon_affiliate_news();
        break;
      case 10:
        // QRコード
        document.write("<div id=\"qrcode\">\n");
        include_qr_code_news();
        break;
      case 11:
        // 楽天アフィリエイト
        document.write("<div id=\"rakutenaffiliate\" style=\"text-align:center;\">\n");
        include_rakuten_affiliate_news();
        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=\"freespace2\">\n");
        include_free_space2_news();
        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=\"newpost\">\n");
        include_news_list(news_news_disp_num);
        break;
      case 3:
        // テーマ
        document.write("<div id=\"categories\">\n");
        include_theme_category(theme_category_disp_num);
        break;
      case 4:
        // 新着トラックバック
        document.write("<div id=\"newtbk\">\n");
        include_trackback_list(trackback_disp_num);
        break;
      case 5:
        // 新着コメント
        document.write("<div id=\"newcmt\">\n");
        include_comment_list(comment_disp_num);
        break;
      case 6:
        // ウェブリアルバム
        document.write("<div id=\"albums\">\n");
        include_album();
        break;
      case 7:
        // フリースペース
        document.write("<div id=\"freespace\">\n");
        include_free_space();
        break;
      case 8:
        // プライベートメッセージ
        document.write("<div id=\"message\">\n");
        include_message();
        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=\"rakutenaffiliate\" style=\"text-align:center;\">\n");
        include_rakuten_affiliate();
        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=\"freespace2\">\n");
        include_free_space2();
        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;
    }
}