if ((self.parent && !(self.parent === self)) && (self.parent.frames.length != 0)) { self.parent.location = document.location }