rem: newMarkerSet.getElementsByTagName("a").item(0).onclick = function(){ref.editMarkerSet(i);}; newMarkerSet.getElementsByTagName("a").item(1).onclick = function(){ref.editMarkers(i);}; 
add: newMarkerSet.getElementsByTagName("a").item(0).onclick = this.handleEvent('editMarkerSet',i); newMarkerSet.getElementsByTagName("a").item(1).onclick = this.handleEvent('editMarkers',i); 
context: 	"editMarkerSets": function(){		BitMap.show('edit-markers-menu');		//First check if there are any marker sets		if (this.Map.markersets.length > 0){			// We assume editMarkerSets has been called before and remove 			// any previously existing sets from the UI				for (var n=0; n<this.Map.markersets.length; n++) {				if (this.Map.markersets[n]!= null){					var getElem = "edit-markerset-"+n;					if ( $(getElem) ) {						$('edit-markersets-table').removeChild($(getElem));					}				}			}			//Add a tool bar for each MarkerSet			for (var n=0; n<this.Map.markersets.length; n++) {				var i = n;				var ref = this;				var newMarkerSet = $('edit-markerset').cloneNode(true);				newMarkerSet.id = "edit-markerset-"+i;				newMarkerSet.getElementsByTagName("span").item(0).innerHTML = this.Map.markersets[i].name;				newMarkerSet.getElementsByTagName("a").item(0).onclick = function(){ref.editMarkerSet(i);};				newMarkerSet.getElementsByTagName("a").item(1).onclick = function(){ref.editMarkers(i);};				$('edit-markersets-table').appendChild(newMarkerSet);				BitMap.show('edit-markerset-'+i);			}		}		BitMap.show('edit-markersets-table');		BitMap.show('edit-markersets-cancel');	},
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/8e37dd0e7c2b0bc8163139e9ad13be19b0e0ff18/Edit.js/clean/templates/Edit.js