Forum Moderators: open
For example if your left frame=nav.html and your right frame=content.html. If someone (e.g. a search engine) only spiders content.html and displays it under a relavent search string, the javascript will reload both nav.html AND content.html in their proper context rather than simply supplying you with content.html.
Hope that answers it and doesn't just rehash something you already understand.
On the generic javascript [webmasterworld.com] thread, there's some code near the bottom called "Force Many Pages Into Frames" which handles that problem. With Google and others indexing orphaned content pages, this can be a very useful tool for a framed site.