<!-- 把下面代码加到<body>区域中 -->
<script>
window.onunload=e;
function e(){
closes.Click();
return;
window.close();
}
</script>
<OBJECT id=closes type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Close">
</object>
刷新页面就关闭窗口