/*
  ----------------------------------------------------
   usado para el menu que se debe desplegar y plegar.
  ----------------------------------------------------
*/
function cambia_menu_status( id ) {
	if ( document.getElementById( "c" + id ).style.display == "block" )
    {
        //acampos
		document.getElementById( "c" + id ).style.display = "none";
	}
    else
    {
        //acampos
		document.getElementById( "c" + id ).style.display = "block";
	}
}

/*
son of suckerfish menu script from:
http://www.htmldog.com/articles/suckerfish/dropdowns/
*/
 
sfHover = function() {
	var sfEls = document.getElementById("ddmenu").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
			this.style.zIndex=200; //this line added to force flyout to be above relatively positioned stuff in IE
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
