rem: titleBarElement.setAttribute("style", "position: absolute; top: 1px; left: 1px; width: 278px; height: 20px;" + "padding: 3px 10px; background: #5f5f8f; color: #ffffff; overflow: hidden;"); 
add: titleBarElement.style.position = "absolute"; titleBarElement.style.top = "1px"; titleBarElement.style.left = "1px"; titleBarElement.style.width = "278px"; titleBarElement.style.height = "20px"; titleBarElement.style.padding = "3px 10px"; titleBarElement.style.background = "#5f5f8f"; titleBarElement.style.color = "#ffffff"; titleBarElement.style.overflow = "hidden"; 
context: EchoDebugConsole._init = function() {    var windowElement = document.createElement("div");    windowElement.setAttribute("id", EchoDebugConsole._BASE_ID);    windowElement.setAttribute("style", "position: absolute; top: 20px; right: 20px; height: 300px; width: 300px; "            + "background: #2f2f3f; color: #3fff6f; border: 5px solid #3f6fff; overflow: hidden; z-index: 32767;");        var titleBarElement = document.createElement("div");    titleBarElement.setAttribute("style", "position: absolute; top: 1px; left: 1px; width: 278px; height: 20px;"            + "padding: 3px 10px; background: #5f5f8f; color: #ffffff; overflow: hidden;");    titleBarElement.appendChild(document.createTextNode("/ Debug Console /"));    windowElement.appendChild(titleBarElement);    var clearButtonElement = document.createElement("span");    clearButtonElement.style.padding = "0px 0px 0px 20px";    clearButtonElement.appendChild(document.createTextNode("[clear]"));    titleBarElement.appendChild(clearButtonElement);    EchoWebCore.DOM.addEventListener(clearButtonElement, "click", EchoDebugConsole._clearListener, false);        var closeButtonElement = document.createElement("span");    closeButtonElement.style.padding = "0px 0px 0px 20px";    closeButtonElement.appendChild(document.createTextNode("[close]"));    titleBarElement.appendChild(closeButtonElement);    EchoWebCore.DOM.addEventListener(closeButtonElement, "click", EchoDebugConsole._closeListener, false);    var contentElement = document.createElement("div");    contentElement.setAttribute("id", EchoDebugConsole._CONTENT_ID);    contentElement.setAttribute("style", "position: absolute; top: 28px; left: 1px; width: 278px; height: 265px; " +            "padding: 3px 10px; background: #1f1f2f; overflow:auto;")    windowElement.appendChild(contentElement);        document.getElementsByTagName("body")[0].appendChild(windowElement);    EchoDebugConsole._initialized = true;}
meta: 600	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/600/a0cb8b759163d164c3399bae2f121d9ead237013/DebugConsole.js/buggy/src/webcontainer/java/nextapp/echo/webcontainer/resource/js/DebugConsole.js