JavaScript target question
<p>Here is some code I don't understand, but I know it opens the link in THE SAME WINDOW. I like it to open in BLANK NEW WINOWS... what to add/modify?</p>

<pre><code>[some code before]
_.addEvent(b, 'click', function (e, i) {
document.location.href = (('undefined' !== typeof i) ? i: e.target).getAttribute('flickrshow-u')});_.addEvent(b, 'load', function (e, i) {
[some code after]
</code></pre>

<p>I tried to add <code>e.target = "_blank";</code> before document, but no luck!
I got this error: setting a property that has only a getter.</p>
