<script language="javascript">
function getanswer( )
{
var x =parseFloat(document.form1.dep_deposit.value);
var y =parseFloat(document.form1.dep_deposit_total.value);
var sum;
sum=x+y;
document.form1.Answer.value=sum;
}
</script>
</head>
<body>
<form name="form1">