Opening and Closing Windows in VBScript

The close window method appears to function properly when the close function is declared in a document by itself. Unusual !


	Sub btnOpen_onclick
		open "", "anotherWindow", "toolbar=no, menubar=no, width=640, height=480"
	End Sub

	Sub btnClose_onclick
	End Sub



	<INPUT TYPE="button" ID="btnOpen" VALUE="Open a Window">
	<INPUT TYPE="button" ID="btnClose" VALUE="Close that Window">