sfHover = function() {
	var sfEls = document.getElementById("nav").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);
sfHover = function() {
	var sfEls = document.getElementById("nav2").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);
function hiddeMenu(){
	var oMenuLeft=document.getElementById('left');
	var oContenido=document.getElementById('right');
	oMenuLeft.style.visibility='hidden';
	oMenuLeft.style.display='none';
	oContenido.style.float='none';
	oContenido.style.width='98%';
}
function cmMailTo(sCorreo){
	var sCorreo=sCorreo+'@prodigy.net.mx';
	document.write('<a href="mailto: '+sCorreo+'">'+sCorreo+'</a>');
}
window.onload = function(){
		//alert('load complete');
		ReplaceAllTextareas();
	};
function ReplaceAllTextareas() {
	// replace all of the textareas
	var allTextAreas = document.getElementsByTagName("textarea");
	for (var i=0; i < allTextAreas.length; i++) {
		var oFCKeditor = new FCKeditor(allTextAreas[i].name);
		oFCKeditor.BasePath = "/jscripts/fckeditor/";
		oFCKeditor.ToolbarSet = 'Basic';
		oFCKeditor.ReplaceTextarea();
	}
}

