Рабочий скрипт:
<script type="text/javascript">
var we=document.getElementsByTagName("ul")
var x=0
for (x=0; x<=(we.length-1); x++)
{if (we[x].innerHTML.indexOf("pa-online")!=-1)
{we[x].innerHTML=we[x].innerHTML.substring(0, (we[x].innerHTML.indexOf("pa-online")-11))+"<center><img src='http://s44.radikal.ru/i104/0810/b0/b6c106835a1a.gif' /></center>"}
else if ((we[x].innerHTML.indexOf("pa-online")==-1)&&(we[x].innerHTML.indexOf("pa-author")!=-1))
{we[x].innerHTML=we[x].innerHTML+"<center><img src='http://s61.radikal.ru/i172/0810/aa/3659492d1214.gif' /></center>"}
}
</script>