// JavaScript Document

function startlist() {
	if (document.all&&document.getElementById) {
		if (document.getElementById("menu")) {
			navRoot = document.getElementById("menu");
			for (i=0; i<navRoot.childNodes.length; i++) {
				node = navRoot.childNodes[i];
				if (node.nodeName=="LI") {
					node.onmouseover=function() {
						this.className+=" over";
					}
					node.onmouseout=function() {
						this.className=this.className.replace(" over", "");
					}
				}
			}
		}
	}
}

			
function CheckSearchForm (oForm) {

	// Form Validation
	if (oForm.txtKeywordSearch.value.length < 4) {
		alert ('Search Term must be at least 4 characters in length.');
		PlaceSearchFocus(oForm);
		return false;
	} else {
		// Submit Form
		oForm.submit();
		return false;
	}
}
	

function PlaceSearchFocus (oForm) {
	oForm.txtKeywordSearch.focus();
}
