function checkQueryBox() { box = document.getElementById("query"); if(box.value == "Default Value") { box.value = ""; } }