context: function kickOffSearch(){  try {    var prefix1 = "";    var suffix1 = "";    var urlFilter = gLdapServerURL.filter;    if (urlFilter != null && urlFilter.length > 0 && urlFilter != "(objectclass=*)") {      if (urlFilter[0] == '(') {        prefix1 = "(&" + urlFilter;      }      else {        prefix1 = "(&(" + urlFilter + ")";      }      suffix1 = ")";    }    var prefix2 = "";    var suffix2 = "";    if (gEmailAddresses.length > 1) {      prefix2 = "(|";      suffix2 = ")";    }    var mailFilter = "";    for (var i = 0; i < gEmailAddresses.length; ++i) {      mailFilter += "(mail=" + gEmailAddresses[i] + ")";    }        var filter = prefix1 + prefix2 + mailFilter + suffix2 + suffix1;    var wanted_attributes = new Array();    wanted_attributes[0] = CertAttribute;    // Max search results =>    // Double number of email addresses, because each person might have    // multiple certificates listed. We expect at most two certificates,    // one for signing, one for encrypting.    // Maybe that number should be larger, to allow for deployments,    // where even more certs can be stored per user???        var maxEntriesWanted = gEmailAddresses.length * 2;    getLDAPOperation();    gLdapOperation.searchExt(gLdapServerURL.dn, gLdapServerURL.scope,                             filter, 1, wanted_attributes, 0, maxEntriesWanted);  }  catch (e) {    window.close();  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/55a5e5ddbf4a7e9103b995d808c4466085d2123f/certFetchingStatus.js/clean/mailnews/extensions/smime/resources/content/certFetchingStatus.js