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: Sharing Functions between Frames
This JavaScript allows you to share functions between multiple frames. The script is called from the frameset page, and it loads the pages into the frameset.