<!-- Begin
function replaceChars(test) {
out = "$"; // replace this
add = ""; // with this
entry = document.forms.subform.amount.value
temp = "" + entry; // temporary holder

   
while (temp.indexOf(out)>-1) {

pos= temp.indexOf(out);
temp = "" + (temp.substring(0, pos) +  
temp.substring((pos + out.length), temp.length));

}

document.subform.amount.value = temp

return true
}
//  End -->