It probably has to do with where I put the spoiler code in the file. It goes through and searches for the UBB code to then replace with HTML, one item at a time. Bumping it up higher should fix it. I'll tinker with it more tomorrow.

To ensure it gets displayed properly every time, the ROT13 code is what is actually being stored in the database. For some reason with your javascript only code, it was decoding it initially from time to time if multiple ones were on the page.

As far as the color thing, that would make us like so many other boards. Kinda cool to have something unique here for the obscuring code.