rem: var beforeElement = this._divElement.childNodes[insertionIndex] 
add: var beforeElement = this._divElement.childNodes[insertionIndex]; 
context: EchoRender.ComponentSync.Column.prototype._renderAddChild = function(update, child, index) {    if (index != null && index == update.parent.getComponentCount() - 1) {        index = null;    }    var divElement = document.createElement("div");    this._childIdToElementMap[child.renderId] = divElement;    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");		EchoRender.Property.Alignment.renderComponentProperty(layoutData, "alignment", null, divElement, true, this.component);	    var height = layoutData.getProperty("height");	    if (height) {	    	divElement.style.height = EchoRender.Property.Extent.toPixels(height, false) + "px";	    }    }        if (index == null) {        // Full render or append-at-end scenario                // Render spacing div first if index != 0 and cell spacing enabled.        if (this._cellSpacing && this._divElement.firstChild) {            this._divElement.appendChild(this._spacingPrototype.cloneNode(false));        }        // Render child div second.        this._divElement.appendChild(divElement);    } else {        // Partial render insert at arbitrary location scenario (but not at end)        var insertionIndex = this._cellSpacing ? index * 2 : index;        var beforeElement = this._divElement.childNodes[insertionIndex]                // Render child div first.        this._divElement.insertBefore(divElement, beforeElement);                // Then render spacing div if required.        if (this._cellSpacing) {            if (!beforeElement) {                // Multiple children are being added at the end, insert spacing div                // before child div.                beforeElement = divElement;            }            this._divElement.insertBefore(this._spacingPrototype.cloneNode(false), beforeElement);        }    }};
meta: 600	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/600/55875a00b480d4121a5c789d48e2ba61c5c24a96/Render.Column.js/clean/src/webcontainer/java/nextapp/echo/webcontainer/resource/js/Render.Column.js