rem: if (bucketList && bucketList.hasChildNodes()) bucketTree.selectItem(bucketList.firstChild); 
add: if (bucketList && bucketList.getRowCount()) bucketTree.selectedIndex(0); 
context: function FocusOnFirstAttachment(){  var bucketList = document.getElementById("attachmentBucket");  if (bucketList && bucketList.hasChildNodes())    bucketTree.selectItem(bucketList.firstChild);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e4fe9f4c016d51928b00ca063046836dc4caea5d/MsgComposeCommands.js/clean/mail/components/compose/content/MsgComposeCommands.js