add: mapHistory.splice(mapHistoryIndex,1); mapHistoryName.splice(mapHistoryIndex,1); 
context: function viewDeleteResponse(data) {	if(data.success) {		if(data.content!="deleteMapOK")			{				alert('Deleting Map has failed'+data.content);				return;			}		map.clear();		clearMapInfo();		clearDownInfo();		clearTopInfo();		hideMapInfo();		currentMapId=MAP_NOT_OPENED;		currentMapBackGround=DEFAULT_BG_COLOR;		currentMapAccess="";		currentMapName=""; 		currentMapOwner=""; 		currentMapUserlast="";		currentMapCreatetime="";		currentMapLastmodtime="";		map.render();		LoadMaps();	} else {		alert('Deleting Map has failed');		return;	}	clearDownInfo();	var childNode = menuSvgDocument.getElementById("DownInfoText");	if (childNode)		menuSvgDocument.getElementById("DownInfo").removeChild(childNode);				menuSvgDocument.getElementById("DownInfo").appendChild(parseXML("<text id=\"DownInfoText\" x=\"5\" y=\"20\">Map deleted."+	"</text>",menuSvgDocument));	enableMenu();		}
meta: 3303	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3303/069d0e7b3a96289b7c94aecc6c8a14fee3498895/ApplicationMap.js/buggy/opennms-webapp/src/main/webapp/map/ApplicationMap.js