if (parent.location.href == self.location.href || !parent.correct_frame)
 window.location.href= '/frames.html?' + location.href;
