function clearPrompts(formID) {
	var theForm = $(formID)
	if (theForm) {
		var aFields = theForm.getInputs();
		for (var i = 0; i < aFields.length; i++) {
			var theField = aFields[i];
			var thePrompt = theField.getAttribute('prompt');
			
			if (thePrompt && thePrompt.length) {
				theField.value = theField.value.gsub(thePrompt, "");
			}
		}
	}
}

function addPrompts(formID) {
	var theForm = $(formID)
	if (theForm) {
		var aFields = theForm.getInputs();
		for (var i = 0; i < aFields.length; i++) {
			var theField = aFields[i];
			var thePrompt = theField.getAttribute('prompt');
			
			if (thePrompt && thePrompt.length && theField.value.length == 0) {
				theField.value = thePrompt;
			}
		}
	}
}

