rem: pos = { x: box.screenX + 5, y: box.screenY + box.height + 25 }; popup.moveTo(pos.x, pos.y); popup.showPopup(el, 0, 0, "tooltip"); 
add: { var box = el.ownerDocument.getBoxObjectFor(el); var pos = { x: client.mainWindow.screenX + box.screenX + 5, y: client.mainWindow.screenY + box.screenY + box.height + 25 }; popup.moveTo(pos.x, pos.y); popup.showPopup(el, 0, 0, "tooltip"); } 
context: function onInputKeyPressCallback (el){    function doPopup(popup)    {        if (client.inputPopup && client.inputPopup != popup)            client.inputPopup.hidePopup();                client.inputPopup = popup;        if (popup)        {            var box = el.boxObject;            var pos;            if (!box)                box = el.ownerDocument.getBoxObjectFor(el);            if (el.nodeName == "textbox")                pos = { x: box.screenX,                         y: box.screenY - box.height - popup.boxObject.height };            else                pos = { x: box.screenX + 5,                         y: box.screenY + box.height + 25 };            popup.moveTo(pos.x, pos.y);            popup.showPopup(el, 0, 0, "tooltip");        }    }        var text = " " + el.value.substr(0, el.selectionStart);    if (el.selectionStart != el.selectionEnd)        text = "";        if (text.match(/[^%]%C[0-9]{0,2},?[0-9]{0,2}$/))        doPopup(document.getElementById("colorTooltip"));    else if (text.match(/[^%]%$/))        doPopup(document.getElementById("percentTooltip"));    else        doPopup(null);}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/c6101b49aef97cf47069c333c0e54bcdd4a66616/handlers.js/buggy/xul/content/handlers.js