function clearfield(id){ if (document.getElementById(id).value == "Text to Search for...") document.getElementById(id).value = ""; }