var as = document.getElementsByTagName('a');
if (debug === 1) { document.write("Got the anchors"+"<BR>");}
new_td.className = "XUIPromptEntry";
if (debug === 1) { document.write("Set the td class name"+"<BR>");}
new_span.className = "minibuttonOn";
if (debug === 1) { document.write("Set the span class name"+"<BR>");}
new_a.innerHTML = "Reset";
if (debug === 1) { document.write("Set the inner HTML to reset"+"<BR>");}
new_a.href ="#";
if (debug === 1) { document.write("Set the href=#"+"<BR>");}
new_a.onclick = new_func;
if (debug === 1) { document.write("Set the onclick to the
new_func"+"<BR>");}
new_span.appendChild(new_a);
if (debug === 1) { document.write("Appended anchor to the span"+"<BR>");}
new_td.appendChild(new_span);
if (debug === 1) { document.write("Appended span to the td"+"<BR>");}
node.appendChild(new_td);
if (debug === 1) { document.write("Appended the td to the tr"+"<BR>");}
break;
}