rem:  var n = this.Map.MarkerSets.length; this.Map.MarkerSets[n] = new Array(); var s= this.Map.MarkerSets[n]; 
add:  var n = this.Map.markersets.length; this.Map.markersets[n] = new Array(); var s= this.Map.markersets[n]; 
context: BitMap.Edit.prototype.addMarkerSet = function(rslt){      var xml = rslt.responseXML;			//@todo modify this to handle either this.Map.Markers or bSMData sets			var n = this.Map.MarkerSets.length;			this.Map.MarkerSets[n] = new Array();			var s= this.Map.MarkerSets[n];							 		//shorten var names			var id = xml.documentElement.getElementsByTagName('set_id');						s.set_id = parseInt(id[0].firstChild.nodeValue);			var nm = xml.documentElement.getElementsByTagName('name');			s.name = nm[0].firstChild.nodeValue;			var dc = xml.documentElement.getElementsByTagName('description');			s.description = dc[0].firstChild.nodeValue;			var sy = xml.documentElement.getElementsByTagName('style_id');			s.style_id = parseInt(sy[0].firstChild.nodeValue);						var ic = xml.documentElement.getElementsByTagName('icon_id');			s.icon_id = parseInt(ic[0].firstChild.nodeValue);			var pol = xml.documentElement.getElementsByTagName('plot_on_load');			if (pol[0].firstChild.nodeValue == 'true'){s.plot_on_load = true;}else{s.plot_on_load = false};			var sp = xml.documentElement.getElementsByTagName('side_panel');			if (sp[0].firstChild.nodeValue == 'true'){s.side_panel = true;}else{s.side_panel = false};			var ex = xml.documentElement.getElementsByTagName('explode');			if (ex[0].firstChild.nodeValue == 'true'){s.explode = true;}else{s.explode = false};			var cl = xml.documentElement.getElementsByTagName('cluster');			if (cl[0].firstChild.nodeValue == 'true'){s.cluster = true;}else{s.cluster = false};  		s.set_type = 'markers';			// clear the form			$('markersetform_new').reset();			// update the sets menus			if ( $('newmarkerform').style.display == "block" ){ this.newMarker(); };			this.editMarkers();}
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/2eef737ce2ef3e61972dfb2479a868b6936f6ae7/Edit.js/buggy/templates/Edit.js