function clearInputValue(inputId, defaultText) {
var obj = document.getElementById(inputId);
if (obj.value == defaultText) {
var color1 = obj.style.color;
obj.style.color = '#000';
if (color1 != obj.style.color) {
obj.value = "";
obj.style.color = '#000';
}
}
}
function setDefaultIfEmpty(inputId, defaultText) {
var obj = document.getElementById(inputId);
if (obj.value == "") {
obj.value = defaultText;
obj.style.color = '#999';
}
}
function setDefault(inputId, defaultText) {
var obj = document.getElementById(inputId);
obj.value = defaultText;
obj.style.color = '#999';
}

