context: function SwitchPaneFocus(event){  var folderTree = GetFolderTree();  var threadTree = GetThreadTree();  var messagePane = GetMessagePane();  // Although internally this is actually a four-pane window, it is presented as  // a three-pane -- the search pane is more of a toolbar.  So, shift among the  // three main panes.  var focusedElement = WhichPaneHasFocus();  if (focusedElement == null)       // focus not on one of the main three panes?    focusedElement = threadTree;    // treat as if on thread tree  if (event && event.shiftKey)  {    // Reverse traversal: Message -> Thread -> Folder -> Message    if (focusedElement == threadTree && !IsFolderPaneCollapsed())      folderTree.focus();    else if (focusedElement != messagePane && !IsMessagePaneCollapsed())      SetFocusMessagePane();    else       threadTree.focus();  }  else  {    // Forward traversal: Folder -> Thread -> Message -> Folder    if (focusedElement == threadTree && !IsMessagePaneCollapsed())      SetFocusMessagePane();    else if (focusedElement != folderTree && !IsFolderPaneCollapsed())      folderTree.focus();    else      threadTree.focus();  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/a72893d3c6b2bb42fd3c90af15c63b095db9284c/mail3PaneWindowCommands.js/buggy/mail/base/content/mail3PaneWindowCommands.js