add: var el = targetnode.getElementsByTagName('img')[0]; if (el) { kupuFixImage(el); } 
context:     this.updateDisplay = function(id) {      /* (re-)transform XML and (re-)display the necessary part       */        if(!id) {            id = this.drawerid;        };        var xsltproc = this.shared.xsltproc;        if (!xsltproc) {            return;        }        for (var k in this.options) {            xsltproc.setParameter("", k, this.options[k]);        }        xsltproc.setParameter("", "multiple", this.multiple?"yes":"");        xsltproc.setParameter("", "showupload", this.showupload);        xsltproc.setParameter("", "showanchors", this.showanchors);        var doc = this._transformXml();        var sourcenode = doc.selectSingleNode('//*[@id="'+id+'"]');        var targetnode = document.getElementById(id);        if (!sourcenode || !targetnode) return;        Sarissa.copyChildNodes(sourcenode, targetnode);        if (!this.focussed) {            this.focusElement();        }        // Mark drawer as having a selection or not        var el = this.element;        el.className = el.className.replace(' kupu-has-selection', '');        if (this.xmldata.selectSingleNode("//*[@selected]//*[@checked]")) {            this.element.className += ' kupu-has-selection';        };        if (this.editor.getBrowserName() == 'IE' && id == this.resourcespanelid) {            this.updateDisplay(this.drawerid);        };    };
meta: 2380	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2380/0e11960f111b1bf9fdd37c212e6c61ebe07ed5ec/kupudrawers.js/clean/kupu/common/kupudrawers.js