//EDIT CODE by Mr.ricebobo (http://http://ricebobo.pixnet.net) 2010.9.16 ver1.0 if(typeof LIKETAR=='undefined'){ var LIKETAR=new Array("div.article-body"); } if(typeof LIKETARCSS=='undefined'){ var LIKETARCSS=new Array(''); } if(typeof LIKETARPOS=='undefined'){ var LIKETARPOS=new Array('before'); } if(typeof LINKFSHOW=="undefined"){ var LINKFSHOW='1'; } if(typeof LINKWIDTH=="undefined"){ var LINKWIDTH='500'; } if(typeof LINKHEIGHT=="undefined"){ var LINKHEIGHT='20'; } if(typeof LINKCOLOR=="undefined"){ var LINKCOLOR='light'; } jQuery(document).ready(function(){ var Likeitem=new Array(); var InContent='false'; jQuery("div.article-body").each(function(i) { Likeitem[i]=''; }); jQuery("div.forward").each(function(i) { InContent='true'; }); for(j=0;j<=LIKETAR.length;j++){ jQuery(LIKETAR[j]).each(function(i) { if(j < LINKFSHOW || InContent=='true'){ var tt=jQuery("
"+Likeitem[i]+"
"); if(typeof LIKETARPOS[j]=="undefined") jQuery(this).before(tt); else if(LIKETARPOS[j]=='before') jQuery(this).before(tt); else if(LIKETARPOS[j]=='after') jQuery(this).after(tt); else if(LIKETARPOS[j]=='insertafter') tt.insertAfter(jQuery(this)); else if(LIKETARPOS[j]=='insertbefore') tt.insertBefore(jQuery(this)); } }); } });