if (window.top!=self){ 
window.top.location=self.location 
}