rem: else{ if(currentFocusedElement=="folderTree"){ document.getElementById("threadTree").setAttribute("focusring","false")  document.getElementById("messagepanebox").setAttribute("focusring","false") } else{ if(currentFocusedElement=="messagepanebox"){ document.getElementById("threadTree").setAttribute("focusring","false")  document.getElementById("messagepanebox").setAttribute("focusring","true") } else{ document.getElementById("threadTree").setAttribute("focusring","false")  document.getElementById("messagepanebox").setAttribute("focusring","false") }  } } lastFocusedElement=currentFocusedElement; } } 
add: else if(currentFocusedElement==GetFolderTree()) { GetThreadTree().setAttribute("focusring","false"); GetMessagePane().setAttribute("focusring","false"); } else if(currentFocusedElement==GetMessagePane()){ GetThreadTree().setAttribute("focusring","false"); GetMessagePane().setAttribute("focusring","true"); } else { GetThreadTree().setAttribute("focusring","false"); GetMessagePane().setAttribute("focusring","false"); }  lastFocusedElement=currentFocusedElement; } } 
context: function FocusRingUpdate_Mail(){	var currentFocusedElement = null;		if(MessagePaneHasFocus()){		currentFocusedElement="messagepanebox"	}	else{		currentFocusedElement= WhichPaneHasFocus()		}		if(currentFocusedElement != lastFocusedElement){			if( currentFocusedElement == "threadTree"){				document.getElementById("threadTree").setAttribute("focusring","true")				//document.getElementById("folderTree").setAttribute("focusring","false")				document.getElementById("messagepanebox").setAttribute("focusring","false")			}			else{				if(currentFocusedElement=="folderTree"){						document.getElementById("threadTree").setAttribute("focusring","false")						//document.getElementById("folderTree").setAttribute("focusring","true")						document.getElementById("messagepanebox").setAttribute("focusring","false")				}				else{					if(currentFocusedElement=="messagepanebox"){						document.getElementById("threadTree").setAttribute("focusring","false")						//document.getElementById("folderTree").setAttribute("focusring","false")						document.getElementById("messagepanebox").setAttribute("focusring","true")					}					else{						document.getElementById("threadTree").setAttribute("focusring","false")						//document.getElementById("folderTree").setAttribute("focusring","false")						document.getElementById("messagepanebox").setAttribute("focusring","false")						}					}			}			lastFocusedElement=currentFocusedElement;		}	}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d1efe1b174955c3aea7ff9f5cc29a9bd1d79725c/mail3PaneWindowCommands.js/clean/mailnews/base/resources/content/mail3PaneWindowCommands.js