add: if(this.parent){ this.parent.removeChild(this); } 
context: 	destroy: function(/*Boolean*/finalize){		// summary:		// 		Destroy this widget and it's descendants. This is the generic		// 		"destructor" function that all widget users should call to		// 		clealy discard with a widget. Once a widget is destroyed, it's		// 		removed from the manager object.		// finalize:		//		is this function being called part of global environment		//		tear-down?		// FIXME: this is woefully incomplete		this.destroyChildren();		this.uninitialize();		this.destroyRendering(finalize);		dojo.widget.manager.removeById(this.widgetId);	},
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/Widget.js/buggy/www/resources/dojo-ajax/src/widget/Widget.js