if (parent.location.href != "" && parent.location.href != window.location.href) {
parent.location.href = window.location.href;
}
if (parent.location.href != "" && parent.location.href != window.location.href) {
parent.location.href = window.location.href;
}