msgWindow.rootDocShell.appType = Components.interfaces.nsIDocShell.APP_TYPE_MAIL; 
function InitMsgWindow(){  msgWindow.windowCommands = new nsMsgWindowCommands();  // set the domWindow before setting the status feedback and header sink objects  msgWindow.domWindow = window;   msgWindow.statusFeedback = statusFeedback;  msgWindow.msgHeaderSink = messageHeaderSink;  mailSession.AddMsgWindow(msgWindow);  getBrowser().docShell.allowAuth = false;  msgWindow.rootDocShell.allowAuth = true; }
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/6ff991e2898ef85a2e184b23165faa229a6e4a28/mailWindow.js/buggy/mail/base/content/mailWindow.js