<script>
var wid=Math.round((screen.Width-200)/2)
var ht=Math.round((screen.Height-200)/2)
window.open("","","left="+wid+",top="+ht+",menubar,width=200,height=200")
</script>
var wid=Math.round((screen.Width-200)/2)
var ht=Math.round((screen.Height-200)/2)
window.open("","","left="+wid+",top="+ht+",menubar,width=200,height=200")
</script>
var wid=screen.availWidth-3
var ht=screen.availHeight-90
var www=window.open("","","width="+wid+",height="+ht+",menubar,top=0,left=0,status")
www.moveTo(-4,-4)
</script>
其实你看一下MSDN里DHTML的Help就什么都知道了。