rem: this.cancelEditMarkerSetOptions(); 
add: this.cancelEditMarkerSet(); 
context: 	"editMarkers": function(i){		//build a list of markers				//make sure the new marker set form is closed		this.cancelNewMarkerSet();		var a;		var count = this.Map.markersets.length;		for (n=0; n<count; n++){			a = (n==i)?'add':'remove';			BitMap.Utl.JSCSS(a, $('edit-markerset-'+n), 'edit-selected');		}		//make sure the marker set options form is closed		this.cancelEditMarkerSetOptions();		//get the set id of markers we are editing				var set_id = this.Map.markersets[i].set_id;    				//@TODO eventually replace building the markers list with an ajax call to a tpl - not a priority now				//set some constants		var markerTable = $('edit-markers-table');		var markerLinksList = markerTable.getElementsByTagName("ul").item(0);		var markerLinks = markerTable.getElementsByTagName("li");		//Clear all the existing markers listed  		//We leave the first two, the first is the model we clone, the second if for a new marker		var count = markerLinks.length;			for (n=count-1; n>1; n--){				markerLinksList.removeChild(markerLinks.item(n));			}					$('edit-markerlink-new-a').href = "javascript:BitMap.EditSession.editMarker(null, "+i+");";			//For each marker in our new set, add a link			var firstselected = false;			for (var n=0; n<this.Map.markers.length; n++) {			var m = this.Map.markers[n];			if (m.set_id == set_id){				var newMarkerli = markerLinks.item(0).cloneNode(true);				newMarkerli.id = 'edit-markerlink-'+n;				var newMarkerLink = newMarkerli.getElementsByTagName("a").item(0);				newMarkerLink.href = "javascript:BitMap.EditSession.editMarker("+n+","+i+")";				newMarkerLink.innerHTML = m.title;				markerLinksList.appendChild(newMarkerli);				newMarkerli.style.display = "block";							if (firstselected != true){					//else ajax up a form with the info from the first marker in the list					this.editMarker(n, i);					firstselected = true;				}			}		}				if (firstselected == false){			//if the list is 0 - ajax up an empty form			this.editMarker(null, i);		}		//We assume it is not visible and make it so		BitMap.show('edit-markers-table')	},
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/7e420f5c7f3ad7fb21f8f4d39416311a5aa64f6d/Edit.js/buggy/templates/Edit.js