Here ya go, the timer stops and everything...
function startClock(){
x = x+y
document.frm.txtcount1.value = x
document.frm.txtcount2.value = z
setTimeout("startClock()", 1000)
if(x==5){
z=z+1
y=0
x=0
}
if(z==1){
alert(txttick1);
document.frm.focus
z=0
}




Reply With Quote