title: Summing variables with parseInt(); Not Working
body: <p>What is the proper way to add the sum of multiple variables in Javascript?</p>
  
  <p>This is what I'm trying to do. I've tried it with and without the quotes around my variables. I'm not getting a NaN or an Undefined or anything. No output whatsoever.</p>
  
  <pre><code>function setstat(){
  document.getElementById('date').value = window.opener.document.getElementById('thisday').value;
  document.getElementById('name').value = window.opener.document.getElementById('element_7').value;
  document.getElementById('time').value = window.opener.document.getElementById('stwa').value;
  
  inbcalls = window.opener.document.getElementById('element_6').value;
  document.getElementById('totinb').value = inbcalls;
  inbcallsp = parseInt("inbcalls",10);
  asaptotal = window.opener.document.getElementById('asapcalls').value;
  document.getElementById('asaptot').value = asaptotal;
  asaptotalp = parseInt("asaptotal",10);
  faxtotal = window.opener.document.getElementById('faxcalls').value;
  document.getElementById('faxtot').value = faxtotal;
  faxtotalp = parseInt("faxtotal",10);
  obtotal = window.opener.document.getElementById('obcalls').value;
  document.getElementById('obtot').value = obtotal;
  totalcalls = inboundcallsp + asaptotalp + faxtotalp + obtotalp;
  document.getElementById('totsum').value = totalcalls;
  }
  </code></pre>