if (top.frames.length > 0) { setTimeout("top.location.href = self.location.href", 900); }