title: javascript redirect to new window
body: <p>I have this code that redirects to a page based on the value of a dropdown list:</p>
  
  <pre><code>&lt;Script language="JavaScript"&gt;
  function goto(form) { var index=form.select.selectedIndex
  if (form.select.options[index].value != "0") {
  location=form.select.options[index].value;}}
  //--&gt;
  &lt;/SCRIPT&gt;
  </code></pre>
  
  <p>How do I make that open in a new window?</p>