//submit function function submit() { if (document.faganForm.t.value=="") { alert("Please enter some text to search."); document.faganForm.t.focus(); } else { document.faganForm.submit() } } document.write("
Fagan Finder
→ get your own search box
")