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