<SCRIPT type="text/javascript">
function closeWin(){
window.opener.location.reload();//先刷新父页面
alert("添加成功!");
window.close();
}
</SCRIPT>
<body onload="closeWin();">