<input type="text" size="50" id="lala" />

<script type="text/javascript">
//<![CDATA[

var b = document.getElementById("lala");
var t = new CountDown();
t.date = false;
t.onStart = function(n){
	b.value = n;
	b.disabled = false;
}
t.onUpdate = function(n){
	b.value = n;
}
t.onStop = function(n){
	b.value = "Finish: " + n + "!!!";
	b.disabled = true;
}
t.onPause = function(n){
	b.value = "Pause: " + n;
	b.disabled = true;
}
t.onResume = function(n){
	b.value = n;
	b.disabled = false;
}

document.onclick = function(){
	if(t.finished) t.start(5, 10);
	else t.pause(2);
}

t.start(10, 1);

//]]>
</script>