rem: defineGxMarker(m.array, m.array_n, stylen); 
add: defineGxMarker(m.array, m.array_n, iconn, stylen); 
context: 	 function addMarker(rslt){	 		var s;			for(a=0; a<bMSetData.length; a++){					if ( ( bMSetData[a] != null ) && ( bMSetData[a].set_id == editSetId ) ){						 s = a;						 editArray = bMSetData[a].set_type;					}			};      var xml = rslt.responseXML;							 		var m; //the marker data we are changing			var n;			/*  This is the new handler for the set types */			if (editArray == "init_markers"){  			n = bIMData.length;  			bIMData[n] = new Array();				m = bIMData[n];			}else{  			n = bSMData.length;  			bSMData[n] = new Array();				m = bSMData[n];			};				 		//shorten var names			var id = xml.documentElement.getElementsByTagName('id');						m.marker_id = id[0].firstChild.nodeValue;			var tl = xml.documentElement.getElementsByTagName('title');			m.title = tl[0].firstChild.nodeValue;			var lt = xml.documentElement.getElementsByTagName('lat');			m.lat = parseFloat(lt[0].firstChild.nodeValue);			var ln = xml.documentElement.getElementsByTagName('lon');			m.lon = parseFloat(ln[0].firstChild.nodeValue);			var dt = xml.documentElement.getElementsByTagName('data');			m.data = dt[0].firstChild.nodeValue;			var l = xml.documentElement.getElementsByTagName('label');			m.label_data = l[0].firstChild.nodeValue;			m.set_id = parseInt(bMSetData[s].set_id);			m.style_id = parseInt(bMSetData[s].style_id);			m.icon_id = parseInt(bMSetData[s].icon_id);			var z = xml.documentElement.getElementsByTagName('z');			m.zindex = parseInt(z[0].firstChild.nodeValue);			m.array = "I";			m.array_n = parseFloat(n);			        //make the marker        if (m.style_id == 0){         		defineGMarker(m.array, m.array_n);					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(m.array, m.array_n, stylen);					m.marker.openInfoWindowHtml(m.marker.my_html);          	}else if (bMStyleData[stylen].type == 1){          		definePdMarker(m.array, m.array_n, 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(m.array, m.array_n, stylen);					m.marker.openInfoWindowHtml(m.marker.my_html);          	}        }			// clear the form			$('markerform_new').reset();			removeAssistant();			// update the sets menus			editMarkers();			editSet(editSetId);	}
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