window.open in a function replaces current tab as well as opens new tab
<p>I have a funny complication i would like to understand,  if i have window.open as the onclick event of an anchor, a new tab is opened as required. If the onclick calls a function, which in turn does a window.open a new tab is opened, but also the current tab gets the new url as well.</p>

<p>I can demonstrate it <a href="http://jsfiddle.net/symeon/AJm9x/3/" rel="nofollow">here</a>   it works ok when you click on the link, wheras <a href="http://jsfiddle.net/symeon/AJm9x/" rel="nofollow">here</a> the url is also opened in the results area as well ! </p>

<p>Thanks
Symeon.</p>
