rem: this.pref.SetBoolPref("cookieviewer.cookieTab", true); window.openDialog("chrome: 
add: window.openDialog("chrome: 
context: function WalletDialog( which ){  switch( which ) {    case "signon":      window.openDialog("chrome://communicator/content/wallet/SignonViewer.xul","SSViewer","modal=yes,chrome,resizable=no");       break;    case "cookie":      this.pref.SetBoolPref("cookieviewer.cookieTab", true);      window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul","CookieViewer","modal=yes,chrome,resizable=no");       break;    case "image":      this.pref.SetBoolPref("cookieviewer.cookieTab", false);      window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul","CookieViewer","modal=yes,chrome,resizable=no");       break;    case "samples":      window._content.location.href= 'http://www.mozilla.org/wallet/samples/';      break;    case "interview":      window._content.location.href= 'http://www.mozilla.org/wallet/samples/INTERVIEW.HTML';      break;    case "wallet":    default:      window.openDialog("chrome://communicator/content/wallet/WalletEditor.xul","walletEditor","modal=yes,chrome,resizable=no");       break;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/22fb52235101f5c9bc564340357c92224b78e0b1/tasksOverlay.js/buggy/suite/common/tasksOverlay.js