add:  var messagepane = document.getElementById("messagepane"); messagepane.addEventListener("click",messagePaneOnClick,true); 
context: function InitMsgWindow(){  msgWindow.messagePaneController = new nsMessagePaneController();  msgWindow.statusFeedback = statusFeedback;  msgWindow.msgHeaderSink = messageHeaderSink;  msgWindow.SetDOMWindow(window);  mailSession.AddMsgWindow(msgWindow);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/28ccbfbb4c8528811c0a26d8d3e6d414447fe7c5/mailWindow.js/clean/mailnews/base/resources/content/mailWindow.js