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