Puppy,
It's probably a security mechanism so that forum users can't embed nasty javascript code on the page. I would do the same if I were writing a forum product to be used on the internet. Javascript "viruses" can be just as nasty as the current crop of virii floating through people's email boxes.