if (email.indexOf("mailto:") == 0) email = email.split("mailto:")[1] attendeeNames += email; 
if (regexp.test(email)) { attendeeNames += RegExp.$1; } else { attendeeNames += email; } 
function updateAttendees(){  var attendeeRow = document.getElementById("attendee-row");  if(!window.attendees || !window.attendees.length) {    attendeeRow.setAttribute('collapsed','true');  } else {    attendeeRow.removeAttribute('collapsed');    var attendeeNames = "";    var numAttendees = window.attendees.length;    for(var i=0; i<numAttendees; i++) {      var attendee = window.attendees[i];      if(attendee.commonName && attendee.commonName.length) {        attendeeNames += attendee.commonName;      } else if(attendee.id && attendee.id.length) {        var email = attendee.id;        if (email.indexOf("mailto:") == 0)          email = email.split("mailto:")[1]        attendeeNames += email;      } else {        continue;      }      if(i+1 < numAttendees)        attendeeNames += ',';    }    var attendeeList = document.getElementById("attendee-list");    var callback = function func() {      attendeeList.setAttribute('value',attendeeNames);    }    setTimeout(callback, 1);  }}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/28ae23d79e79ed57bd3e3c3f08327b8eec7597a5/sun-calendar-event-dialog.js/clean/calendar/prototypes/wcap/sun-calendar-event-dialog.js