rem: var body = document.getElementById('dirTreeBody') 
add: var tree = document.getElementById('dirTree'); if ( tree ) { var body = tree.getElementById('dirTreeBody') 
context: function GetAddressBooksAndURIs(abArray, uriArray){	var numAddressBooks = 0;	var selected = 0;	var body = document.getElementById('dirTreeBody')	if ( body )	{		var treeitems = body.getElementsByTagName('treeitem');		if ( treeitems )		{			var name, uri, item;						for ( var index = 0; index < treeitems.length; index++ ) 			{ 				item = treeitems[index];				uri = item.getAttribute('id');				if ( item.getAttribute('selected') )					selected = numAddressBooks;				var buttons = item.getElementsByTagName('titledbutton');				if ( uri && buttons && buttons.length == 1 )				{					name = buttons[0].getAttribute('value');					if ( name )					{						abArray[numAddressBooks] = name;						uriArray[numAddressBooks] = uri;						numAddressBooks++;					}				}			}		}	}	return selected;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c8e44cb267df44e5d410235a9945f567d0c78080/abCommon.js/clean/mailnews/addrbook/resources/content/abCommon.js