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: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7aa37ce171ded64b573a3936d0cdce3e95137c22/mailWindow.js/buggy/mailnews/base/resources/content/mailWindow.js