function fireIt () { var now = new Date(); var displayStr = window.document.theForm.txtFired.value; displayStr += x.name + " " + now + "rn"; document.theForm.txtFired.value = displayStr; }
function startIt (name) { x = new Thing (name); timerID = setInterval("fireIt()", 1000); }