rem: var finishExtended = document.getElementById('finishExtendedFailed'); 
add: finishExtended = document.getElementById('finishExtendedFailed'); 
context: function sendReport(){  // we control the user path from here.  document.getElementById('reportWizard').canRewind = false;  document.getElementById('reportWizard').canAdvance = false;  // why would we need a cancel button?  document.getElementById('reportWizard').getButton("cancel").disabled = true;  var strbundle=document.getElementById("strings");  var statusDescription = document.getElementById('sendReportProgressDescription');  var statusIndicator = document.getElementById('sendReportProgressIndicator');  // Data from form we need  var descriptionStri = document.getElementById('description').value;  var problemTypeStri = document.getElementById('problem_type').value;  var behindLoginStri = document.getElementById('behind_login').checked;  var emailStri = document.getElementById('email').value;  var buildConfig = getBuildConfig();  var sysid = getSysID()  // SOAP params  var param = new Array();  param[0] = new SOAPParameter(gRMOvers,"rmoVers");  param[1] = new SOAPParameter(gURL,"url");  param[2] = new SOAPParameter(problemTypeStri,"problem_type");  param[3] = new SOAPParameter(descriptionStri,"description");  param[4] = new SOAPParameter(behindLoginStri,"behind_login");  param[5] = new SOAPParameter(gPlatform,"platform");  param[6] = new SOAPParameter(goscpu,"oscpu");  param[7] = new SOAPParameter(geckoStri,"gecko");  param[8] = new SOAPParameter(product(),"product");  param[9] = new SOAPParameter(gUserAgent,"useragent");  param[10] = new SOAPParameter(buildConfig, "buildconfig");  param[11] = new SOAPParameter(gLanguage,"language");  param[12] = new SOAPParameter(emailStri,"email");  param[13] = new SOAPParameter(sysid,"sysid");  statusIndicator.setAttribute("value","5%");  statusDescription.setAttribute("value",strbundle.getString("sendingReport"));  callReporter("submitReport",param,setValReportID);  var finishSummary = document.getElementById('finishSummary');  if (!gSOAPerror)  {    // If successful    var finishExtended = document.getElementById('finishExtendedSuccess');    document.getElementById('finishExtendedFailed').setAttribute("class", "hide");    statusIndicator.setAttribute("value","95%");    statusDescription.setAttribute("value",strbundle.getString("reportSent"));    document.getElementById('reportWizard').canAdvance= true;    statusIndicator.setAttribute("value","100%");    // Send to the finish page    document.getElementById('reportWizard').advance();    // report ID returned from the web service    finishSummary.setAttribute("value",strbundle.getString("successfullyCreatedReport") + " " + gReportID);    finishExtendedDoc = finishExtended.contentDocument;    finishExtendedDoc.getElementById('urlStri').textContent = gURL;    finishExtendedDoc.getElementById('problemTypeStri').textContent = document.getElementById('problem_type').label;    finishExtendedDoc.getElementById('descriptionStri').textContent = descriptionStri;    finishExtendedDoc.getElementById('platformStri').textContent = gPlatform;    finishExtendedDoc.getElementById('oscpuStri').textContent = goscpu;    finishExtendedDoc.getElementById('productStri').textContent = product();    finishExtendedDoc.getElementById('geckoStri').textContent = geckoStri;    finishExtendedDoc.getElementById('buildConfigStri').textContent = buildConfig;    finishExtendedDoc.getElementById('userAgentStri').textContent = gUserAgent;    finishExtendedDoc.getElementById('langStri').textContent = gLanguage;    finishExtendedDoc.getElementById('emailStri').textContent = emailStri;    document.getElementById('reportWizard').canRewind= false;  } else {    // If there was an error from the server    var finishExtended = document.getElementById('finishExtendedFailed');    document.getElementById('finishExtendedSuccess').setAttribute("class", "hide");    document.getElementById('reportWizard').canAdvance= true;    document.getElementById('reportWizard').advance();    finishSummary.setAttribute("value",strbundle.getString("failedCreatingReport"));    finishExtendedDoc = finishExtended.contentDocument;    finishExtendedDoc.getElementById('faultCode').textContent = gFaultCode;    finishExtendedDoc.getElementById('faultMessage').textContent = gFaultMessage;  }  document.getElementById('finishExtendedFrame').collapsed = true;  document.getElementById('reportWizard').canRewind = false;  document.getElementById('reportWizard').getButton("cancel").disabled = true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c4f4042aef86f3557810a8a59dd0f64483978f44/reportWizard.js/clean/extensions/reporter/resources/content/reporter/reportWizard.js