-OpenLayers.Util.createImage = function(id, px, sz, imgURL, position, border,
- opacity, delayDisplay) {
- imgURL = OpenLayers.Util.imageURLs[imgURL] || imgURL;
-
- return OpenLayers.Util.origCreateImage(id, px, sz, imgURL, position,
- border, opacity, delayDisplay);
+OpenLayers.Util.getImageLocation = function(image) {
+ return OpenLayers.Util.imageURLs[image] || OpenLayers.Util.origGetImageLocation(image);