    document.onmousemove = catchMousePos;

    var IE = document.all?true:false
    var mouseX = 0;
    var mouseY = 0;

    function setMouseCoordinates() {
        d = document.getElementById('keyword_description');
        d.style.left = mouseX + 3;
        d.style.top = mouseY + 3;
    }
    
    function catchMousePos(e) {
        if (IE) { // grab the x-y pos.s if browser is IE
            try {
                tempX = window.event.clientX + document.body.scrollLeft;
                tempY = window.event.clientY + document.body.scrollTop;
            }
            catch (ex) {
                tempX = 0;
                tempY = 0;
            }
        }
        else {  // grab the x-y pos.s if browser is NS
            tempX = e.pageX;
            tempY = e.pageY;
        }
        if (tempX < 0) {
            tempX = 0;
        }
        if (tempY < 0) {
            tempY = 0;
        }  
        mouseX = tempX;
        mouseY = tempY;
        return true;
    }

