<!--//

function getPosition(e) {
    e = e || window.event;
    var cursor = {x:0, y:0};
    if (e.pageX || e.pageY) {
        cursor.x = e.pageX;
        cursor.y = e.pageY;
    } 
    else {
        cursor.x = e.clientX + 
            (document.documentElement.scrollLeft || 
            document.body.scrollLeft) - 
            document.documentElement.clientLeft;
        cursor.y = e.clientY + 
            (document.documentElement.scrollTop || 
            document.body.scrollTop) - 
            document.documentElement.clientTop;
    }
    return cursor;
} 


function cursor(text,id,e)
{
document.getElementById(id).innerHTML=''+ text +'';
document.getElementById(id).style.visibility="visible";
document.getElementById(id).style.position="absolute";
document.getElementById(id).style.left = getPosition(e).x+10 + "px";
document.getElementById(id).style.top = getPosition(e).y + "px";
//id.style.left = e.clientX+10 + "px";
//id.style.top = e.clientY + "px";
}

function hidecursor(id)
{
document.getElementById(id).style.visibility="hidden";
}
//<span id="id_descricao" style="visibility:hidden" class="tre10"> </span>

//-->
