this.mCache[caldata.id] = this.createCalendar(caldata.type, makeURI(caldata.uri)); 
var cal = this.createCalendar(caldata.type, makeURI(caldata.uri)); cal.id = caldata.id; this.mCache[caldata.id] = cal; 
    getCalendars: function(count) {        var calendars = [];        var stmt = this.mSelectCalendars;        stmt.reset();        var newCalendarData = [];        while (stmt.step()) {            var id = stmt.row.id;            if (!(id in this.mCache)) {                newCalendarData.push ({id: id, type: stmt.row.type, uri: stmt.row.uri });            }        }        stmt.reset();        for each (var caldata in newCalendarData) {            try {                this.mCache[caldata.id] = this.createCalendar(caldata.type, makeURI(caldata.uri));            } catch (e) {                dump("Can't create calendar for " + caldata.id + " (" + caldata.type + ", " +                      caldata.uri + "): " + e + "\n");                continue;            }        }        for each (var cal in this.mCache)            calendars.push (cal);        count.value = calendars.length;        return calendars;    },
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/5c2eff62f489d5c91d466c614db49972e886f55c/calCalendarManager.js/buggy/calendar/base/src/calCalendarManager.js