function setupBar(imipMethod){    // XXX - Bug 348666 - Currently we only do PUBLISH requests    // In the future this function will set up the proper actions    // and attributes for the buttons as based on the iMIP Method    var imipBar = document.getElementById("imip-bar");    imipBar.setAttribute("collapsed","false");    var description = document.getElementById("imip-description");    // Bug 348666: here is where we would check if this event was already    // added to calendar or not and display correct information here    if (description.firstChild.data) {        description.firstChild.data = ltnGetString("lightning","imipBarText");    }    // Since there is only a PUBLISH, this is easy    var button1 = document.getElementById("imip-btn1");    button1.removeAttribute("hidden");    button1.setAttribute("label", ltnGetString("lightning",                                               "imipAddToCalendar.label"));    button1.setAttribute("oncommand",                          "setAttendeeResponse('PUBLISH', 'CONFIRMED');");}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/79e6cc1011da92ae3fd9afc215d83ee3c14439b2/imip-bar.js/clean/calendar/lightning/content/imip-bar.js