Eh... my source code is completely different...

Somehow your version manages to have the same effect, but with added, as you say, random capitalisation and what not.

In case your View Source function is malfunctioning, here's the original code
http://penagate.spiralmindsinc.com/misc/functions.htmls