Problems with javascript "parseInt()"
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/850341/workarounds-for-javascript-parseint-octal-bug">Workarounds for JavaScript parseInt octal bug</a><br>
  <a href="http://stackoverflow.com/questions/1545164/how-to-parseint-a-string-with-leading-0">How to parseInt a string with leading 0</a>  </p>
</blockquote>



<pre><code>document.write(parseInt("07"));
</code></pre>

<p>Produces "7"</p>

<pre><code>document.write(parseInt("08"));
</code></pre>

<p>Produces "0"</p>

<p>This is producing problems for me (sorry for this babble, I have to or I can't submit the question).  Anyone know why it's being stupid or if there is a better function?</p>
