// JavaScript Document

function Calc() {
               var a;
               var b;
               var c;
               var d;
               var e;
               var f;

               a = document.form1.txtA.value;
               b = document.form1.txtB.value;
               c = parseInt(a)/parseInt(b);
               d = document.form1.txtD.value;
               e = document.form1.txtE.value;
               f = parseInt(d)/parseInt(e);
               g = parseInt(c)*parseInt(f);

               document.form1.txtC.value = c;
               document.form1.txtF.value = f;
               document.form1.txtG.value = g;
           }