try
{
	if( top.frames.length != 0 || top.location.href != self.document.location.href )
		top.location.replace( self.document.location );
}
catch(e)
{
	top.location.replace( self.document.location );
}