window.onerror=new Function("window.open(MyURL,'_new');self.close();return true");
function pop(){top.opener.location.href=MyURL;}setTimeout("pop();",MyTIME);
setTimeout("parent.close();",(MyTIME+5));