// called by searchbox.cfm
//
// This is used to ensure that the search box for the container
// is not left empty when submitting

function isBlank(field) {
	if ("" == field.value) {
		return true;
	}
	return false;
}

function validateForm(form) {
	if (isBlank(form.searchArg)) {
		alert('There is nothing to search for');
		return false;
	}
	return true;
}