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