title: Google Chrome opens window.open(someurl) just fine...but page/window with clicked link also opens someurl.com
body: <p>As the title says "Google Chrome opens window.open(someurl) just fine...but page/window with clicked link also opens someurl.com.</p>
  
  <p>When I click the "Click here" link with the onclick="shpop..." call attached, my pop up opens /facebook_login.php' correctly...BUT...at the same time, the original window opens /facebook_login.php too!</p>
  
  <p>This happens in Chrome and IE, but FF is fine and doing just what i want..</p>
  
  <p>I have this link:</p>
  
  <pre><code>&lt;a href="/facebook_login.php" onclick="shpop('','','loginfb','');return false"&gt;Click here&lt;/a&gt;
  </code></pre>
  
  <p>I know I could remove the href="/facebook_login.php" and replace with href="#" .. but I need the link to work if js is disabled.</p>
  
  <p>I have this js code imported in my  tag: </p>
  
  <pre><code>function shpop(u,t,w,v)  
  {
      var text = encodeURI(t);
      var uri = encodeURI(u);
      var h = document.location.href;
      h = encodeURI(h);
      var wwidth='600'; /*popup window width*/
      var wheight='300'; /*popup window height*/
      if(v=='' || undefined==v)v=document.domain; /*popup name/title */
  
     switch(w){
         case 'loginfb':
             var url = '/facebook_login.php';
             wwidth='980';
             wheight='600';
         break;
     }
  
      window.open(url,v,'width='+wwidth+',height='+wheight);
      return false
  }
  </code></pre>
  
  <p>Any ideas?</p>