I've noticed above you typically have urlencoded this value as well.  Will this ever be grabbed by JS and used in a URL?  Does it get urlencoded at that point anyway?