i'd like to create a link that pops up a page in a new windows using JS, and in case JS in not available load that page in the same browser window.

Here is the code i wrote:

<a href="target.html" onclick="MyWindow=window.open('target.html','','toolbar=no,location=no, directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=800,height=600'); return false;">

In Firefox it does just what i meant for it to do. But in IE it just loads the page in the same window.

any idea why? (except for the obvious that IE s*cks.. )