To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.
See it run: Reading a Cookie
JavaScript uses the ID in this HTML page to insert the cookie result.
This short JavaScript reads a previously set cookie and sends it to the document window.