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