

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/photo_cats.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_leftL.new.css\" REL=\"stylesheet\" TYPE=\"text/css\">");

    if (page == "top" || page == "friend" || page == "circle"){
	}


      document.write("<style type\"text/css\">");
      document.write("#newtbk{  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>");
      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_leftL.new.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
    }else{
      document.write("<LINK HREF=\"/css/articles.new/layout_leftL.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
    }

      

      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("#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(){
  free_space_disp();
}

function free_space_disp(){
      document.write("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" \n");
      document.write("codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" \n");
      document.write("width=\"120\" height=\"60\" id=\"skype-banner-29\">\n");
      document.write("<param name=\"allowScriptAccess\" value=\"sameDomain\" />\n");
      document.write("<param name=\"movie\" value=\"http://share.skype.com/show/flash/?id=29&clickTag=http%3A%2F%2Fwww.skype.com\" />\n");
      document.write("<param name=\"menu\" value=\"false\" />\n");
      document.write("<param name=\"quality\" value=\"high\" />\n");
      document.write("<param name=\"bgcolor\" value=\"#ffffff\" />\n");
      document.write("<embed src=\"http://share.skype.com/show/flash/?id=29&clickTag=http%3A%2F%2Fwww.skype.com\"\n");
      document.write("  menu=\"false\" quality=\"high\" bgcolor=\"#ffffff\" width=\"120\" height=\"60\"\n");
      document.write("  id=\"skype-banner-embed\" allowScriptAccess=\"sameDomain\"\n");
      document.write("  type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\">\n");
      document.write("<noembed><div><a href=\"http://www.skype.com\" target=\"_blank\"><img src=\"\n");
      document.write("http://share.skype.com/show/flash/?id=29\" border=\"0\" alt=\"Share Skype\" id=\"skype-banner-img\" width=\"120\" height=\"60\" /></a></div></noembed>\n");
      document.write("</embed>\n");
      document.write("</object>\n");
      document.write("<script language=\"javascript\" charset=\"euc-jp\" src=\"http://www.blogdeco.jp/otto/tag.php\"></script>\n");
      document.write("<br/>\n");
      document.write("\n");
      document.write("\n");
      document.write("\n");
      document.write("\n");
      document.write("\n");
      document.write("\n");
      document.write("\n");
      document.write("\n");
      document.write("<h2>               </h2>\n");
      document.write("<IFRAME src=\"http://link.tenki-yoho.com/img.php?all,acrweb\" width=150 height=180 scrolling=NO frameborder=0 marginwidth=0 marginheight=0><A href=\"http://www.tenki-yoho.com/\" target=_blank>天気予報</A></IFRAME><br>\n");
      document.write("-<A href=\"http://www.tenki-yoho.com/\" target=_blank>天気予報コム</A>-\n");
      document.write("\n");
      document.write("<ul>\n");
      document.write("〜　〜　〜　〜　〜　〜   \n");
      document.write("   　　 正確な時計です\n");
      document.write("</ul>\n");
      document.write("<embed src=\"http://www.clocklink.com/clocks/0002-White.swf?TimeZone=JST\" width=\"200\" height=\"200\" wmode=\"transparent\" type=\"application/x-shockwave-flash\">\n");
      document.write("\n");
      document.write("\n");
      document.write("\n");
      document.write("\n");
      document.write("<h2>読めるかな〜？</h2>\n");
      document.write("<!-- ↓ あ〜いい漢字 ↓ -->\n");
      document.write("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width=\"120\" height=\"240\" align=\"middle\">\n");
      document.write("<param name=\"allowScriptAccess\" value=\"sameDomain\" />\n");
      document.write("<param name=\"movie\" value=\"http://www.ai-line.co.jp/aikanji/ai-kanji.swf\" />\n");
      document.write("<param name=\"quality\" value=\"high\" />\n");
      document.write("<param name=\"FlashVars\" value=\"data=current\" />\n");
      document.write("<embed src=\"http://www.ai-line.co.jp/aikanji/ai-kanji.swf\"\n");
      document.write("FlashVars=\"data=current\"\n");
      document.write("quality=\"high\" width=\"120\" height=\"240\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n");
      document.write("</object>\n");
      document.write("<!-- ↑ あ〜いい漢字 ↑ -->\n");
      document.write("\n");
      document.write("\n");
      document.write("<br/>\n");
      document.write("<h2>何の略やね〜ん！</h2>\n");
      document.write("\n");
      document.write("\n");
      document.write("\n");
      document.write("<!-- ↓ 何の略やね〜ん ↓ -->\n");
      document.write("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width=\"120\" height=\"240\" align=\"middle\">\n");
      document.write("<param name=\"allowScriptAccess\" value=\"sameDomain\" />\n");
      document.write("<param name=\"movie\" value=\"http://www.ai-line.co.jp/nannoryaku/nannoryaku.swf\" />\n");
      document.write("<param name=\"quality\" value=\"high\" />\n");
      document.write("<param name=\"FlashVars\" value=\"data=current\" />\n");
      document.write("<embed src=\"http://www.ai-line.co.jp/nannoryaku/nannoryaku.swf\"\n");
      document.write("FlashVars=\"data=current\"\n");
      document.write("quality=\"high\" width=\"120\" height=\"240\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n");
      document.write("</object>\n");
      document.write("<!-- ↑ 何の略やね〜ん ↑ -->\n");
      document.write("\n");
      document.write("\n");
      document.write("<br/>\n");
      document.write("<h2>らくがきボード</h2>\n");
      document.write("\n");
      document.write("<script language=\"javascript\" src=\"http://rakugaki.kayac.com/rakugaki_tag.php?rid=21628\"></script>\n");
      document.write("<br/>\n");
      document.write("\n");
      document.write("\n");
      document.write("<script language=\"javascript\" type=\"text/javascript\" src=\"http://m-aqua.com/random.js\"></script>\n");
      document.write("\n");
      document.write("\n");
      document.write("<a href=\"http://pt.afl.rakuten.co.jp/c/02740321.0683a310/?url=http%3a%2f%2fwww.rakuten.co.jp%2fcosmeland%2f\" target=\"_blank\"><img src=\"http://ba.afl.rakuten.co.jp/b/02740321.0683a310/\" width=\"100\" height=\"60\" border=\"0\"></a>\n");
}

function include_free_space2(){
  free_space2_disp();
}

function include_free_space2_news(){
  free_space2_disp();
}

function free_space2_disp(){
      document.write("<a href=\"http://hb.afl.rakuten.co.jp/hsc/0218219a.d74d417d.04d3322a.17da6a5a/\" target=\"_blank\"><img src=\"http://hbb.afl.rakuten.co.jp/hsb/0218219a.d74d417d.04d3322a.17da6a5a/\" border=\"0\"></a>\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="nekonosuke.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(){
      qrcode_disp();
}
function qrcode_disp(){
      document.write('<h2>このブログを携帯で読む</h2>' + "\n");
      document.write('<div style="text-align:center">' + "\n");
      document.write('<img src="http://nekonosuke.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://nekonosuke.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('<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 = "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=\"albums\">\n");
        include_album();
        break;
      case 2:
        // カレンダー
        document.write("<div id=\"calendar\">\n");
        include_calendar();
        break;
      case 3:
        // 新着記事
        document.write("<div id=\"newpost\">\n");
        include_news_list(news_news_disp_num);
        break;
      case 4:
        // テーマ
        document.write("<div id=\"categories\">\n");
        include_theme_category(theme_category_disp_num);
        break;
      case 5:
        // 新着トラックバック
        document.write("<div id=\"newtbk\">\n");
        include_trackback_list(trackback_disp_num);
        break;
      case 6:
        // 新着コメント
        document.write("<div id=\"newcmt\">\n");
        include_comment_list(comment_disp_num);
        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=\"albums\">\n");
        include_album();
        break;
      case 2:
        // フリースペース２
        document.write("<div id=\"freespace2\">\n");
        include_free_space2();
        break;
      case 3:
        // カレンダー
        document.write("<div id=\"calendar\">\n");
        include_calendar();
        break;
      case 4:
        // 新着記事
        document.write("<div id=\"newpost\">\n");
        include_news_list(news_news_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=\"newcmt\">\n");
        include_comment_list(comment_disp_num);
        break;
      case 8:
        // フリースペース
        document.write("<div id=\"freespace\">\n");
        include_free_space();
        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;
    }
}