context: 	"editMarkerSetOptions": function(i){	  var a;	  var count = this.Map.markersets.length;	  //hilights the right set, unselects the others	  for (n=0; n<count; n++){	    a = (n==i)?'add':'remove';	    BitMap.jscss(a, $('edit-markerset-'+n), 'edit-selected');	  }		  this.cancelNewMarkerSet();	  this.cancelEditMarkers();	  var s = this.Map.markersets[i];	  var optionsTable = $('edit-markerset-options-table');	  var target = $('edit-markerset-'+i);	  target.insertBefore(optionsTable, target.childNodes[2]);  	  BitMap.show('edit-markerset-options-actions');	  BitMap.show('edit-markerset-options-table');	    	  //customize the form values	  var form = $('edit-markerset-options-form');	  form.set_id.value = s.set_id;	  form.set_array_n.value = i;	  form.name.value = s.name;	  form.description.value = s.description;	  if (s.plot_on_load == false){ form.plot_on_load.options[0].selected=true; }else{form.plot_on_load.options[1].selected=true;};	  if (s.side_panel == false){ form.side_panel.options[0].selected=true; }else{form.side_panel.options[1].selected=true;};	  if (s.explode == false){ form.explode.options[0].selected=true }else{form.explode.options[1].selected=true};	  if (s.cluster == false){ form.cluster.options[0].selected=true }else{form.cluster.options[1].selected=true};	  if ( this.Map.markerstyles.length > 0 ){		var OptionN = form.style_id.options.length;	  	for (var d=0; d<this.Map.markerstyles.length; d++){	      if ( this.Map.markerstyles[d] != null ){		    form.style_id.options[OptionN + d] = new Option( this.Map.markerstyles[d].name, this.Map.markerstyles[d].style_id );		    if ( this.Map.markerstyles[d].style_id == s.style_id){		        form.style_id.options[OptionN + d].selected=true;		    }	  	  }	  	}	  }	  if ( this.Map.iconstyles.length > 0 ){	    var IconN = form.icon_id.options.length;	  	for (var e=0; e<this.Map.iconstyles.length; e++){	      if ( this.Map.iconstyles[e] != null ){		    form.icon_id.options[IconN+e] = new Option( this.Map.iconstyles[e].name, this.Map.iconstyles[e].icon_id );		    if ( this.Map.iconstyles[e].icon_id == s.icon_id){		      form.icon_id.options[IconN+e].selected=true;		    }	  	  }	  	}	  }	},
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/3b0fd7da6617f937913718490ab8362681e83a6f/Edit.js/buggy/templates/Edit.js