function mostrarMenuMicrofinanzas() {
	document.getElementById('menu-microfinanzas').style.left = 'auto'
}

function ocultarMenuMicrofinanzas() {
	document.getElementById('menu-microfinanzas').style.left = '-999px'
}

function mostrarMenuJunior() {
	document.getElementById('menu-junior').style.left = 'auto'
}

function ocultarMenuJunior() {
	document.getElementById('menu-junior').style.left = '-999px'
}

function mostrarMenuEscuela() {
	document.getElementById('menu-escuela').style.left = 'auto'
}

function ocultarMenuEscuela() {
	document.getElementById('menu-escuela').style.left = '-999px'
}

sfHover = function() {
	var sfEls = document.getElementById("menu-lateral").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}

sfHover2 = function() {
	var sfEls = document.getElementById("destacado-home-3").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}

sfHover3 = function() {
	var sfEls = document.getElementById("destacado-home-1").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}

sfHover4 = function() {
	var sfEls = document.getElementById("destacado-home-2").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}

if (window.attachEvent) window.attachEvent("onload", sfHover);
if (window.attachEvent) window.attachEvent("onload", sfHover2);
if (window.attachEvent) window.attachEvent("onload", sfHover3);
if (window.attachEvent) window.attachEvent("onload", sfHover4);
