rem: var lhs = xml.documentElement.getElementsByTagName('label_hover_styles'); 
add: var lhs = xml.getElementsByTagName('label_hover_styles'); 
context: 	"updateMarkerStyle": function(rslt){		var xml = rslt.responseXML;		//get the style we are updating		var s = this.Map.markerstyles[this.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);		this.hideSpinner("DONE!");		// update the styles menus		this.editMarkerStyles();				//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(var 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.addMarker(n);				}			}		}	},
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/abb148cb64f85492613e3474ce4942a26489ad33/Edit.js/buggy/templates/Edit.js