
function processForm() {
var twentyfive = 25;
var fifty = 50;
var hundred = 100;
var twofifty = 250;
var fivehundred = 500;
var A = document.getElementById("#25").value;
var B = document.getElementById("#50").value;
var C = document.getElementById("#100").value;
var D = document.getElementById("#250").value;
var E = document.getElementById("#500").value;

var total1 = (A * twentyfive);
var total2 = (B * fifty);
var total3 = (C * hundred);
var total4 = (D * twofifty);
var total5 = (E * fivehundred);
var total6 = (A * twentyfive) + (B * fifty) + (C * hundred) + (D * twofifty) + (E * fivehundred);
if (total6 == 0) {
alert ("Please make a selection");
return false;
}
total1 = "$" + total1;
total2 = "$" + total2;
total3 = "$" + total3;
total4 = "$" + total4;
total5 = "$" + total5;
total6 = "$" + total6;
document.getElementById("outbox1").value = total1;
document.getElementById("outbox2").value = total2;
document.getElementById("outbox3").value = total3;
document.getElementById("outbox4").value = total4;
document.getElementById("outbox5").value = total5;
document.getElementById("outbox6").value = total6;
}
// JavaScript Document