var cal = new calWcapCalendar( calId, session, calProps ); switch (CACHE) { case "memory": case "storage":  var cal_ = new calWcapCachedCalendar(); cal_.remoteCal = cal; cal = cal_; break; } 
var cal = new calWcapCalendar(session, calProps);          
function createWcapCalendar( calId, session, /*optional*/calProps ){    var cal = new calWcapCalendar( calId, session, calProps );    switch (CACHE) {    case "memory":    case "storage":        // wrap it up:        var cal_ = new calWcapCachedCalendar();        cal_.remoteCal = cal;        cal = cal_;        break;    }    return cal;}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/a8adf4992620da379274cea3395ed3099b6769d6/calWcapCalendar.js/buggy/calendar/providers/wcap/calWcapCalendar.js