rem: var tree = document.getElementById('dirTree'); 
context: function CommandUpdate_AddressBook(){	goUpdateCommand('button_delete');		// get selection info from dir pane	var tree = document.getElementById('dirTree');	var oneAddressBookSelected = false;	if ( tree && tree.selectedItems && (tree.selectedItems.length == 1) )		oneAddressBookSelected = true;			// get selection info from results pane	var selectedCards = GetSelectedAddresses();	var oneOrMoreCardsSelected = false;	if ( selectedCards )		oneOrMoreCardsSelected = true;		// set commands to enabled / disabled	//goSetCommandEnabled('cmd_PrintCard', oneAddressBookSelected);	goSetCommandEnabled('cmd_SortByName', oneAddressBookSelected);	goSetCommandEnabled('cmd_SortByEmail', oneAddressBookSelected);	goSetCommandEnabled('cmd_SortByWorkPhone', oneAddressBookSelected);	goSetCommandEnabled('cmd_SortByOrganization', oneAddressBookSelected);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/8cbc05398526fdb6ab4254df8d8119d5eb7115e0/addressbook.js/buggy/mailnews/addrbook/resources/content/addressbook.js