title: TypeError: window.open is not a function
body: <p>I keep getting this error on firebug -> TypeError: window.open is not a function</p>
  
  <p>code:</p>
  
  <pre><code>    $(document).ready(function()
  {
      $('.div').click(function()
      {
          var link = $(this).data('link');
          window.open(link);
      });
  });
  </code></pre>
  
  <p>Isn't that function supposed to work?</p>