rem: openDialog( "chrome: 
add: openDialog( "chrome: 
context: function newEvent( startDate, allDay ){   // set up a bunch of args to pass to the dialog      var args = new Object();      args.mode = "new";      args.onOk =  self.addEventDialogResponse;       args.calendarEvent = penapplication.getRoot().CalendarEvent.makeNewEvent( startDate, allDay );      // open the dialog non modally               openDialog( "chrome://calendar/content/ca-event-dialog.xul", "caNewEvent", "chrome,modal", args );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/aaa976ff263676edcb1f548e47e233d0dbd50e1e/calendar.js/buggy/calendar/resources/content/calendar.js