Код:
<!--Duka aka SAB0TAGE(c)--><script language="JavaScript">
function icq()
{
var msg = new String("")
msg = ""
popup = window.open("http://www.icq.com/people/webmsg.php?to="+name+"&from=User of Mybb.ru","popDialog","height=550,width=500")
popup.document.write(msg)
popup.document.close()
return false
}
</script>
<script type="text/javascript">
var arr=document.getElementsByTagName("li")
i=0
while(arr[i] ){
if(arr[i].className=="pa-icq"){
name=arr[i].innerHTML
name=name.substring(5)
arr[i].innerHTML="ICQ: "+name+" <a id=\"icq\" onclick=\"return poppict()\"><img src=\"http://status.icq.com/online.gif?icq="+name+"&img=5\"></a>"
}
i++
}
</script><!--Duka aka SAB0TAGE(c)-->

Вставлять в ХТМЛ низ