rem: var n = this.Map.PolygonStyles.length; this.Map.PolygonStyles[n] = new Array(); var s = this.Map.PolygonStyles[n]; 
add: var n = this.Map.polygonstyles.length; this.Map.polygonstyles[n] = new Array(); var s = this.Map.polygonstyles[n]; 
context: BitMap.Edit.prototype.addPolygonStyle = function(rslt){      var xml = rslt.responseXML;			// create a spot for a new polygonstyle in the data array			var n = this.Map.PolygonStyles.length;			this.Map.PolygonStyles[n] = new Array();			var s = this.Map.PolygonStyles[n];			// assign polygonstyle 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('polygon_style_type');			  		s.polygon_style_type = parseInt( tp[0].firstChild.nodeValue );			var cl = xml.documentElement.getElementsByTagName('color');			  		s.color = cl[0].firstChild.nodeValue;			var wt = xml.documentElement.getElementsByTagName('weight');			  		s.weight = parseInt( wt[0].firstChild.nodeValue );			var op = xml.documentElement.getElementsByTagName('opacity');			  		s.opacity = op[0].firstChild.nodeValue;			// clear the form			$('polygonstyleform_new').reset();			// update the styles menus			this.editPolygonStyles();			this.editPolygons();}
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/2eef737ce2ef3e61972dfb2479a868b6936f6ae7/Edit.js/buggy/templates/Edit.js