alert(window.opener === null);
window.opener.location = "http://www.yahoo.com/";