Wow! Thanks for all the replies!
Looks like I got you all thinking on this one.
Admittedly, I'm not well versed on javascript and some of the other things you're referring to, although I'm not totally in the dark.
Just a link to open up the new window displaying the smilies is what I want. I don't really need the smilies on the composing pages at all. As it is, a lot of members go to other websites for different smilies than what are offered (such as
http://www.plauder-smilies.de/) and just copy the code needed and put it in their posts. I like the idea of being able to click on the picture and the code pops up in a little text box, like it does on the Plauder site, but instead of the full URL for the image it only would need to be the UBB Code for the smilies in our database ([smilie] or whatever).