hmm...
I don't get an error, I do see <br /> tags within the javascript tags, you may remove all that and keep it on one line. The forum intro box is probably adding the br's, so you may need to try it all on one line.
If you are adding it to your forum intro box, that box may not work with javascript, you might consider adding it to the bottom of your header include.