rem: currentNode = currentNode.parentNode; } 
add: currentNode = currentNode.parentNode; } 
context: function WhichPaneHasFocus(){	var whichPane= null;	var currentNode = top.document.commandDispatcher.focusedElement;	  var threadOutliner = GetThreadOutliner();  var folderOutliner = GetFolderOutliner();  var messagePane = GetMessagePane();    	while (currentNode) {        if (currentNode === threadOutliner ||            currentNode === folderOutliner ||            currentNode === messagePane)            return currentNode;								currentNode = currentNode.parentNode;    }		return null;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c3f9baa998519d90e7ef5bfe71174928dd29c3d2/mail3PaneWindowCommands.js/buggy/mailnews/base/resources/content/mail3PaneWindowCommands.js