Hi,
Can anyone give me a hand on the following piece of code i can get it all to work but for the Click to Open ...noting happens what is wrong with the code?????

<html>
<head>
<title>Pop-up Windows</title>
<body>
<h1>Pop-up Windows</h1>
<p>press either of the buttons below to create or close a new pop-up window</p>
<hr/>
<formname="popupform">
<input type="button"value="Open New Window"onClick="newwin=window.open(",'newwin','toolbar=no,status=no,width=2--,height=100')">
<p><input type="button"value="Click to close window"onClick="newwin.close();"></P>
</form>
</body>
</html>