rem: var calMgr = Cc["@mozilla.org/calendar/manager;1"]. getService(Ci.calICalendarManager); 
add: var calMgr = Components.classes["@mozilla.org/calendar/manager;1"] .getService(Components.interfaces.calICalendarManager); 
context: function getTargetCalendar(){    var calMgr = Cc["@mozilla.org/calendar/manager;1"].                 getService(Ci.calICalendarManager);    var cals = calMgr.getCalendars({});    return cals[0];}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/38f660b3db40758b875dea97231a8bd5e83200b2/imip-bar.js/buggy/calendar/lightning/content/imip-bar.js