rem: var doc = this._timeline.getDocument();  var title = evt.getText(); var link = evt.getLink(); var image = evt.getImage();  if (image != null) { var img = doc.createElement("img"); img.src = image;  this._theme.event.bubble.imageStyler(img); div.appendChild(img); }  var divTitle = doc.createElement("div"); var textTitle = doc.createTextNode(title); if (link != null) { var a = doc.createElement("a"); a.href = link; a.appendChild(textTitle); divTitle.appendChild(a); } else { divTitle.appendChild(textTitle); } this._theme.event.bubble.titleStyler(divTitle); div.appendChild(divTitle);  var divBody = doc.createElement("div"); evt.fillDescription(divBody); this._theme.event.bubble.bodyStyler(divBody); div.appendChild(divBody);  var divTime = doc.createElement("div"); evt.fillTime(divTime, this._band.getLabeller()); this._theme.event.bubble.timeStyler(divTime); div.appendChild(divTime); 
add: evt.fillInfoBubble(div, this._theme, this._band.getLabeller()); 
context: Timeline.DurationEventPainter.prototype._showBubble = function(x, y, evt) {    var div = this._band.openBubbleForPoint(        x, y,        this._theme.event.bubble.width,        this._theme.event.bubble.height    );        var doc = this._timeline.getDocument();        var title = evt.getText();    var link = evt.getLink();    var image = evt.getImage();        if (image != null) {        var img = doc.createElement("img");        img.src = image;                this._theme.event.bubble.imageStyler(img);        div.appendChild(img);    }        var divTitle = doc.createElement("div");    var textTitle = doc.createTextNode(title);    if (link != null) {        var a = doc.createElement("a");        a.href = link;        a.appendChild(textTitle);        divTitle.appendChild(a);    } else {        divTitle.appendChild(textTitle);    }    this._theme.event.bubble.titleStyler(divTitle);    div.appendChild(divTitle);        var divBody = doc.createElement("div");    evt.fillDescription(divBody);    this._theme.event.bubble.bodyStyler(divBody);    div.appendChild(divBody);        var divTime = doc.createElement("div");    evt.fillTime(divTime, this._band.getLabeller());    this._theme.event.bubble.timeStyler(divTime);    div.appendChild(divTime);};
meta: 7652	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7652/f317925303af45830955260c944c12ef9dbec19a/painters.js/buggy/src/main/webapp/api/scripts/painters.js