rem: var spacingDivElement = document.createElement("div"); spacingDivElement.style.height = this.cellSpacing + "px"; parentElement.insertBefore(spacingDivElement, beforeElement); 
add: parentElement.insertBefore(this._renderSpacing(), beforeElement); 
context: EchoRender.ComponentSync.Column.prototype._renderAddChild = function(update, child, parentElement, index) {    if (index != null && index == update.parent.getComponentCount() - 1) {        index = null;    }        var divElement = document.createElement("div");    divElement.id = this.component.renderId + "_"+ child.renderId;    EchoRender.renderComponentAdd(update, child, divElement);    var layoutData = child.getRenderProperty("layoutData");    if (layoutData) {        EchoRender.Property.Color.renderComponentProperty(layoutData, "background", null, divElement, "backgroundColor");        EchoRender.Property.FillImage.renderComponentProperty(layoutData, "backgroundImage", null, divElement);        EchoRender.Property.Insets.renderComponentProperty(layoutData, "insets", null, divElement, "padding");    }        if (index == null) {        // Full render or append-at-end scenario                // Render spacing div first if index != 0 and cell spacing enabled.        if (this.cellSpacing && parentElement.firstChild) {            var spacingDivElement = document.createElement("div");            spacingDivElement.style.height = this.cellSpacing + "px";            parentElement.appendChild(spacingDivElement);        }        // Render child div second.        parentElement.appendChild(divElement);    } else {        // Partial render insert at arbitrary location scenario (but not at end)        var insertionIndex = this.cellSpacing ? index * 2 : index;        var beforeElement = parentElement.childNodes[insertionIndex]                // Render child div first.        parentElement.insertBefore(divElement, beforeElement);                // Then render spacing div if required.        if (this.cellSpacing) {            var spacingDivElement = document.createElement("div");            spacingDivElement.style.height = this.cellSpacing + "px";            parentElement.insertBefore(spacingDivElement, beforeElement);        }    }};
meta: 600	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/600/b5e89ed8967dda2b4212c858b6e6b9a247fed3fc/Render.Column.js/buggy/src/webcontainer/java/nextapp/echo/webcontainer/resource/js/Render.Column.js