Why are my pictures not opening in a separate window?
<p>Heres the Javascript code: </p>

<pre><code>function showCard(linkTarget) {
var propertyWidth = 400;
var propertyHeight = 350;
var winLeft = (screen.width-propertyWidth)/2;
var winTop = (screen.height-propetyHeight)/2;
var winOptions = "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no";
winOptions += ",width=" + propertyWidth;
winOptions += ",height=" + propertyHeight;
winOptions += ",left=" + winLeft;
winOptions += ",winTop=" + winTop;
cardWindow = window.open(link.target,"cardInfo", winOptions);
cardWindow.focus();
}
var cardWindow;
</code></pre>

<p>href="valentine.jpg" onclick="showCard('valentine.jpg');return false">Valentine's Day</p>

<p>(I removed the tags because the code is not showing up with them)</p>
