rem: this.map.events.triggerEvent("changelayer"); 
add:  if (this.map != null) this.map.events.triggerEvent("changelayer"); 
context:     setName: function(newName) {        this.name = newName;        this.map.events.triggerEvent("changelayer");    },    
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1027/45bea9f9f4d3ce639785896cbe25fcc43d5a7a65/Layer.js/clean/lib/OpenLayers/Layer.js