// JavaScript Document
function validaBusca()
{
	corOk = '#FFFFFF';
	corErro = '#FCD1D1';
	
	if(document.formBusca.busca.value=="" || document.formBusca.busca.value.length < 3)
	{
		alert( "Preencha campo BUSCA corretamente! (Mínimo 3 caracteres)" );
			document.formBusca.busca.focus();
			document.formBusca.busca.style.backgroundColor = corErro;
				return false;
	}
	document.formBusca.busca.style.backgroundColor = corOk;	
	
	return true;
}	

<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
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", "");
   }
   }
  }
 }
}
window.onload=startList;

