<object id=hh1 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">
<param name="Command" value="Minimize"></object>
<object id=hh2 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">
<param name="Command" value="Maximize"></object>
<OBJECT id=hh3 classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM NAME="Command" value="Close"></OBJECT>
<input type=button value=最小化 onclick=hh1.Click()>
<input type=button value=最大化 onclick=hh2.Click()>
<input type=button value=关闭1 onclick=hh3.Click()>
<input type=button value=关闭2 onClick=javascript:window.close();return false;>
<button onClick="window.opener='anyone';window.close();">值得推荐的关闭</button>
<a href="javascript:close();">关闭本窗口</a>
<a href=javascript:window.opener=null;window.close()>Close</a>