

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/enta_pangya1.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
      document.write("<script language=\"javascript\" src=\"/articles_jss/enta_pangya1.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_centerC3col.new.css\" REL=\"stylesheet\" TYPE=\"text/css\">");

    if (page == "top" || page == "friend" || page == "circle"){
	}

      document.write("<LINK HREF=\"http://sa999as.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("#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 ){
}

}

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_centerC3col.new.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
    }else{
      document.write("<LINK HREF=\"/css/articles.new/layout_centerC3col.css\" REL=\"stylesheet\" TYPE=\"text/css\">");
    }

      
       document.write("<LINK HREF=\"http://sa999as.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://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("#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>");
      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("<table>\n");
      document.write("<tr>\n");
      document.write("<td valign=\"top\" nowrap>\n");
      document.write("<h2>公式サイト</h2>\n");
      document.write("<ul type=circle>\n");
      document.write("<li><a href=\"http://www.pangya.jp/\" target=\"_blank \">パンヤ公式サイト</a></li>\n");
      document.write("<li><a href=\"http://www.hangame.co.jp/publish/sgp/main.asp\" target=\"_blank \">ハンゲ パンヤ</a></li>\n");
      document.write("</ul>\n");
      document.write("<h2>リンク</h2>\n");
      document.write("<ul type=circle>\n");
      document.write("<li><a href=\"http://macks.blog5.fc2.com/\" target=\"_blank \">漫画ライフBLOG</a></li>\n");
      document.write("<li><a href=\"http://sa999as.at.webry.info/theme/a2de0a7161.html\">パンヤBS理論</a></li>\n");
      document.write("<li><a href=\"http://sa777as.blog113.fc2.com/\" target=\"_blank \">パチンコ攻略</a></li>\n");
      document.write("</ul>\n");
      document.write("</td>\n");
      document.write("\n");
      document.write("<td valign=\"top\" nowrap>\n");
      document.write("<h2>ファンサイト<a href=\"http://sa999as.blog94.fc2.com/\">パンヤ攻略派</a></h2>\n");
      document.write("<table><tr>\n");
      document.write("<td nowrap>\n");
      document.write("<ul type=circle>\n");
      document.write("<li><a href=\"http://sa999as.blog94.fc2.com/blog-category-16.html\">BlueMoon攻略</a></li>\n");
      document.write("<li><a href=\"http://sa999as.blog94.fc2.com/blog-category-15.html\">WindHill攻略</a></li>\n");
      document.write("<li><a href=\"http://sa999as.blog94.fc2.com/blog-category-14.html\">SepiaWind攻略</a></li>\n");
      document.write("<li><a href=\"http://sa999as.blog94.fc2.com/blog-category-13.html\">BlueWater攻略</a></li>\n");
      document.write("<li><a href=\"http://sa999as.blog94.fc2.com/blog-category-12.html\">BlueLagoon攻略</a></li>\n");
      document.write("<li><a href=\"http://sa999as.blog94.fc2.com/blog-category-11.html\">ShiningSand攻略</a></li>\n");
      document.write("</ul>\n");
      document.write("</td>\n");
      document.write("<td nowrap>\n");
      document.write("<ul type=circle>\n");
      document.write("<li><a href=\"http://sa999as.blog94.fc2.com/blog-category-10.html\">DeepInferno攻略</a></li>\n");
      document.write("<li><a href=\"http://sa999as.blog94.fc2.com/blog-category-7.html\">IceCannon攻略</a></li>\n");
      document.write("<li><a href=\"http://sa999as.blog94.fc2.com/blog-category-4.html\">WestWiz攻略</a></li>\n");
      document.write("<li><a href=\"http://sa999as.blog94.fc2.com/blog-category-6.html\">WizWiz攻略</a></li>\n");
      document.write("<li><a href=\"http://sa999as.blog94.fc2.com/blog-category-5.html\">PinkWind攻略</a></li>\n");
      document.write("<li><a href=\"http://sa999as.blog94.fc2.com/blog-category-9.html\">WhiteWiz攻略</a></li>\n");
      document.write("</ul>\n");
      document.write("</td>\n");
      document.write("</tr></table>\n");
      document.write("</td>\n");
      document.write("\n");
      document.write("<td valign=\"top\" nowrap>\n");
      document.write("<h2>パンヤUpDate情報</h2>\n");
      document.write("<IFRAME src=\"http://www.pangya.jp/update/update.html\" frameBorder=0 width=300 height=120></IFRAME>\n");
      document.write("</td>\n");
      document.write("\n");
      document.write("</tr></table>\n");
      document.write("\n");
      document.write("\n");
      document.write("<table width=\"700\"><tr>\n");
      document.write("<td>\n");
      document.write("<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab\" id=\"Player_a3ded6d6-e245-491c-95d1-5a593cdaff07\"  WIDTH=\"600px\" HEIGHT=\"200px\"> <PARAM NAME=\"movie\" VALUE=\"http://ws.amazon.co.jp/widgets/q?ServiceVersion=20070822&MarketPlace=JP&ID=V20070822%2FJP%2Fsa999as-22%2F8010%2Fa3ded6d6-e245-491c-95d1-5a593cdaff07&Operation=GetDisplayTemplate\"><PARAM NAME=\"quality\" VALUE=\"high\"><PARAM NAME=\"bgcolor\" VALUE=\"#FFFFFF\"><PARAM NAME=\"allowscriptaccess\" VALUE=\"always\"><embed src=\"http://ws.amazon.co.jp/widgets/q?ServiceVersion=20070822&MarketPlace=JP&ID=V20070822%2FJP%2Fsa999as-22%2F8010%2Fa3ded6d6-e245-491c-95d1-5a593cdaff07&Operation=GetDisplayTemplate\" id=\"Player_a3ded6d6-e245-491c-95d1-5a593cdaff07\" quality=\"high\" bgcolor=\"#ffffff\" name=\"Player_a3ded6d6-e245-491c-95d1-5a593cdaff07\" allowscriptaccess=\"always\"  type=\"application/x-shockwave-flash\" align=\"middle\" height=\"200px\" width=\"600px\"></embed></OBJECT> <NOSCRIPT><A HREF=\"http://ws.amazon.co.jp/widgets/q?ServiceVersion=20070822&MarketPlace=JP&ID=V20070822%2FJP%2Fsa999as-22%2F8010%2Fa3ded6d6-e245-491c-95d1-5a593cdaff07&Operation=NoScript\">Amazon.co.jp ウィジェット</A></NOSCRIPT>\n");
      document.write("</td>\n");
      document.write("</tr></table>\n");
      document.write("\n");
      document.write("<script type=\"text/javascript\"><!--\n");
      document.write("var ID=\"100728509\";\n");
      document.write("var AD=0;\n");
      document.write("var FRAME=0;\n");
      document.write("// --></script>\n");
      document.write("<script src=\"http://j1.ax.xrea.com/l.j?id=100728509\" type=\"text/javascript\"></script>\n");
      document.write("<noscript>\n");
      document.write("<a href=\"http://w1.ax.xrea.com/c.f?id=100728509\" target=\"_blank\"><img src=\"http://w1.ax.xrea.com/l.f?id=100728509&url=X\" alt=\"AX\" border=\"0\"></a>\n");
      document.write("</noscript>\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://www.hitmemo.com/pangya/emoji.js\"></script>\n");
      document.write("<body onload=\"ChangeEmojiTag();\">\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="sa999as.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://sa999as.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://sa999as.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/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=\"calendar\">\n");
        include_calendar();
        break;
      case 2:
        // テーマ
        document.write("<div id=\"categories\">\n");
        include_theme_category(theme_category_disp_num);
        break;
      case 3:
        // 新着記事
        document.write("<div id=\"newpost\">\n");
        include_news_list(news_news_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=\"message\">\n");
        include_message_news();
        break;
      case 7:
        // 楽天アフィリエイト
        document.write("<div id=\"rakutenaffiliate\" style=\"text-align:center;\">\n");
        include_rakuten_affiliate_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=\"albums\">\n");
        include_album();
        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=\"freespace\">\n");
        include_free_space_news();
        break;
      case 2:
        // フリースペース２
        document.write("<div id=\"freespace2\">\n");
        include_free_space2_news();
        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=\"categories\">\n");
        include_theme_category(theme_category_disp_num);
        break;
      case 3:
        // 新着記事
        document.write("<div id=\"newpost\">\n");
        include_news_list(news_news_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=\"message\">\n");
        include_message();
        break;
      case 7:
        // 楽天アフィリエイト
        document.write("<div id=\"rakutenaffiliate\" style=\"text-align:center;\">\n");
        include_rakuten_affiliate();
        break;
      case 8:
        // Amazonアフィリエイト
        document.write('<div id="amazonaffiliate" style="text-align:center;">');
        include_amazon_affiliate();
        break;
      case 9:
        // QRコード
        document.write("<div id=\"qrcode\">\n");
        include_qr_code();
        break;
      case 10:
        // ウェブリアルバム
        document.write("<div id=\"albums\">\n");
        include_album();
        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=\"freespace\">\n");
        include_free_space();
        break;
      case 2:
        // フリースペース２
        document.write("<div id=\"freespace2\">\n");
        include_free_space2();
        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;
    }
}