   if (parent.frames.length > 0) { 
      parent.location.href = location.href 
   }
if (top.location.href != self.location.href) 
       { 
       top.location.href=self.location.href; 
       } 