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?????

<title>Pop-up Windows</title>
<h1>Pop-up Windows</h1>
<p>press either of the buttons below to create or close a new pop-up window</p>
<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>