add: var plusX=0, plusY=0, docX=0; docY=0; var divHeight = myTooltipContainer.clientHeight; var divWidth  = myTooltipContainer.clientWidth; if (navigator.appName.indexOf("Explorer")!=-1) { if (document.documentElement && document.documentElement.scrollTop) { plusX = document.documentElement.scrollLeft; plusY = document.documentElement.scrollTop; docX = document.documentElement.offsetWidth + plusX; docY = document.documentElement.offsetHeight + plusY; } else { plusX = document.body.scrollLeft; plusY = document.body.scrollTop; docX = document.body.offsetWidth + plusX; docY = document.body.offsetHeight + plusY; } } else { docX = document.body.clientWidth; docY = document.body.clientHeight; }  ttXpos = ttXpos + plusX; ttYpos = ttYpos + plusY;  if ((ttXpos + divWidth) > docX) ttXpos = ttXpos - (divWidth + (ttXadd * 2)); if ((ttYpos + divHeight) > docY) ttYpos = ttYpos - (divHeight + (ttYadd * 2));  
context: function pmaTooltip(theText) {    textTooltip(theText);    moveTooltip((ttXpos + ttXadd), (ttYpos + ttYadd));    holdTooltip();}
meta: 5450	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5450/4e99e2d1f296112915ec4a2f1300a955a7c7470f/tooltip.js/buggy/libraries/tooltip.js