--- cck_map.js	2008-01-09 11:54:07.000000000 +0900
+++ cck_map.js	2008-06-04 12:00:10.000000000 +0900
@@ -80,7 +80,7 @@ gmapClientController.prototype.getInfoWi
 }
 
 gmapClientController.prototype.initializePoints = function(){
-  jsString = this.prefix.replace('-', '_', 'g');
+  jsString = this.prefix.replace(/-/g, '_');
   for (i=0;i<this.markers.length;i++){
       markerOptions = this.getMarkerOptions(this.markers[i].image);
       var m = new GMarker(new GLatLng(parseFloat(this.markers[i].lat),  parseFloat(this.markers[i].lon)), markerOptions);
