function foco(elemento) {
elemento.style.background = "#0D0E67";
elemento.style.color = "#FFFFFF";
}

function no_foco(elemento) {
elemento.style.background = "#FFFFFF";
elemento.style.border = "1px solid #CCCCCC";
elemento.style.color = "#000000";
}

function focob(elemento) {
elemento.style.background = "#0D0E67";
elemento.style.color = "#E4FFA4";
elemento.style.border = "1px solid #E4FFA4";
}

function no_focob(elemento) {
elemento.style.background = "#E4FFA4";
elemento.style.color = "#0D0E67";
elemento.style.border = "1px solid #0D0E67";
}

var theObj="";

function toolTip(text,me) {
  theObj=me;
  theObj.onmousemove=updatePos;
  document.getElementById('toolTipBox').innerHTML=text;
  document.getElementById('toolTipBox').style.display="block";
  window.onscroll=updatePos;
}

function updatePos() {
var ev=arguments[0]?arguments[0]:event;
var x=ev.clientX-150;
var y=ev.clientY;
diffX=0;
diffY=0;
document.getElementById('toolTipBox').style.top = y-2+diffY+document.body.scrollTop+ "px";
document.getElementById('toolTipBox').style.left = x-2+diffX+document.body.scrollLeft+"px";
theObj.onmouseout=hideMe;
}
function hideMe() {
document.getElementById('toolTipBox').style.display="none";
}