子窗口打开后关闭父窗口
window.opener=null;
windwo.open("","_self");//可以参考window.open()方法
window.open("open.html","_blank","");
window.close();