Breaking out of Frames Code



Automatically breaks out of a frame

<script><!-- if (top.location != location) top.location.href = location.href; //--></script></FONT> <P><B>Automatically breaks out of a frame</B> <P style="TEXT-ALIGN: left"><FONT size=-1><SCRIPT LANGUAGE="JavaScript"><!--setTimeout ("changePage()", 3000); function changePage() {if (self.parent.frames.length != 0) self.parent.location="http://www.yoururl.whatever";}//--></SCRIPT></P></FONT> <P><B>Link to break out</B> <P><FONT size=-1>Trapped in a Frame? <A HREF="http://www.your_url.com" target="_top">Break Out Now</A> </FONT> <P>