
// Header Search Form Validation
// Makes sure that user has entered keywords(s)
// before hitting the 'search' button

function headerSearch(){

	//alert("Search: " + document.topSearch.submit.value);

	//Set the default error message
	errmsg = "";
	if (document.topSearch.searchString.value=="") {
		errmsg += "Enter the keyword(s) you want to search for.\n";
	}
	//Check to see if we added anything to the default error message
	if (errmsg != ""){
		alert(errmsg);
		return false;
	}
	
	return true;

}

