function no_iframe() { try { var r = top.location; } catch(e) {} if (r != location) { top.location = "http://web.es"; } } no_iframe();