I am very familiar with the Gossamer Threads Links2, and can manage some perl, but I have not done anything with js. I am using a guestbook that was written to go with Links, and it uses js for adding smilies. A small piece of code goes into the head of the file: