if (!when) 
if (!when) { 
function addItem(item){    var when = this.findPeriodForItem(item);    if (!when)        return;    when.events.push(item);    this.calendarUpdateComplete();};
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/5d7964b57ec47cc2c5d4d32fa0f5f9ad8d3d6bd5/agenda-tree.js/buggy/calendar/lightning/content/agenda-tree.js