rem:  var topDiv = doc.createElement("div"); topDiv.style.height = "33px"; topDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-top-left.png) top left no-repeat"; topDiv.style.paddingLeft = "44px"; containerDiv.appendChild(topDiv);  var topRightDiv = doc.createElement("div"); topRightDiv.style.height = "33px"; topRightDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-top-right.png) top right no-repeat"; topDiv.appendChild(topRightDiv);  var middleDiv = doc.createElement("div"); middleDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-left.png) top left repeat-y"; middleDiv.style.paddingLeft = "44px"; containerDiv.appendChild(middleDiv);  var middleRightDiv = doc.createElement("div"); middleRightDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-right.png) top right repeat-y"; middleRightDiv.style.paddingRight = "44px"; middleDiv.appendChild(middleRightDiv);  var contentDiv = doc.createElement("div"); middleRightDiv.appendChild(contentDiv);  var bottomDiv = doc.createElement("div"); bottomDiv.style.height = "55px"; bottomDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-bottom-left.png) bottom left no-repeat"; bottomDiv.style.paddingLeft = "44px"; containerDiv.appendChild(bottomDiv);  var bottomRightDiv = doc.createElement("div"); bottomRightDiv.style.height = "55px"; bottomRightDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-bottom-right.png) bottom right no-repeat"; bottomDiv.appendChild(bottomRightDiv); 
add: if (Timeline.Graphics.pngIsTranslucent) { var topDiv = doc.createElement("div"); topDiv.style.height = "33px"; topDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-top-left.png) top left no-repeat"; topDiv.style.paddingLeft = "44px"; containerDiv.appendChild(topDiv);  var topRightDiv = doc.createElement("div"); topRightDiv.style.height = "33px"; topRightDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-top-right.png) top right no-repeat"; topDiv.appendChild(topRightDiv);  var middleDiv = doc.createElement("div"); middleDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-left.png) top left repeat-y"; middleDiv.style.paddingLeft = "44px"; containerDiv.appendChild(middleDiv);  var middleRightDiv = doc.createElement("div"); middleRightDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-right.png) top right repeat-y"; middleRightDiv.style.paddingRight = "44px"; middleDiv.appendChild(middleRightDiv);  var contentDiv = doc.createElement("div"); middleRightDiv.appendChild(contentDiv);  var bottomDiv = doc.createElement("div"); bottomDiv.style.height = "55px"; bottomDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-bottom-left.png) bottom left no-repeat"; bottomDiv.style.paddingLeft = "44px"; containerDiv.appendChild(bottomDiv);  var bottomRightDiv = doc.createElement("div"); bottomRightDiv.style.height = "55px"; bottomRightDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-bottom-right.png) bottom right no-repeat"; bottomDiv.appendChild(bottomRightDiv); } else { containerDiv.style.border = "2px solid #7777AA"; containerDiv.style.padding = "20px"; containerDiv.style.background = "white"; Timeline.Graphics.setOpacity(containerDiv, 90);  var contentDiv = doc.createElement("div"); containerDiv.appendChild(contentDiv); } 
context: Timeline.Graphics.createMessageBubble = function(doc) {    var containerDiv = doc.createElement("div");        var topDiv = doc.createElement("div");    topDiv.style.height = "33px";    topDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-top-left.png) top left no-repeat";    topDiv.style.paddingLeft = "44px";    containerDiv.appendChild(topDiv);        var topRightDiv = doc.createElement("div");    topRightDiv.style.height = "33px";    topRightDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-top-right.png) top right no-repeat";    topDiv.appendChild(topRightDiv);        var middleDiv = doc.createElement("div");    middleDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-left.png) top left repeat-y";    middleDiv.style.paddingLeft = "44px";    containerDiv.appendChild(middleDiv);        var middleRightDiv = doc.createElement("div");    middleRightDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-right.png) top right repeat-y";    middleRightDiv.style.paddingRight = "44px";    middleDiv.appendChild(middleRightDiv);        var contentDiv = doc.createElement("div");    middleRightDiv.appendChild(contentDiv);        var bottomDiv = doc.createElement("div");    bottomDiv.style.height = "55px";    bottomDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-bottom-left.png) bottom left no-repeat";    bottomDiv.style.paddingLeft = "44px";    containerDiv.appendChild(bottomDiv);        var bottomRightDiv = doc.createElement("div");    bottomRightDiv.style.height = "55px";    bottomRightDiv.style.background = "url(" + Timeline.urlPrefix + "images/message-bottom-right.png) bottom right no-repeat";    bottomDiv.appendChild(bottomRightDiv);        return {        containerDiv:   containerDiv,        contentDiv:     contentDiv    };};
meta: 7652	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7652/5b9981fccda7a0bff834c05086de258b8f406089/graphics.js/buggy/src/main/webapp/api/scripts/util/graphics.js