rem: defineGIcon(editObjectN); 
add: defineGIcon(n); 
context: function addIconStyle(rslt){      var xml = rslt.responseXML;			// create a spot for a new iconstyle in the data array			var n = bMIconData.length;			bMIconData[n] = new Array();			var i = bMIconData[n];			// assign iconstyle values to data array						var id = xml.documentElement.getElementsByTagName('icon_id');  		i.icon_id = parseInt( id[0].firstChild.nodeValue );			var nm = xml.documentElement.getElementsByTagName('name');  		i.name = nm[0].firstChild.nodeValue;			var tp = xml.documentElement.getElementsByTagName('type');  		i.type = parseInt( tp[0].firstChild.nodeValue );			var ig = xml.documentElement.getElementsByTagName('image');  		i.image = ig[0].firstChild.nodeValue;			var rig = xml.documentElement.getElementsByTagName('rollover_image');  		i.rollover_image = rig[0].firstChild.nodeValue;			var icw = xml.documentElement.getElementsByTagName('icon_w');  		i.icon_w = parseInt( icw[0].firstChild.nodeValue );			var ich = xml.documentElement.getElementsByTagName('icon_h');  		i.icon_h = parseInt( ich[0].firstChild.nodeValue );			var is = xml.documentElement.getElementsByTagName('shadow_image');			  		i.shadow_image = is[0].firstChild.nodeValue;			var isw = xml.documentElement.getElementsByTagName('shadow_w');  		i.shadow_w = parseInt( isw[0].firstChild.nodeValue );			var ish = xml.documentElement.getElementsByTagName('shadow_h');  		i.shadow_h = parseInt( ish[0].firstChild.nodeValue );			var iax = xml.documentElement.getElementsByTagName('icon_anchor_x');			  		i.icon_anchor_x = parseInt( iax[0].firstChild.nodeValue );			var iay = xml.documentElement.getElementsByTagName('icon_anchor_y');			  		i.icon_anchor_y = parseInt( iay[0].firstChild.nodeValue );			var sax = xml.documentElement.getElementsByTagName('shadow_anchor_x');			  		i.shadow_anchor_x = parseInt( sax[0].firstChild.nodeValue );			var say = xml.documentElement.getElementsByTagName('shadow_anchor_y');			  		i.shadow_anchor_y = parseInt( say[0].firstChild.nodeValue );			var wax = xml.documentElement.getElementsByTagName('infowindow_anchor_x');			  		i.infowindow_anchor_x = parseInt( wax[0].firstChild.nodeValue );			var way = xml.documentElement.getElementsByTagName('infowindow_anchor_y');			  		i.infowindow_anchor_y = parseInt( way[0].firstChild.nodeValue );			var pt = xml.documentElement.getElementsByTagName('points');  		i.points = pt[0].firstChild.nodeValue;			var sc = xml.documentElement.getElementsByTagName('scale');  		i.scale = sc[0].firstChild.nodeValue;			var olc = xml.documentElement.getElementsByTagName('outline_color');  		i.outline_color = olc[0].firstChild.nodeValue;			var olw = xml.documentElement.getElementsByTagName('outline_weight');  		i.outline_weight = olw[0].firstChild.nodeValue;			var fc = xml.documentElement.getElementsByTagName('fill_color');  		i.fill_color = fc[0].firstChild.nodeValue;			var fo = xml.documentElement.getElementsByTagName('fill_opacity');  		i.fill_opacity = fo[0].firstChild.nodeValue;			//make the icon available  		if (i.type == 0) {  			defineGIcon(editObjectN);  		}else if(i.type == 1){  			defineXIcon(editObjectN);			  		}			// clear the form			$('iconstyleform_new').reset();			// update the styles menus			editIconStyles();}
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/692115c5305812325794f22457dec99a4a0f02d8/js_edit_methods.js/clean/templates/js_edit_methods.js