rem:  switch (paneConfig) { case kClassicMailLayout: id ="messagePaneClassic"; break; case kWideMailLayout: id = "messagePaneWide"; break; case kVerticalMailLayout: id = "messagePaneVertical"; break; }  var layoutStyleMenuitem = document.getElementById(id); 
add: var layoutStyleMenuitem = event.target.childNodes[paneConfig]; 
context: function InitViewLayoutStyleMenu(){  var paneConfig = pref.getIntPref("mail.pane_config.dynamic");  switch (paneConfig)   {    case kClassicMailLayout:      id ="messagePaneClassic";      break;    case kWideMailLayout:	      id = "messagePaneWide";      break;    case kVerticalMailLayout:      id = "messagePaneVertical";      break;  }  var layoutStyleMenuitem = document.getElementById(id);  if (layoutStyleMenuitem)    layoutStyleMenuitem.setAttribute("checked", "true"); }
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b6bb0ecf6484efaae610e6386311832c1d7effcf/mailWindowOverlay.js/buggy/mail/base/content/mailWindowOverlay.js