rem: for (var i=0; i<this.Map.MarkerSets.length; i++){ if ( this.Map.MarkerSets[i] != null ){ 
add: for (var i=0; i<this.Map.markersets.length; i++){ if ( this.Map.markersets[i] != null ){ 
context: BitMap.Edit.prototype.newMarker = function(){		var check = false;  	for (var i=0; i<this.Map.MarkerSets.length; i++){  		if ( this.Map.MarkerSets[i] != null ){				check = true;  		}  	}  	if (check == false){  		//set warning message, show it, fade it  		$('errortext').innerHTML = "To add a marker, there first must be a marker set associated with this map. Please create a new marker set, then you can add your new marker!";			BitMap.show('editerror');  		Fat.fade_all();  		//display new marker set form      this.newMarkerSet();		}else{      // Display the New Marker Div and Cancel Button     	BitMap.show('newmarkerform');  		// Reset the Form  		$('markerform_new').reset();  		  		// shortcut to the Select Option we are adding to  		var selectRoot = $('set_id');    		// we assume we have called this before and reset the options menu  		selectRoot.options.length = 0;    		// add option for each set available  		if ( typeof(this.Map.MarkerSets) != 'undefined' ){    			for ( i=0; i<this.Map.MarkerSets.length; i++ ){  						if ( this.Map.MarkerSets[i] != null ){								selectRoot.options[selectRoot.options.length] = new Option( this.Map.MarkerSets[i].name, this.Map.MarkerSets[i].set_id );  						}    			}  		}		}};
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/2eef737ce2ef3e61972dfb2479a868b6936f6ae7/Edit.js/buggy/templates/Edit.js