add:  this.resetLayersZIndex();  
context:     removeLayer: function(layer, setNewBaseLayer) {        if (setNewBaseLayer == null) {            setNewBaseLayer = true;        }        if (layer.isFixed) {            this.viewPortDiv.removeChild(layer.div);        } else {            this.layerContainerDiv.removeChild(layer.div);        }        OpenLayers.Util.removeItem(this.layers, layer);        layer.removeMap(this);        layer.map = null;        // if we removed the base layer, need to set a new one        if(this.baseLayer == layer) {            this.baseLayer = null;            if(setNewBaseLayer) {                for(var i=0; i < this.layers.length; i++) {                    var iLayer = this.layers[i];                    if (iLayer.isBaseLayer) {                        this.setBaseLayer(iLayer);                        break;                    }                }            }        }        this.events.triggerEvent("removelayer");    },
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/00d6f66c06a8e58a0cfbbb2734b11767d901e586/Map.js/clean/lib/OpenLayers/Map.js