

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/plain_bw.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_centerL.new.css\" REL=\"stylesheet\" TYPE=\"text/css\">");

    if (page == "top" || page == "friend" || page == "circle"){
	}


      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>");
    if (page == "top" || page == "friend" || page == "circle"){
}

if ( (page == "theme") ){
theme_category_disp_num = 50;
}

if ( (page == "month") ){
      document.write("<style type\"text/css\">");
      document.write("#archives{  display: none;  }");
      document.write("</style>");
}
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_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("#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>");
}
}

function include_free_space(){
  free_space_disp();
}

function include_free_space_news(){
  free_space_disp();
}

function free_space_disp(){
      document.write("<!--shinobi1-->\n");
      document.write("<script type=\"text/javascript\" src=\"http://x8.ifdef.jp/ufo/111786900\"></script>\n");
      document.write("<noscript><a href=\"http://x8.ifdef.jp/bin/gg?111786900\" target=\"_blank\">\n");
      document.write("<img src=\"http://x8.ifdef.jp/bin/ll?111786900\" border=\"0\"></a><br>\n");
      document.write("<span style=\"font-size:9px\">[PR] <a href=\"http://gf5doc.rentalurl.net\" target=\"_blank\">文書管理システム</a></span></noscript>\n");
      document.write("<!--shinobi2-->\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("<script type=\"text/javascript\" charset=\"utf-8\" src=\"http://parts.logoole.yahoo.co.jp/parts/script/9k3f1if8peoe5h472bfaja21oov64lle\"></script><div class=\"yahoo-tracks-widget\"></div>\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("<script language=\"JavaScript\" type=\"text/javascript\">var AbUnum=\'f180af96799534489f45f0c9764a8084378ed851\';</script><script language=\"JavaScript\" type=\"text/javascript\" src=\"http://p.aboutme.jp/p/js/blogp.js\"></script>\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("<SCRIPT TYPE=\"text/javascript\" SRC=\"http://rranking2.ziyu.net/js/kandamori2.js\" charset=shift_jis></SCRIPT>\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("<SCRIPT TYPE=\"text/javascript\" SRC=\"http://rranking2.ziyu.net/rank.php?kandamori2\"></SCRIPT><A href=\"http://www.ziyu.net/\" target=_blank><IMG SRC=\"http://file.ziyu.net/rranking.gif\" alt=\"アクセスランキング\" border=0 width=35 height=11></A><NOSCRIPT><A href=\"http://www.ziyu.net/\" target=_blank>アクセスランキング</A></NOSCRIPT>\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("<a href=\"http://blogranking.fc2.com/in.php?id=444846\" target=\"_blank\"><img src=\"http://blogranking.fc2.com/ranking_banner/a_01.gif\" style=\"border:0px;\"></a>\n");
      document.write("<br><br>\n");
      document.write("\n");
      document.write("\n");
      document.write("<strong><a href=\"http://seo.fc2.com/\">SEO対策</a></strong>:<a href=\"http://seo.fc2.com/link/MP3/\"><strong>MP3</strong></a>\n");
      document.write("<br><strong><a href=\"http://seo.fc2.com/\">SEO対策</a></strong>:<a href=\"http://seo.fc2.com/link/%E3%82%B7%E3%83%B3%E3%82%BB%E3%82%B5%E3%82%A4%E3%82%B6%E3%83%BC/\"><strong>シンセサイザー</strong></a>\n");
      document.write("<br><strong><a href=\"http://seo.fc2.com/\">SEO対策</a></strong>:<a href=\"http://seo.fc2.com/link/%E6%B0%91%E6%97%8F%E6%A5%BD%E5%99%A8/\"><strong>民族楽器</strong></a>\n");
      document.write("<br><strong><a href=\"http://seo.fc2.com/\">SEO対策</a></strong>:<a href=\"http://seo.fc2.com/link/%E7%84%A1%E6%96%99/\"><strong>無料</strong></a>\n");
      document.write("<br><strong><a href=\"http://seo.fc2.com/\">SEO対策</a></strong>:<a href=\"http://seo.fc2.com/link/%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89/\"><strong>ダウンロード</strong></a>\n");
      document.write("<br><br>\n");
}

function include_free_space2(){
  free_space2_disp();
}

function include_free_space2_news(){
  free_space2_disp();
}

function free_space2_disp(){
      document.write("<script type=\"text/javascript\" src=\"http://thatsping.jp/thatsparts_simple.js\"></script>\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("<!-- track word -->\n");
      document.write("<div style=\"width:120px;margin:0;padding:0;line-height:1.4;text-align:center;overflow:hidden;\" id=\"trackword_banner\"><a href=\"http://www.trackword.biz/\"><img src=\"http://www.trackword.biz/img/minilogogv.gif\" border=\"0\" alt=\"SEO\"></a><br><a href=\"http://my.trackword.net/u/kandamori/1\" id=\"trackword_loading\"><img src=\"http://www.trackword.biz/img/loadinggr.gif\" border=\"0\" alt=\"loading\"><br></a><a href=\"http://www.trackwords.jp/s/http%253A%252F%252Fmankos.at.webry.info%252F\" style=\"font-size:12px;color:#828282;\">変な音楽</a></div>\n");
      document.write("<script type=\"text/javascript\">document.write(unescape(\"%3Cscript src=\'http://script.trackword.net/vertical.js#kandamori\' charset=\'utf-8\' type=\'text/javascript\'%3E%3C/script%3E\"));</script>\n");
      document.write("<!-- track word -->\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("<script type=\"text/javascript\" charset=\"utf-8\" src=\"http://pr.fc2.com/k/a/n/kandamori/blogparts.js\"></script><noscript><a href=\"http://pr.fc2.com/kandamori/\" target=\"_blank\">神田森莉のプロフィール</a></noscript>\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("\n");
      document.write("\n");
      document.write("<style type=\"text/css\">\n");
      document.write("<!--\n");
      document.write("#seoparts { list-style:none;margin:0px;padding:0px;font-size:14px }\n");
      document.write("#seoparts li { padding:1px }\n");
      document.write("#seoparts-img-li {  }\n");
      document.write("#seoparts-img-li img { vertical-align:top }\n");
      document.write("-->\n");
      document.write("</style>\n");
      document.write("<!-- seoparts --><ul id=\"seoparts\"><li id=\"seoparts-img-li\"><a href=\"http://seoparts.com/\"><img src=\"http://seoparts.com/u80.gif\" width=\"80\" height=\"15\" border=\"0\" alt=\"seo\"></a></li></ul><script type=\"text/javascript\" src=\"http://escape-u2.seoparts.com/u.js?2/5/\" charset=\"euc-jp\"></script><!-- /seoparts -->\n");
      document.write("<br>\n");
      document.write("\n");
      document.write("\n");
      document.write("<a href=\"http://awasete.com/show.phtml?u=http%3A%2F%2Fmankos.at.webry.info%2F\"><img src=\"http://img.awasete.com/image.phtml?u=http%3A%2F%2Fmankos.at.webry.info%2F&s=1\" width=\"125\" height=\"125\" alt=\"あわせて読みたいブログパーツ\" border=\"0\"></a><br>\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(){
      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("<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=\"freespace2\">\n");
        include_free_space2_news();
        break;
      case 9:
        // プライベートメッセージ
        document.write("<div id=\"message\">\n");
        include_message_news();
        break;
      case 10:
        // 楽天アフィリエイト
        document.write("<div id=\"rakutenaffiliate\" style=\"text-align:center;\">\n");
        include_rakuten_affiliate_news();
        break;
      case 11:
        // Amazonアフィリエイト
        document.write('<div id="amazonaffiliate" style="text-align:center;">');
        include_amazon_affiliate_news();
        break;
      case 12:
        // QRコード
        document.write("<div id=\"qrcode\">\n");
        include_qr_code_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=\"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=\"freespace2\">\n");
        include_free_space2();
        break;
      case 9:
        // プライベートメッセージ
        document.write("<div id=\"message\">\n");
        include_message();
        break;
      case 10:
        // 楽天アフィリエイト
        document.write("<div id=\"rakutenaffiliate\" style=\"text-align:center;\">\n");
        include_rakuten_affiliate();
        break;
      case 11:
        // Amazonアフィリエイト
        document.write('<div id="amazonaffiliate" style="text-align:center;">');
        include_amazon_affiliate();
        break;
      case 12:
        // QRコード
        document.write("<div id=\"qrcode\">\n");
        include_qr_code();
        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:
        // 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;
    }
}