Excellent hack! For some reason, however, adding the clicky smilies to the template causes showthread.php to take a lot longer to finish loading. What I mean is, the posts load, and then the last post on that page is the last thing you see for about 20 seconds, and then finally the bottom bar with the new thread and post reply buttons, as well as everything below it shows.
I did exactly as you said, put $clickysmilies = getclickysmilies(); after the $textareacols... line and then put $clickysmilies in the template along with those two <script> tags after the <form>. After I did this, it began the symptoms as I described above.
I appreciate any help I can get on this.