It looks to me like a simple html source encryption. Works like Tampa says. Not neccesarily malicious they just don't want the source viewed. If you're really paranoid just copy the function into VB or anything really and run the cipherblock through it.

-Maestr0