rem: var s = this.Map.MarkerStyles[editObjectN]; 
add: var s = this.Map.markerstyles[editObjectN]; 
context: BitMap.Edit.prototype.updateMarkerStyle = function(rslt){      var xml = rslt.responseXML;			//get the style we are updating			var s = this.Map.MarkerStyles[editObjectN];			var oldtp = s.marker_style_type;			// assign markerstyle values data array						var id = xml.documentElement.getElementsByTagName('style_id');			  		s.style_id = parseInt( id[0].firstChild.nodeValue );			var nm = xml.documentElement.getElementsByTagName('name');			  		s.name = nm[0].firstChild.nodeValue;			var tp = xml.documentElement.getElementsByTagName('marker_style_type');  		s.marker_style_type = parseInt( tp[0].firstChild.nodeValue );			var lho = xml.documentElement.getElementsByTagName('label_hover_opacity');			  		s.label_hover_opacity = parseInt( lho[0].firstChild.nodeValue );			var lo = xml.documentElement.getElementsByTagName('label_opacity');			  		s.label_opacity = parseInt( lo[0].firstChild.nodeValue );			var lhs = xml.documentElement.getElementsByTagName('label_hover_styles');			  		s.label_hover_styles = lhs[0].firstChild.nodeValue;			var ws = xml.documentElement.getElementsByTagName('window_styles');			  		s.window_styles = ws[0].firstChild.nodeValue;			//add the replacement styles        var ttStyle = document.createElement('style');			var ttStyleProperties = document.createTextNode(".tip-" + s.name + " {" + s.label_hover_styles + "}");        ttStyle.setAttribute ("type", "text/css");        ttStyle.appendChild(ttStyleProperties);			document.body.appendChild(ttStyle);        var winStyle = document.createElement('style');			var winStyleProperties = document.createTextNode(".win-" + s.name + " {" + s.window_styles + "}");        winStyle.setAttribute ("type", "text/css");        winStyle.appendChild(winStyleProperties);			document.body.appendChild(winStyle);			//update all markers      	var a = this.Map.Markers;    	//if the length of the array is > 0    	if (a.length > 0){      	//loop through the array    		for(n=0; n<a.length; n++){      		//if the array item is not Null    			if (a[n]!= null && a[n].marker != null && a[n].style_id == s.style_id && s.marker_style_type != oldtp){	      			//unload the marker  					this.map.removeOverlay( a[n].marker );	      			//define new marker with new styles						this.attachMarker(n);					}				}			}			this.editMarkerStyles();			this.editMarkers();}
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/2eef737ce2ef3e61972dfb2479a868b6936f6ae7/Edit.js/buggy/templates/Edit.js