rem: oy += 9; 
add: oy += 1; if (isMac) oy += 15; 
context: function showPopup(name, parent, ox, oy, od, e){  //if(getButton(e) != 3)  //  return true;  if(oy == 0)    oy = 15;  if(od == 0)    od = 10;  if(isNav5) {    ox += 8;    if (oy == -1)      oy += 9;    else      oy += 8;  }    if(popups.length != 0) {    if(popups[popups.length - 1].name == name)      // The corect popup is allredy there.      return retFromEvent(false);  }    clearToPopup(parent);  var popup = getObject(name);  if (!popup) {    alert("Unknown object: " + name);    return;  }    var p_x = getTargetX(e);  var p_y = getTargetY(e);    var p_h = getObjectHeight(name);  var p_w = getObjectWidth(name);  var c_h = getClientHeight();  var c_w = getClientWidth();  var s_l = getScrollLeft();  var s_t = getScrollTop();  // If netscape add the parent offset.  if(isNav4) {    if(parent == "none" && getObject("menu")) {      p_x += getObjectLeft("menu");      p_y += getObjectTop("menu");    } else if(parent != "none") {      p_x += getObjectLeft(parent);      p_y += getObjectTop(parent);    }  }  // Offset the popup to a better place.  if(parent != "none") {    p_x += popups[popups.length - 1].w - od;  } else {    p_x += ox;    p_y += oy;  }      //alert("px:"+p_x+" pw:"+p_w+" sl:"+s_l+" cw"+c_w);  //If the popup is placed outside the screen move it inside.  if(p_x + p_w > s_l + c_w)    p_x = s_l + c_w - p_w;    if(p_y + p_h > s_t + c_h)    p_y = s_t + c_h - p_h;    //alert("D, "+p_x);  popups[popups.length] = new popup_coord(name, parent,					  p_x, p_y - (parent == "none"?oy:0),					  p_w, p_h + (parent == "none"?oy:0),					  (parent == "none"?oy:0));  //popups.push(new popup_coord(name, parent,  //				p_x, p_y - (parent == "none"?oy:0),  //				p_w, p_h + (parent == "none"?oy:0)));  shiftTo(popup, p_x,  p_y);  show(popup);  if(isNav4) {    document.captureEvents(Event.MOUSEMOVE);    document.onMouseMove = popupMove;  } else {    document.onmousemove = popupMove;  }  return retFromEvent(false);}
meta: 2059	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2059/08106d6f4f551d6fd9c08dc4be5eecf06577e5dd/Popup.js/clean/server/modules/tags/javascript_support/scripts/Popup.js