-1)){ alert('Search words input is invalid. Please make changes and resubmit your search.'); return false; }else{ return true; } }