/* $Id: utility.js,v 1.1.2.2 2005/11/30 21:09:00 robinmonks Exp $ */
// functions for clearing and restoring input field values
function clearText(thefield) {if (thefield.defaultValue == thefield.value) {thefield.value = ""; // if the field hasn't been edited, clear it
}
}
function replaceText(thefield) {if (thefield.value == "") { thefield.value = thefield.defaultValue;
// if the field hasn't been edited, restore the default value
}
}
