context: 	 function updateMarker(rslt){      var xml = rslt.responseXML;							 		var m; //the marker data we are changing			if (editArray == "I"){m = bIMData[editObjectN]}else{m = bSMData[editObjectN]};	 		//shorten var names			var id = xml.documentElement.getElementsByTagName('id');						var marker_id = id[0].firstChild.nodeValue;			var tl = xml.documentElement.getElementsByTagName('title');			var title = tl[0].firstChild.nodeValue;				 		m.title = title;						var lt = xml.documentElement.getElementsByTagName('lat');			var lat = parseFloat(lt[0].firstChild.nodeValue);	 		m.lat = lat;						var ln = xml.documentElement.getElementsByTagName('lon');			var lon = parseFloat(ln[0].firstChild.nodeValue);	 		m.lon = lon;			var dt = xml.documentElement.getElementsByTagName('data');			var data = dt[0].firstChild.nodeValue;				 		m.data = data;			var l = xml.documentElement.getElementsByTagName('label');			var label = l[0].firstChild.nodeValue;				 		m.label_data = label;						var z = xml.documentElement.getElementsByTagName('z');			var zindex = parseInt(z[0].firstChild.nodeValue);			m.zindex = zindex;			        //unload the marker        map.removeOverlay( m.marker );        //remake the marker        if (m.style_id == 0){         		defineGMarker(editArray, editObjectN);					m.marker.openInfoWindowHtml(m.marker.my_html);        }else{        		var stylen;        		for (var b=0; b<bMStyleData.length; b++){        			if ( bMStyleData[b].style_id == m.style_id ){        				stylen = b;        			}        		}        		//define new marker with new styles          	if (bMStyleData[stylen].type == 0){          		defineGxMarker(editArray, editObjectN, stylen);					m.marker.openInfoWindowHtml(m.marker.my_html);          	}else if (bMStyleData[stylen].type == 1){          		definePdMarker(editArray, editObjectN, stylen);                m.marker.showTooltip();                m.marker.hideTooltip();					m.marker.showDetailWin();//					m.marker.openInfoWindowHtml("<div style='white-space: nowrap;'>Click this marker to see its window details</div>");          	}else if (bMStyleData[stylen].type == 2){          		defineXMarker(editArray, editObjectN, stylen);					m.marker.openInfoWindowHtml(m.marker.my_html);          	}        }			removeAssistant();	}
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/3e0bbee8d36ec1b8f46728f612263f404d41ffa5/js_edit_methods.js/clean/templates/js_edit_methods.js