");
function opentext(settxt){
divid="tiptext";
if(document.all){
d_div=document.all(divid);
rx = event.clientX + document.body.scrollLeft +set_x;
ry = event.clientY + document.body.scrollTop +set_y;
}else{
d_div=document.getElementById(divid);
rx = NNX + set_x;
ry = NNY + set_y;
}
if(settxt){
d_div.style.display="block";
d_div.style.left = rx +"px";
d_div.style.top = ry +"px";
d_div.innerHTML = settxt;
}else{
d_div.style.display="none";
d_div.innerHTML = ""; }
}
function getMousePos(e){
var obj = new Object();
if(e){
obj.x = e.pageX;
obj.y = e.pageY;
}else{
obj.x = event.x;
obj.y = event.y;
}
return obj;
}
function setPos(){
window.document.onmousemove = function(e){
NNX = getMousePos(e).x;
NNY = getMousePos(e).y;
}
}
setPos();