function omelete(requisicao)
{
    var requisicao_matriz=requisicao.split(":");
    var comando = requisicao_matriz[0];
    var argumento = requisicao_matriz[1];     
    switch(comando)
    {
        case 'inicio':            
            if (document.all&&document.getElementById) 
            {
            
                if(navRoot=document.getElementById('omelete')){			

		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", "");
				}				
			}
		
		}
	        }
	        }            

        break
        
        case 'lexia':
            xajax_lexia(''+argumento+':'+document.location.hash+'');                             
        break
       
        case 'processamento':
            xajax_processamento(xajax.getFormValues(''+argumento+''));
        break

        case 'omeleteproc':
            xajax_omeleteproc(xajax.getFormValues(''+argumento+''));
        break

        case 'flash':
            var condicao = argumento.split(",");
            DivID = condicao[0];
            URL = condicao[1];
            WIDTH = condicao[2];
            HEIGHT = condicao[3];
            var d = document.getElementById(DivID);
            d.innerHTML ='<object type="application/x-shockwave-flash" data="' + URL + '" width="' + WIDTH + '" height="' + HEIGHT +'"> <param name="movie" value=' + URL + ' /> <param name="wmode" value="transparent" /></object>';
        break
       
        default:
            alert('erro');
    }

}

