<!--- updated 04/15/2000 by Cahya DSN
var jml = new Array;
function jmlH(){
  with(document.frm){
  jml[0]=parseInt(n1.value);
  jml[1]=parseInt(n2.value);
  jml[2]=parseInt(n3.value);
  jml[3]=parseInt(n4.value);
  jml[4]=parseInt(n5.value);
  jml[5]=parseInt(n6.value);
  jml[6]=parseInt(n7.value);
  jml[7]=parseInt(n8.value);
  jml[8]=parseInt(n9.value);
  jml[9]=parseInt(n10.value);
 }
 jml[10]=jml[0]+jml[1]+jml[2]+jml[3]+jml[4]+jml[5]+jml[6]+jml[7]+jml[8]+jml[9];
 document.frm.n11.value=jml[10];
 saldo.innerText=jml[10];
 jml[12]=parseInt(document.frm1.n13.value);
 if(jml[10]>jml[12]) {
    document.frm.zk.value=jml[10]*0.025;
    document.frm.zk.style.fontSize=9;
    }
 else {
   document.frm.zk.style.fontSize=8;
   document.frm.zk.value="belum sampai nishab";
 }
}

function clrT(){
  document.frm1.n13.value=0;
}

function insT(){
  jml[11]=parseInt(document.frm1.n12.value);
  document.frm1.n13.value=jml[11]*85;
}

function hT(){
  insT();
  jmlH(); 
}
//-----end of code-->
<!--- copyright (c) 2000 by Prosati Cybernetica; author: Cahya DSN --->
