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