thisPage = window.location.href;

function escapeFrames() {
//if (thisPage != window.top.location.href) {
if (parent.frames.length >= 1) {
window.top.location.href = thisPage;
return true;
}
}

escapeFrames();

