How to find the remaining time of a setTimeout()
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3144711/javascript-find-the-time-left-in-a-settimeout">Javascript: find the time left in a setTimeout()?</a>  </p>
</blockquote>



<p>I'm trying to use <code>setTimeout()</code> as a way of pausing a series of events in JS.<br>
Here's an example of what I'm doing and what I'd like to do in comments - <a href="http://jsfiddle.net/8m5Ww/2/" rel="nofollow">http://jsfiddle.net/8m5Ww/2/</a></p>

<p>Any suggestions how I can populate <code>var timeRemaining</code> with the total milliseconds remaining in <code>var a</code>?</p>
