Forum Moderators: open
One thing you can change to improve, is to use document.location.relplace("<page>"); instead of document.location="<page>"; or document.location.href="<page>";
Replace does not store the current page in the browser's history list, so it does not disable the back button. Otherwise the user will click the backbutton, will get sent to your non-framed version, which will forward them into your framed version immediately. This behaviour is not usually detected by spiders, but would likely be banned if it were to be detected - Google AdWord, Overture and ESpotting do not allow listings if they have this behaviour.
I worked on a site with a similar problem - I redisigned the right hand pane as a product page/doorway page and included a buy button, related products & home-page link on each.
This was fairly easy to do as the majority of pages were a template & content created from a database.
Theres only a couple of frames ( top, left & default right) that I used script on, and these are never promoted. I just used:
if (frmRight == self) self.location.href = "default.htm";
I'd really like to switch to this new script - before I change everything though, are there any downsides to it?