// JavaScript Document
function abrirSubmenu(nomSubmenu, liid) {
	ocultarSubmenus();
	switch (nomSubmenu) {
		case "empresa":
			document.getElementById("menuEmpresa").style.display="block";
			break;
		case "producto":
			document.getElementById("menuProducto").style.display="block";
			break;
		case "area":
			document.getElementById("menuArea").style.display="block";
			break;			
	}
}
function ocultarSubmenus() {
	document.getElementById("menuEmpresa").style.display="none";
	document.getElementById("menuProducto").style.display="none";
	document.getElementById("menuArea").style.display="none";
}
function irURL(ruta) {
	window.location = ruta;
}