function checkForItipItem(){    var itipItem;    try {        var msgUri = GetLoadedMessage();        var sinkProps = msgWindow.msgHeaderSink.properties;        // This property was set by LightningTextCalendarConverter.js        itipItem = sinkProps.getPropertyAsInterface("itipItem",                                                    Components.interfaces.calIItipItem)    } catch (e) {        // This will throw on every message viewed that doesn't have the        // itipItem property set on it. So we eat the errors and move on.        // XXX TODO: Only swallow the errors we need to. Throw all others.        return;    }    // We are only called upon receipt of an invite, so ensure that isSend    // is false.    itipItem.isSend = false;    // XXX Get these from preferences    itipItem.autoResponse = Components.interfaces.calIItipItem.USER;    itipItem.targetCalendar = getTargetCalendar();    var imipMethod = getMsgImipMethod();    if (imipMethod.length) {        itipItem.receivedMethod = imipMethod;    } else {        // Thunderbird 1.5 case, we cannot get the imipMethod        imipMethod = itipItem.receivedMethod;    }    gItipItem = itipItem;    // XXX Bug 351742: no S/MIME or spoofing protection yet    // handleImipSecurity(imipMethod);    setupBar(imipMethod);}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/a43eedf9671928b5eeab01d2060178f08be8b053/imip-bar.js/buggy/calendar/lightning/content/imip-bar.js