var item = gItipItem.getFirstItem(); while (item != null) { if (eventStatus.length) item.status = eventStatus; cal.addItem(item, null); item = gItipItem.getNextItem(); 
if (aLocalStatus != null) { gItipItem.localStatus = aLocalStatus; 
function doResponse(eventStatus){    // XXX For now, just add the item to the calendar    // The spec is unclear if we must add all the items or if the    // user should get to pick which item gets added.    var cal = getTargetCalendar();    var item = gItipItem.getFirstItem();    while (item != null) {        if (eventStatus.length)            item.status = eventStatus;        cal.addItem(item, null);        item = gItipItem.getNextItem();    }}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/79e6cc1011da92ae3fd9afc215d83ee3c14439b2/imip-bar.js/clean/calendar/lightning/content/imip-bar.js