
WindowPopup.prototype = new _Popup();

function WindowPopup(width, height) {
  this.base(width, height);
  this.base_display = this.display;
  
  this.displayDelay = NODELAY;
  this.autoHiddenEnabled = false;
  this.div.className = 'plx_WindowPopup';
  this.div.style.zIndex += 10;
  
  this.display = function(content, x, y, width, height) {
    var content2 = '';
    content2 += '<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">';
    content2 += '<TR CLASS="plx_WindowPopupTopBar"><TD COLSPAN="3" ALIGN="RIGHT"><A HREF="javascript:'+Com_globalObjectAccess(this, 'hidden()')+'"><IMG SRC="/shared/images/closebutton.gif" BORDER="0"></A></TD></TR>';
    content2 += '<TR>';
    content2 += '<TD><IMG SRC="/void.gif" WIDTH="10" HEIGHT="1"></TD>';
    content2 += '<TD>';
    content2 += content;
    content2 += '</TD>';
    content2 += '<TD><IMG SRC="/void.gif" WIDTH="10" HEIGHT="1"></TD>';
    content2 += '</TR>';
    content2 += '<TR><TD COLSPAN="3" ALIGN="RIGHT"><IMG SRC="/void.gif" HEIGHT="5"></TD></TR>';
    content2 += '</TABLE>';
    this.base_display(content2, x, y, width, height);
  }
}
