rem: var query="Nodes="; 
add: var query=new String("Nodes="); 
context: function getMapString(){	if(isUserAdmin=="false" || isUserAdmin==false){ // if is not admin, do not generate a string for the map			  // because, all changes can't be saved from the user (non admin)		return "";	}	var query="Nodes=";	var count=0;		//construct the query to post to the servlet. (nodes are formatted as follows: id1,x1,y1-id2,x2,y2 ...) 	if(map!=undefined){		for (elemId in map.mapElements){			if(count>0)				query+="-";			var elem = map.mapElements[elemId];			query+= elemId+","+elem.x+","+elem.y+","+elem.icon;			count++;		}	}	//the map is formatted as follows: id,x,y,image	query+="&MapId="+currentMapId+"&MapName="+currentMapName+"&MapBackground="+currentMapBackGround;				return query;}
meta: 3303	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3303/9b99afa30b967a8a94885e2309fe3bac40453b29/ApplicationMap.js/buggy/opennms-webapp/src/main/webapp/map/ApplicationMap.js