function generarMenus() {
  if (document.all && document.getElementById && (navigator.appVersion.indexOf("Mac") == -1)) {
    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", "");
        }
      }
    }
  }
}

function mostrarMenu(mostrar) {
	
if(navigator.appName.indexOf("Netscape") != -1) 
//alert ('do nothing')
;
else
{
	var d = document;
	if (!d.getElementsByTagName) return;
	divs = d.getElementsByTagName('div');
	for (i=divs.length-1;div=divs[i];i--) {
		if (div.className.indexOf('rightoptionhide_30')!=-1 ||
			div.className.indexOf('facasfcriteria') != -1 ||
			div.className.indexOf('facasfcorpus') != -1 ||
			div.className.indexOf('rightoptionhide_im') != -1 ||
			div.className.indexOf('rightoptionhide_26') != -1 ||
			div.className.indexOf('csinput_tohide') != -1 ||
			div.className.indexOf('contactinput_tohide') != -1) {
			// Make an array of the rendered heights of the contained elements
			oh = []; for (j=0;j<div.childNodes.length;j++) { c = div.childNodes[j]; if (c.nodeName=='DIV') { oh[oh.length] = parseInt(c.offsetHeight); }}
			// Determine the max height
			h = 0; for (k=0;k<oh.length;k++) { h = (oh[k]>h)?oh[k]:h;}
			// Extend shorter elements
			for (j=0;j<div.childNodes.length;j++) { c = div.childNodes[j]; if (c.nodeName=='DIV') { c.style.height = 0+'px'; }}
			// Set the height of the containing element
			if (mostrar) div.style.visibility = 'hidden';
			else div.style.visibility = 'visible';
//			div.style.height = 80+'px';
			}
		}
	}
}