parseInt not working for window.document
<p>Is there a reason that this would not work?</p>

<pre><code> var xcurrent = parseInt(window.document.getElementById('firstdiv').style.left);
 var ycurrent = parseInt(window.document.getElementById('firstdiv').style.top);
</code></pre>

<p>I'm being told it's not an integer NaN.</p>
