I have used the following scripts to cause my pages to automatically break out of frames:
if (window != top){ top.location = self.location;}
if (self!= top){ top.location = self.location;}

The odd thing is that MSIE 6.0 always gets tripped up by these script once and reloads the page. To the user this just causes a momentary blip in their page display, however, it also causes Google AdSense to reload artificially inflating my impressions. Now this doesn't cause a crisis problem as AdSense only pays by clicks. It does, however, hurt my ability to get a realistic count of how many AdSense impressions I'm getting.

Does anybody know of a routine that will automatically break one's site out of frames without causing MSIE to always refresh the page?