rem: var n = this.Map.MarkerStyles.length; this.Map.MarkerStyles[n] = new Array(); var s = this.Map.MarkerStyles[n]; 
add: var n = this.Map.markerstyles.length; this.Map.markerstyles[n] = new Array(); var s = this.Map.markerstyles[n]; 
context: BitMap.Edit.prototype.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);									// clear the form			$('markerstyleform_new').reset();			// update the styles menus			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