rem: var ws = xml.documentElement.getElementsByTagName('window_styles'); 
add: var ws = xml.getElementsByTagName('window_styles'); 
context: 	"addMarkerStyle": function(rslt){		var xml = rslt.responseXML;		// create a spot for a new markerstyle in the data array		var n = this.Map.markerstyles.length;		this.Map.markerstyles[n] = new Array();		var s = this.Map.markerstyles[n];				// 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;				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 the styles menus		this.hideSpinner("DONE!");		this.editMarkerStyles();	},
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/abb148cb64f85492613e3474ce4942a26489ad33/Edit.js/buggy/templates/Edit.js