I've seen a very cool feature on ESPN's site that I'd like to add to my sites. On their story articles they have a javascript/css/cookie function that they have implemented on their site that I'd love to get. You can see an example here. I've tried breaking down the code, but I can't find the cookie part of it. Does anyone know where they got it from? It's very cool and I'd love to use it. Any help would be much appreciated.
Forgot to mention you can view it on the bottom right corner of the page under the "Readability Tools" box. You can change the font-family and size to whatever you want. The cookie remembers the setting and keeps it intact next time you visit the site.