if (top.location != self.location)
     top.document.location = self.location;