//JavaScript to clear and replace text in email input form when clicked on

/*var clearInputValue = Array();
function clearInput(thisObj){
if(!clearInputValue[thisObj]){
clearInputValue[thisObj] = thisObj.value;
thisObj.value = "";
}
}
function replaceInput(thisObj){
if(thisObj.value == ""){
thisObj.value = clearInputValue[thisObj];
clearInputValue[thisObj]= false;
}
}*/

function clickclear(thisfield, defaulttext) {
if (thisfield.value == defaulttext) {
thisfield.value = "";
}
}
function clickrecall(thisfield, defaulttext) {
if (thisfield.value == "") {
thisfield.value = defaulttext;
}
}