rem: openDialog("chrome: 
add: openDialog("chrome: 
context: calendarManager.prototype.launchNewOrOpenCalendarFileDialog = function calMan_launchNewOrOpenCalendarFileDialog( aName, aPath, aMode ){   // set up a bunch of args to pass to the dialog   var ThisCalendarObject = new CalendarObject();      if( aName )      ThisCalendarObject.name = aName;   if( aPath )      ThisCalendarObject.path = aPath;   var args = new Object();   args.mode = aMode;   var thisManager = this;   var callback = function( ThisCalendarObject ) { thisManager.addServerDialogResponse( ThisCalendarObject ) };   args.onOk =  callback;   args.CalendarObject = ThisCalendarObject;   // open the dialog modally   openDialog("chrome://calendar/content/localCalDialog.xul", "caAddServer", "chrome,modal", args );}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/f7e12ddbb878518955668bd4f6a426cc11ac1247/calendarManager.js/clean/calendar/resources/content/calendarManager.js