﻿window.__blog.postRenderPosts = function() {
    var loc = window.location.toString();
    if (loc.indexOf('/archive/') > 0 ) {
 //document.write('<div id="information"><span style="color:Red">反馈文章质量，你可以通过快速通道评论：</span><input name="commentbutton1" type="button" value="很好，推荐" class="fastcomment" /> <input name="commentbutton2" type="button" value="期待，关注" class="fastcomment"/><input name="commentbutton3" type="button" value="一般，加油" class="fastcomment"  /> <input name="commentbutton4" type="button" value="不好，争议" class="fastcomment"  /><input name="commentbutton5" type="button" value="差劲，拍砖" class="fastcomment" /><input name="commentbutton6" type="button" value="路过，飘过" class="fastcomment" /></div>');
 document.write('<div id="information"><a rel="license" href="http://creativecommons.org/licenses/by/2.5/cn/" target="_blank"><img alt="Creative Commons License" style="border-width:0;" src="http://i.creativecommons.org/l/by/2.5/cn/88x31.png" align="left" /></a><p>本文基于<a href="http://creativecommons.org/licenses/by/2.5/cn/" title="Creative Commons Attribution 2.5 China Mainland License" target="_blank">署名 2.5 中国大陆</a>许可协议发布，欢迎转载，演绎或用于商业目的，但是必须保留本文的署名<a href="http://www.cnblogs.com/lyj/">李永京</a>（包含链接），具体操作方式可<a href="http://bit.ly/c9uiCN" target="_blank">参考此处</a>。如您有任何疑问或者授权方面的协商，请<a href="http://space.cnblogs.com/msg/send/李永京" target="_blank">给我留言</a>。</p></div>');                                   

 $(function () {
    $("body").prepend($("#div_digg").css({"position": "fixed", "right": "0px", "bottom": "0px", "z-index": "10", "background-color": "white", "margin": "10px", "padding": "10px", "border": "1px solid #cccccc"}));
    $("#div_digg").append("<br/><a style='text-decoration:underline; color:red;font-size:20px;font_weight:blod;' href='javascript:void(0);' onclick='c_follow();return false;'>关注博主</a>");
    /*$("input[name=commentbutton1]").click(function () {
         $("div[class=diggit]").trigger('click');
         $("textarea[class=comment_textarea]").val("此文不错，值得推荐！");
         PostComment();
      });
      $("input[name=commentbutton2]").click(function () {
          c_follow();
          $("textarea[class=comment_textarea]").val("期待后续文章，关注！");
          PostComment();
      });
      $("input[name=commentbutton3]").click(function () {
          $("textarea[class=comment_textarea]").val("继续努力，加油！");
          PostComment();
      });
      $("input[name=commentbutton4]").click(function () {
         $("textarea[class=comment_textarea]").val("不完全赞同，有争议！");
         PostComment();
      });
      $("input[name=commentbutton5]").click(function () {
         $("textarea[class=comment_textarea]").val("不同意楼主观点，拍砖！");
         PostComment();
      });
      $("input[name=commentbutton6]").click(function () {
         $("textarea[class=comment_textarea]").val("飘过~~");
         PostComment();
      });*/
    });
  }
}
