function validateSearch(f) {
	var bErrorFound = false;
	var strErrorMsg = 'Please correct the following problems:\n'

	if (f.searchWord.value.replace(/\s*/g,'').length == 0 || f.searchWord.value == 'Enter keyword') {
		strErrorMsg = strErrorMsg + '\n - A search keyword is required';
		bErrorFound = true;
	}

	if (bErrorFound == true) {
		alert(strErrorMsg);
		return false;
	} else {		
		return true;	
	}
}

function eraseDefault(that) {
	if (that.value == 'Enter keyword') {
		that.value = '';
	 }
}
