NewOrder -1 Posting Whiz

This is javascript:

function OpenNewWindow(book) 
{ 
              if (book==1)
			  {
				  
          document.cover.src='images/KanyLogo.jpg' 
	  
             MyWindow = window.open('', 'myAdWin', 'titlebar=0 status=0,  toolbar=0, location=0, menubar=0, directories=0, resizable=0, height=50, width=150,left=500, top=400')    

           MyWindow.document.write('10% Discount for Java Demysti? ed!') 
			  }
			         if (book==2)
			  {
				  
      document.cover.src='images/KanyLogo.jpg' ;
	  
             MyWindow = window.open('', 'myAdWin', 'titlebar=0 status=0,  toolbar=0, location=0, menubar=0, directories=0, resizable=0, height=50, width=150,left=500, top=400')    

           MyWindow.document.write('10% Discount for Java Demysti? ed!') 
			  }
			         if (book==3)
			  {
				  
      document.cover.src='images/KanyLogo.jpg' ;
	  
             MyWindow = window.open('', 'myAdWin', 'titlebar=0 status=0,  toolbar=0, location=0, menubar=0, directories=0, resizable=0, height=50, width=150,left=500, top=400')    

           MyWindow.document.write('10% Discount for Java Demysti? ed!') 
			  }

}

This is the body:

<A href="#" onmouseover="OpenNewWindow(1)" onmouseout="MyWindow.close()">Gold Subcription"</a><br/>
<a href="#" onmouseover="OpenNewWindow(2)" onmouseout="MyWindow.close()">Silver Subscription</a><br/>
<a href="#" onmouseover="OpenNewWindow(3)" onmouseout="MyWindow.close()">Bronze Subscription</a><br/>