var parent = child.parent; 
var parent = child.parent; 
	doRemoveNode: function(child) {		if (!child.parent) return;		var parent = child.parent;		var children = parent.children;		var index = child.getParentIndex();		if (index < 0) {			dojo.raise("Couldn't find node "+child+" for removal");		}		children.splice(index,1);		dojo.html.removeNode(child.domNode);		if (parent.children.length == 0 && !parent.isTree) {			parent.containerNode.style.display = "none";		}		// if WAS last node (children.length decreased already) and has prevSibling		if (index == children.length && index>0) {			children[index-1].updateExpandGridColumn();		}		// if it WAS first node in WHOLE TREE -		// update link up of its former lower neighbour(if exists still)		if (parent instanceof dojo.widget.Tree && index == 0 && children.length>0) {			children[0].updateExpandGrid();		}		//parent.updateIconTree();		child.parent = child.tree = null;		return child;	},
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js