$(function() { ... if (window != window.parent) { window.parent.location = document.URL; } } MenuBar