<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>窗口的最大化、最小化</title>
<style type="text/css">
<!--
body {
background-image: url(1.jpg);
}
-->
</style></head>
<body>
<input name="botton1" type=button id="botton1" onClick=hh1.Click() value=最小化>
<input name="botton2" type=button id="botton22" onClick=hh2.Click() value=最大化>
<div id="aa"></div>
<script language="JavaScript">
var s="";
s=s+'<object id=hh1 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">';
s=s+'<param name="Command" value="Minimize"></object>';
s=s+'<object id=hh2 classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11">';
s=s+'<param name="Command" value="Maximize"></object>';
aa.innerHTML=s;
</script>
</body>
</html>