/* 
  Copyright 2007-2008 hkrn <hikarin@users.sourceforge.jp>
   */Img0ch.App.Read.Plugin.Nicovideo=(function(){var re1_=/<a[^>]+>http:\/\/w?w?w?\.?nicovideo\.jp\/watch[\/\?]v?=?(\w+)<\/a>/;var re2_=/<a[^>]+>http:\/\/w?w?w?\.?nicovideo\.jp\/watch[\/\?]v?=?\w+<\/a>/;return{"rewrite":function(resno,comment){if(re1_.test(comment)){var videoID=RegExp.$1;comment=comment.replace(re2_,"<iframe src=http://www.nicovideo.jp/thumb?v="+videoID+" width=320 height=216 frameborder=0 scrolling=no></iframe><br />");}
return comment;}};})();