if (top.frames.length != 0)
top.location = self.document.location;