// cambiar color en <tr> cuando ratonarriba

var marked = new Array;

function hili(tr,i,bg){
	if(typeof(marked[i]) == 'undefined' || !marked[i]){
			tr.style.backgroundColor = bg;
	}
}

function marker(tr,i,color,mark_color){
	if(typeof(marked[i]) == 'undefined' || !marked[i]){
		marked[i] = true;
		tr.style.backgroundColor = mark_color;
	}
	else{
		marked[i] = false;
		tr.style.backgroundColor = color; 
	}
}

// funcción para activar :hover en todos elementos en MSIE
startList = function() {
if (document.all&&document.getElementById) {
  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", "");
    }
   }
  }
 }
}

//-->
