add: var pcnt; 
context: function ContinueImport( info) {  var isMail = info.importType == 'mail' ? true : false;  var clear = true;  var deck;  if (info.importInterface) {    if (!info.importInterface.ContinueImport()) {      info.importSuccess = false;      clearInterval( info.intervalState);      if (info.progressWindow != null) {        deck = document.getElementById("stateDeck");        deck.setAttribute("index", "3");        info.progressWindow = null;      }      ShowImportResults(false, isMail ? 'Mail' : 'Address');    }    else if ((pcnt = info.importInterface.GetProgress()) < 100) {      clear = false;      if (info.progressWindow != null) {        if (pcnt < 5)          pcnt = 5;        SetProgress( pcnt);        if (isMail) {          var mailName = info.importInterface.GetData( "currentMailbox");          if (mailName) {            mailName = mailName.QueryInterface( Components.interfaces.nsISupportsWString);            if (mailName)              SetStatusText( mailName.data);          }        }      }    }    else {      dump("*** WARNING! sometimes this shows results too early. \n");      dump("    something screwy here. this used to work fine.\n");      clearInterval( info.intervalState);      info.importSuccess = true;      if (info.progressWindow) {        deck = document.getElementById("stateDeck");        deck.setAttribute("index", "3");        info.progressWindow = null;      }      ShowImportResults(true, isMail ? 'Mail' : 'Address');    }  }  if (clear) {    info.intervalState = null;    info.importInterface = null;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1e171d1437f26880c310c58c02b8170b6a99fe4a/importDialog.js/clean/mailnews/import/resources/content/importDialog.js