rem: this.Map.maptypes[n] = new Array();   var id = xml.documentElement.getElementsByTagName('maptype_id'); this.Map.maptypes[n].maptype_id = parseInt( id[0].firstChild.nodeValue ); var nm = xml.documentElement.getElementsByTagName('name'); this.Map.maptypes[n].name = nm[0].firstChild.nodeValue; var snm = xml.documentElement.getElementsByTagName('shortname'); this.Map.maptypes[n].shortname = snm[0].firstChild.nodeValue; var ds = xml.documentElement.getElementsByTagName('description'); this.Map.maptypes[n].description = ds[0].firstChild.nodeValue; var minz = xml.documentElement.getElementsByTagName('minzoom'); this.Map.maptypes[n].minzoom = parseInt( minz[0].firstChild.nodeValue ); var mz = xml.documentElement.getElementsByTagName('maxzoom'); this.Map.maptypes[n].maxzoom = parseInt( mz[0].firstChild.nodeValue );  this.Map.maptypes[n].maptype_node = this.Map.map.mapTypes.length; 
add: var m = this.Map.maptypes[n] = new Array();   this.parseMaptypeXML(m, xml); m.maptype_node = n; 
context: 		 "addMaptype": function(rslt){	     	var xml = rslt.responseXML;				// create a spot for a new maptype in the data array			var n = this.Map.maptypes.length;			this.Map.maptypes[n] = new Array();						// assign map type values data array							var id = xml.documentElement.getElementsByTagName('maptype_id');						this.Map.maptypes[n].maptype_id = parseInt( id[0].firstChild.nodeValue );			var nm = xml.documentElement.getElementsByTagName('name');						this.Map.maptypes[n].name = nm[0].firstChild.nodeValue;			var snm = xml.documentElement.getElementsByTagName('shortname');						this.Map.maptypes[n].shortname = snm[0].firstChild.nodeValue;			var ds = xml.documentElement.getElementsByTagName('description');						this.Map.maptypes[n].description = ds[0].firstChild.nodeValue;	  					var minz = xml.documentElement.getElementsByTagName('minzoom');			this.Map.maptypes[n].minzoom = parseInt( minz[0].firstChild.nodeValue );			var mz = xml.documentElement.getElementsByTagName('maxzoom');			this.Map.maptypes[n].maxzoom = parseInt( mz[0].firstChild.nodeValue );			this.Map.maptypes[n].maptype_node = this.Map.map.mapTypes.length;						// attach the new map type to the map			this.Map.addMaptype();										// set the map type to active			/*			this.Map.map.setMaptype(this.Map.maptypes[n].name);			*/			// update the controls			this.Map.map.removeControl(typecontrols);			this.Map.map.addControl(typecontrols);						this.cancelEditMaptypes();			this.editMaptypes();			this.editMaptypeOptions(n);		 },
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/65ca0f252dbca8269c9a8956d95003b849140ee2/Edit.js/buggy/templates/Edit.js