rem: this.div.appendChild(closeImg); 
add: this.groupDiv.appendChild(closeImg); 
context:     initialize:function(id, lonlat, size, contentHTML, closeBox) {        if (id == null) {            id = OpenLayers.Util.createUniqueID(this.CLASS_NAME + "_");        }        this.id = id;        this.lonlat = lonlat;        this.size = (size != null) ? size                                   : new OpenLayers.Size(                                                   OpenLayers.Popup.WIDTH,                                                   OpenLayers.Popup.HEIGHT);        if (contentHTML != null) {              this.contentHTML = contentHTML;        }        this.backgroundColor = OpenLayers.Popup.COLOR;        this.opacity = OpenLayers.Popup.OPACITY;        this.border = OpenLayers.Popup.BORDER;        this.div = OpenLayers.Util.createDiv(this.id, null, null,                                              null, null, null, "hidden");        this.div.className = 'olPopup';        var id = this.div.id + "_contentDiv";        this.contentDiv = OpenLayers.Util.createDiv(id, null, this.size.clone(),                                                     null, "relative", null,                                                    "hidden");        this.contentDiv.className = 'olPopupContent';                                                    this.div.appendChild(this.contentDiv);        if (closeBox == true) {           // close icon            var closeSize = new OpenLayers.Size(17,17);            var img = OpenLayers.Util.getImagesLocation() + "close.gif";            var closeImg = OpenLayers.Util.createAlphaImageDiv(this.id + "_close",                                                                 null,                                                                 closeSize,                                                                 img);            closeImg.style.right = this.padding + "px";            closeImg.style.top = this.padding + "px";            this.div.appendChild(closeImg);            var closePopup = function(e) {                this.hide();                OpenLayers.Event.stop(e);            }            OpenLayers.Event.observe(closeImg, "click",                                      closePopup.bindAsEventListener(this));        }        this.registerEvents();    },
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/e4599ea06f37850b98e9c2d4b41de136cb04dbc9/Popup.js/buggy/lib/OpenLayers/Popup.js