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: Storing Information in Frames
The contents of the <span> with the ID of pageCt in this HTML file will be replaced by JavaScript.
The value of the <span> with the ID pageCt will be set with this script.