rem: bILData[n].points_data = points_data.split(",");  
add: p.points_data = points_data.split(","); 
context: 	 function addPolyline(rslt){	 		var s;      var xml = rslt.responseXML;									//@todo modify this to handle either bILData or bSLData sets			var n = bILData.length;			bILData[n] = new Array();				 		//shorten var names			var id = xml.documentElement.getElementsByTagName('polyline_id');						bILData[n].polyline_id = id[0].firstChild.nodeValue;			var nm = xml.documentElement.getElementsByTagName('name');			bILData[n].name = nm[0].firstChild.nodeValue;									var tp = xml.documentElement.getElementsByTagName('type');			bILData[n].type = parseInt(tp[0].firstChild.nodeValue);						var dt = xml.documentElement.getElementsByTagName('points_data');			var points_data = dt[0].firstChild.nodeValue;	 		bILData[n].points_data = points_data.split(",");						var bt = xml.documentElement.getElementsByTagName('border_text');			bILData[n].border_text = bt[0].firstChild.nodeValue;						var zi = xml.documentElement.getElementsByTagName('zindex');			bILData[n].zindex = parseInt(zi[0].firstChild.nodeValue);						//@todo this is such a crappy way to get this number			for(var a=0; a<bLSetData.length; a++){					if (bLSetData[a].set_id == editSetId){						 s = a;						 break;						 						 					}			};						bILData[n].set_id = parseFloat(bLSetData[s].set_id);			bILData[n].style_id = parseFloat(bLSetData[s].style_id);						bILData[n].array = "I";			bILData[n].array_n = parseFloat(n);			//create polyline			for (q=0; q<bLStyData.length; q++){				if (bLStyData[q].style_id == bILData[n].style_id){					var linecolor = "#"+bLStyData[q].color;					var lineweight = bLStyData[q].weight;					var lineopacity = bLStyData[q].opacity;				}			}			var pointlist = new Array();			for (p = 0; p < bILData[n].points_data.length; p+=2 ){				var point = new GPoint(					parseFloat(bILData[n].points_data[p]),					parseFloat(bILData[n].points_data[p+1])				);				pointlist.push(point);			};			bILData[n].polyline = new GPolyline(pointlist, linecolor, lineweight, lineopacity);			map.addOverlay(bILData[n].polyline);						// clear the form			$('polylineform_new').reset();			// update the sets menus			editPolylines();			editPolylineSet(editSetId);			removeAssistant();	}	
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/7a10fad618cf5064069d13a7a277c1947e8b0484/formsubmit.js/buggy/templates/formsubmit.js