title: Terms and Conditions popup for website
body: <pre><code>&lt;script type="text/javascript"&gt;
  &lt;!--
  function myPopup(){
   window.open("http://supportplans.co.uk/wp-content/themes/MyProduct/TandC.html", 
              "myWindow", "status = 1, height = 300, width = 300, resizable = 0" )
   return false;
  }
  //--&gt;
  &lt;/script&gt;
  &lt;form method="post" target="_blank"&gt;
  </code></pre>
  
  <p>I have a PayPal button on my site and when clicked it opens a small window with the terms and conditions:</p>
  
  <pre><code>&lt;form action="https://www.paypal.com/cgi-bin/webscr" method="post"&gt;
      &lt;input type="hidden" name="cmd" value="_s-xclick" /&gt;
      &lt;input type="hidden" name="cmd" value="_s-xclick" /&gt;
      &lt;input type="hidden" name="hosted_button_id" value="RULSZYMU6S3KN" /&gt;
      &lt;input type="hidden" name="hosted_button_id" value="4MUG5X5JBXNCA" /
      &lt;input type="Submit" name="submit" value="I accept" /&gt;
  </code></pre>
  
  <p>When clicking I Accept, it opens the payment page on PayPal in the tiny window.</p>
  
  <p>How do I get it to open the PayPal in a new window? I would also like the small Terms and Conditions window to close in the onClick method.</p>