function checkCriticalEffectsSearch(){
	msg = "";
	isChecked = false;
	hasTerm = false;
	shouldFocus = false;

	for (i=0; i < document.getElementById('criticalEffectsSearch').checkbox1.length; i++){
		if (document.getElementById('criticalEffectsSearch').checkbox1[i].checked){
			isChecked = true;
			break;
		}
	}

	if (!(isChecked)){
		msg = "Please select an area to Search";
		highlightArea = '';
	}

	if (document.getElementById('critical_textfield').value == ''){
		txt = "Please enter a Critical Effect(s), Precursor Effect(s) and/or Tumor Type(s).";
		if (msg == ''){
			msg = txt;
		}
		else {
			msg = txt + "\n\n" + msg;
		}
		highlightArea = 'critical_textfield';
		shouldFocus = true;
	}
	else {
		hasTerm = true;
	}

	if (isChecked && hasTerm){
		return true;
	}
	else {
		if (highlightArea != ''){
			Highlight(highlightArea);
		}
		alert(msg);
		if (shouldFocus){
			document.getElementById('critical_textfield').focus();
		}
		return false;
	}
}