if (top == self) self.location.href = "FRAMESET FILENAME GOES HERE";
Here is another example I have found:
<Body bgcolor="#FFFFFF" OnLoad="if (parent.frames.length==0)
top.location='complete path of frame index url here';">
I am wondering if you would to discourage someone creating a website from using frames because it might penalize them in these big search engines?
Any information on the topic would be greatly appreciated. Thanks in advance.