rem: form.set_id.options[n] = new Option(s.title, s.set_id); 
add: form.set_id.options[n] = new Option(s.name, s.set_id); 
context: BitMap.Edit.prototype.newMarker = function(){  var check = false;  if (this.Map.markersets.length > 0) { 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');  	//display new marker set form    this.newMarkerSet();  }else{    if($('edit-marker-new')){      BitMap.show('edit-marker-new');    }else{      var newMarker = $('edit-markerset').cloneNode(true);      newMarker.id = "edit-marker-new";      newMarker.getElementsByTagName("span").item(0).innerHTML = "New Marker";      var tdtags = newMarker.getElementsByTagName("td");      tdtags.item(1).parentNode.removeChild(tdtags.item(1));        $('edit-markers-menu').appendChild(newMarker);      BitMap.show('edit-marker-new');      //add form      var optionsTable = $('edit-new-marker-table');      var target = $('edit-marker-new');        target.insertBefore(optionsTable, target.childNodes[2]);        BitMap.show('edit-new-marker-table');    }    var form = $('edit-new-marker-form');    form.reset();    var count = this.Map.markersets.length;    for (var n=0; n<count; n++){      var s = this.Map.markersets[n];      form.set_id.options[n] = new Option(s.title, s.set_id);    }    form.set_id.options[0].selected = true;    }}
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/683d8d435a2892e4da48daeff2529f9c7616b35f/Edit.js/buggy/templates/Edit.js