Xoffset= 20; // valor x
Yoffset= 0;    // valor y

var old,skn,iex=(document.all),yyy=-1000;

var nts4=document.layers
var nts6=document.getElementById&&!document.all
var iex4=document.all

if (nts4)
skn=document.box
else if (nts6)
skn=document.getElementById("dek").style
else if (iex4)
skn=document.all.box.style
if(nts4)document.captureEvents(Event.MOUSEMOVE);
else{
skn.visibility="visible"
skn.display="none"
}
document.onmousemove=get_mouse;

function show(msg,bak,brd){
var content="<TABLE  WIDTH=150 BORDERCOLOR=black CELLPADDING=0 CELLSPACING=0 BGCOLOR="+brd+"><TR><TD><TABLE  WIDTH=150 BORDERCOLOR=black CELLPADDING=1 CELLSPACING=1"+
"><TR><TD ALIGN=center BGCOLOR="+bak+"><FONT FACE='Verdana, Arial, Helvetica, sans-serif' COLOR=black SIZE=1><strong>"+msg+"</strong></FONT></TD></TR></TABLE></TD></TR></TABLE>";
yyy=Yoffset;
 if(nts4){skn.document.write(content);skn.document.close();skn.visibility="visible"}
 if(nts6){document.getElementById("box").innerHTML=content;skn.display=''}
 if(iex4){document.all("box").innerHTML=content;skn.display=''}
}

function get_mouse(e){
var x=(nts4||nts6)?e.pageX:event.x+document.body.scrollLeft;
skn.left=x+Xoffset;
var y=(nts4||nts6)?e.pageY:event.y+document.body.scrollTop;
skn.top=y+yyy;
}

function hide(){
yyy=-1000;
if(nts4){skn.visibility="hidden";}
else if (nts6||iex4)
skn.display="none"
}
