function  clearTextBox(textBox, defaultValue) {
    if (textBox.value == defaultValue) {
        textBox.value = "";
    }
}

function  setTextBoxText(textBox, defaultValue) {  
    if (textBox.value != defaultValue) {  
        textBox.value = defaultValue;
    }
}
