rem: for (var i=0; i<this.Map.PolygonSets.length; i++){ if ( this.Map.PolygonSets[i] != null ){ 
add: for (var i=0; i<this.Map.polygonsets.length; i++){ if ( this.Map.polygonsets[i] != null ){ 
context: BitMap.Edit.prototype.newPolylineStyle = function(){		var check = false;  	for (var i=0; i<this.Map.PolylineSets.length; i++){  		if ( this.Map.PolylineSets[i] != null ){				check = true;  		}  	}  	for (var i=0; i<this.Map.PolygonSets.length; i++){  		if ( this.Map.PolygonSets[i] != null ){				check = true;  		}  	}  	if (check == false){  		//set warning message, show it, fade it  		$('errortext').innerHTML = "To add a polyline style, there must be a polyline or polygon set associated with this map. Please create a new polyline or polygon set, then you can add your new polyline style!";			BitMap.show('editerror');  		Fat.fade_all();  		//display new polyline set form      this.newPolylineSet();		}else{      // Display the New Polyline Style Div   		BitMap.show('newpolylinestyleform');  		// Reset the Form  		$('polylinestyleform_new').reset();  		  		};}
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/2eef737ce2ef3e61972dfb2479a868b6936f6ae7/Edit.js/buggy/templates/Edit.js