New smiley script. Duka
The script replaces the smileys in the block of standard emoticons.
http://s5.uploads.ru/lY1jL.jpg

Author: Duka
Platform: MyBB

Code:
<script type="text/javascript">
var smileDiv = document.getElementById("smilies-block");
if(smileDiv)
{
var smileItem = new Array();
smileItem.push('http://s41.radikal.ru/i092/0810/20/1acb9975a250.gif');
smileItem.push('http://s41.radikal.ru/i092/0810/20/1acb9975a250.gif');

for (i=0; i<smileItem.length; i++){
smileDiv.innerHTML+='<img src="'+smileItem[i]+'" alt=":rusff:" onclick="smile(\'[img]'+smileItem[i]+'[/img]\')" />';
}
}
</script>

The script put in HTML of Form of reply

smileItem.push('http://s41.radikal.ru/i092/0810/20/1acb9975a250.gif');
Duplicate as many as you need to add emoticons.
Your emoticons will be added to the block of common emoticons.

How to remove all standard emoticons and add your own?

Find in script

var smileDiv = document.getElementById("smilies-block");

and then add

smileDiv.innerHTML="";