var currentTip;

var IE = document.all?true:false

// If NS -- that is, !IE -- then set up for mouse capture
if (!IE) document.captureEvents(Event.MOUSEMOVE)
document.onmousemove=get_mouse;


function bigTool(divId) {
    if(currentTip) currentTip.visibility='hidden';
    currentTip = document.getElementById(divId).style;
    currentTip.visibility='visible';
}
function dropTool() {
    currentTip.visibility='hidden';
//    currentTip.left='0px';
}
function get_mouse(e){
    if(!currentTip) return;
    if(currentTip.visibility=='hidden') return; // return when not visible - otherwise may increase page width
    
    var x,y;
    if (IE) { // grab the x-y pos.s if browser is IE
        x = event.clientX + document.documentElement.scrollLeft
        y = event.clientY + document.documentElement.scrollTop
    } else {  // grab the x-y pos.s if browser is NS
        x = e.pageX
        y = e.pageY
    }
    // catch possible negative values in NS4
    if (x < 0){
        x = 0
        }
    if (y < 0){
        y = 0
        }

    x=x-275;
    y=y+20;
    currentTip.left=x+'px';
    currentTip.top=y+'px';
}
