function doClear(theText) {
	switch (theText.value) {
		case theText.defaultValue:
			theText.value = "";
			theText.style.color = "#000000";
			break;
		case "":
			theText.style.color = "#cccccc";
			theText.value = theText.defaultValue;
			break;
	}
}