rem: var element = $(geometry.id); 
add: var element = OpenLayers.Util.getElement(geometry.id); 
context:     eraseGeometry: function(geometry) {        if ((geometry.CLASS_NAME == "OpenLayers.Geometry.MultiPoint") ||            (geometry.CLASS_NAME == "OpenLayers.Geometry.MultiLineString") ||            (geometry.CLASS_NAME == "OpenLayers.Geometry.MultiPolygon")) {            for (var i = 0; i < geometry.components.length; i++) {                this.eraseGeometry(geometry.components[i]);            }        } else {                var element = $(geometry.id);            if (element && element.parentNode) {                if (element.geometry) {                    element.geometry.destroy();                    element.geometry = null;                }                element.parentNode.removeChild(element);            }        }    },    
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/208c3cd7e5dc8778bb035b03be770f4d6b23bc5d/Elements.js/buggy/lib/OpenLayers/Renderer/Elements.js