rem: this.mCalMgr.setCalendarPref(aCalendar, this.mActivePref, 
add: getCalendarManager().setCalendarPref(aCalendar, this.mActivePref, 
context:     addCalendar: function (aCalendar) {        // check if the calendar already exists        for each (cal in this.mCalendars) {            if (aCalendar.uri.equals(cal.uri)) {                // throw exception if calendar already exists?                return;            }        }        // add our observer helper        aCalendar.addObserver(this.mObserverHelper);        this.mCalendars.push(aCalendar);        if (this.mPrefPrefix) {            this.mCalMgr.setCalendarPref(aCalendar, this.mActivePref,                                         "true");        }        this.notifyObservers("onCalendarAdded", [aCalendar]);        // if we have no default calendar, we need one here        if (this.mDefaultCalendar == null)            this.setDefaultCalendar(aCalendar, false);    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c046772670fd455b8dab081e134a93e27d57b610/calCompositeCalendar.js/buggy/calendar/providers/composite/calCompositeCalendar.js