rem: fg_curPopup.style.display = 'visible'; 
context: function showPopup(div){   if (fg_curPopup && fg_curPopup != div)      hidePopup();   else      cancelHidePopup();   fg_curPopup = div;   fg_curPopup.style.display = 'block';   fg_curPopup.style.display = 'visible';   fg_curPopup.onmouseover = cancelHidePopup;   fg_curPopup.onmouseout = delayHidePopup;   fg_curPopup.style.marginTop = "0px";   // calculate the top relative to the body   var top = 0;   var curElem = fg_curPopup;   while (curElem)   {      top += curElem.offsetTop || 0;      curElem = curElem.offsetParent;   }   // how far does the flyout extend beyond the screen?   // (the top of the flyout should not extend beyond the top of the screen)   var offscreenDistanceBottom = (top + fg_curPopup.offsetHeight) - (document.body.scrollTop + document.body.clientHeight);   offscreenDistanceBottom = Math.min(offscreenDistanceBottom, top - document.body.scrollTop);   if (offscreenDistanceBottom > 0)      fg_curPopup.style.marginTop = "-" + offscreenDistanceBottom + "px";}
meta: 9563	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9563/8b1d788d8623bf87307a68684a253b3ccd4993d1/revisions_popup.js/clean/trunk/rdiffWeb/static/revisions_popup.js