<!--- updated 04/15/2000 by Cahya DSN
// This computer program is protected by copyright law and international treaties. 
// Unauthorized reproduction or distribution of this program, or any portion of it, 
// may result in severe civil and criminal penalties, and will be prosecuted to the 
// maximum extent possible under the law.
// copyright (c) 2000,2001  by cahya dsn; cahyadsn@yahoo.com

var jml = new Array;
function hit(){
  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]=jml[0]+jml[1]+jml[2]+jml[3]+jml[4]+jml[5]+jml[6]+jml[7]+jml[8];
  document.frm.n10.value=jml[9];
 saldo.innerText=jml[9];
 jml[11]=parseInt(document.frm1.n12.value);
 if(jml[9]>jml[11]) {
    document.frm.zk.value=jml[9]*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.n12.value=0;
}

function insT(){
  jml[10]=parseInt(document.frm1.n11.value);
  document.frm1.n12.value=jml[10]*85;
}

function hT(){
  insT();
  hit(); 
}
//---->
<!--- copyright (c) 2000 by Prosati Cybernetica; author: Cahya DSN --->