var finishSummary = document.getElementById('finishSummary'); var finishExtendedFailed = document.getElementById('finishExtendedFailed'); var finishExtendedSuccess = document.getElementById('finishExtendedSuccess'); if (!gSOAPerror) {  finishExtendedFailed.setAttribute("class", "hide");  statusIndicator.setAttribute("value", "95%"); statusDescription.setAttribute("value", strbundle.getString("reportSent"));  reportWizard.canAdvance = true; statusIndicator.setAttribute("value", "100%");   reportWizard.advance();   finishSummary.setAttribute("value", strbundle.getString("successfullyCreatedReport") + " " + gReportID);  finishExtendedDoc = finishExtendedSuccess.contentDocument; finishExtendedDoc.getElementById('urlStri').textContent         = gURL; finishExtendedDoc.getElementById('problemTypeStri').textContent = document.getElementById('problem_type').label; finishExtendedDoc.getElementById('descriptionStri').textContent = descriptionStri; finishExtendedDoc.getElementById('platformStri').textContent    = navigator.platform; finishExtendedDoc.getElementById('oscpuStri').textContent       = navigator.oscpu; finishExtendedDoc.getElementById('productStri').textContent     = getProduct(); finishExtendedDoc.getElementById('geckoStri').textContent       = getGecko(); finishExtendedDoc.getElementById('buildConfigStri').textContent = buildConfig; finishExtendedDoc.getElementById('userAgentStri').textContent   = navigator.userAgent; finishExtendedDoc.getElementById('langStri').textContent        = gLanguage; finishExtendedDoc.getElementById('emailStri').textContent       = emailStri;  reportWizard.canRewind = false;  } else {  finishExtendedSuccess.setAttribute("class", "hide");   var finishPage = document.getElementById('finish'); finishPage.setAttribute("label",strbundle.getString("finishError"));  reportWizard.canAdvance = true; reportWizard.advance();  finishSummary.setAttribute("value",strbundle.getString("failedCreatingReport"));  finishExtendedDoc = finishExtendedFailed.contentDocument;  finishExtendedDoc.getElementById('faultMessage').textContent = gFaultMessage; }  document.getElementById('finishExtendedFrame').collapsed = true; reportWizard.getButton("cancel").disabled = true; 
sendReporterServerData(param, onSendReportDataLoad); 
function sendReport() {  // we control the user path from here.  var reportWizard = document.getElementById('reportWizard');  reportWizard.canRewind = false;  reportWizard.canAdvance = false;  // why would we need a cancel button?  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 userAgent = navigator.userAgent;  // 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(navigator.platform,  "platform");  param[6] = new SOAPParameter(navigator.oscpu,     "oscpu");  param[7] = new SOAPParameter(getGecko(),          "gecko");  param[8] = new SOAPParameter(getProduct(),        "product");  param[9] = new SOAPParameter(navigator.userAgent, "useragent");  param[10] = new SOAPParameter(buildConfig,        "buildconfig");  param[11] = new SOAPParameter(gLanguage,          "language");  param[12] = new SOAPParameter(emailStri,          "email");  param[13] = new SOAPParameter(getSysID(),         "sysid");  statusIndicator.setAttribute("value", "5%");  statusDescription.setAttribute("value", strbundle.getString("sendingReport"));  callReporter("submitReport", param, setValReportID);  var finishSummary = document.getElementById('finishSummary');  var finishExtendedFailed = document.getElementById('finishExtendedFailed');  var finishExtendedSuccess = document.getElementById('finishExtendedSuccess');  if (!gSOAPerror) {    // If successful    finishExtendedFailed.setAttribute("class", "hide");    statusIndicator.setAttribute("value", "95%");    statusDescription.setAttribute("value", strbundle.getString("reportSent"));    reportWizard.canAdvance = true;    statusIndicator.setAttribute("value", "100%");    // Send to the finish page    reportWizard.advance();    // report ID returned from the web service    finishSummary.setAttribute("value", strbundle.getString("successfullyCreatedReport") + " " + gReportID);    finishExtendedDoc = finishExtendedSuccess.contentDocument;    finishExtendedDoc.getElementById('urlStri').textContent         = gURL;    finishExtendedDoc.getElementById('problemTypeStri').textContent = document.getElementById('problem_type').label;    finishExtendedDoc.getElementById('descriptionStri').textContent = descriptionStri;    finishExtendedDoc.getElementById('platformStri').textContent    = navigator.platform;    finishExtendedDoc.getElementById('oscpuStri').textContent       = navigator.oscpu;    finishExtendedDoc.getElementById('productStri').textContent     = getProduct();    finishExtendedDoc.getElementById('geckoStri').textContent       = getGecko();    finishExtendedDoc.getElementById('buildConfigStri').textContent = buildConfig;    finishExtendedDoc.getElementById('userAgentStri').textContent   = navigator.userAgent;    finishExtendedDoc.getElementById('langStri').textContent        = gLanguage;    finishExtendedDoc.getElementById('emailStri').textContent       = emailStri;    reportWizard.canRewind = false;  } else {    // If there was an error from the server    finishExtendedSuccess.setAttribute("class", "hide");    // Change the label on the page so users know we have an error    var finishPage = document.getElementById('finish');    finishPage.setAttribute("label",strbundle.getString("finishError"));    reportWizard.canAdvance = true;    reportWizard.advance();    finishSummary.setAttribute("value",strbundle.getString("failedCreatingReport"));    finishExtendedDoc = finishExtendedFailed.contentDocument;    //finishExtendedDoc.getElementById('faultCode').textContent = gFaultCode;    finishExtendedDoc.getElementById('faultMessage').textContent = gFaultMessage;  }  document.getElementById('finishExtendedFrame').collapsed = true;  reportWizard.getButton("cancel").disabled = true;}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/5cb011930694477ba0d28a9e734b09b5ebd5bacc/reportWizard.js/buggy/extensions/reporter/resources/content/reporter/reportWizard.js