// JavaScript Document カウント用

function count_chk(form) {
  var total = 0;
  var max = form.chk_box.length;
  for (var index = 0; index < max; index++) {
    if (eval("document.area_chk.chk_box[" + index + "].checked") == true) {
      total += 1;
    }
  }
  alert("あなたは、 " + total + " 個　チェックしました。");
}



// 集計用
function total() {
    yen = 0;
    for (i=0; i< document.A_Form.length-1; i++) {
    if (document.A_Form.elements[i].checked) {
    yen += eval(document.A_Form.elements[i].value);
    }
    }
    document.A_Form._total.value = yen;
    }
