title: Open multiple tabs in the same browser by JavaScript
body: <p>I would like to open multiple tab in the main browser:
  Here is my code:</p>
  
  <pre><code>    function openSM()
      {
          window.open("http://www.google.com","_blank");
          window.open("http://www.yahoo.com","_blank");
          window.open("http://www.bing.com","_blank");
      }
  ...
  &lt;div onClick="openSM()"&gt; This is a div &lt;/div&gt;
  </code></pre>
  
  <p>But only the first window open in new tab, the other windows open in a new browser.
  What I should do to open every page in the same browser?</p>