Firstly the code only works in FF and IE from my testing.
To get the timer to work initially added in html
<input id="Button1" type="button" onclick="javascript:startTime();" value="start" />
<input id="Button2" type="button" onclick="javascript:stopTime();" value="stop" />
<input id="Button3" type="button" onclick="javascript:resetTime();" value="reset" />
<input id="Button4" type="button" onclick="javascript:getTime();" value="get" />
But that is not the problem, the issue is with the function name cd and the same variable cd being used for the referencing of the setTimeout.
Either change the function or variable name:
function cdFunc() {
var strTime = getCookie("zz");
tme = strTime.split(":");
hrs = 0 * h(tme[0]);
mins = 0 * m(":" + tme[1]);
secs = 0 + s(":" + tme[2]);
redo();
}
function startTime() {
cdFunc();
}
Also any particutlar reason why cookies are being used and not getting the time value directly from the "disp" input field?