How to add Javascript "Stop" and "Reset" Button to the following:
<p>I need help with adding a stop and reset button for the following count up, so that it doesnt start till you press start, and it doesnt reset unless you press reset, also a stop button would be good! Thanks! cause as you see the buttons i have dont work. Thanks</p>

<pre><code>&lt;html&gt;
&lt;head&gt;

&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;/head&gt;
&lt;script&gt;

var timer;


function startCount()
{
timer = setInterval(count,1);
}
function count()
{
var el = document.getElementById('counter');
var currentNumber = parseFloat(el.innerHTML);
el.innerHTML = currentNumber+0.00000003831417624521;

}
&lt;/script&gt;
&lt;body onload="startCount();"&gt;



&lt;div id="counter"&gt;0&lt;/div&gt;

&lt;input type="button" value="reset" id="reset" /&gt;
&lt;input type="button" value="start" id="start" /&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
