function minicalc() {
var t1 = document.form1.qty.value;
var t2 = document.form1.price.value;
var total = 0;
if ( t1!="" && !isNaN( t1 ) ){
total += parseFloat( t1 );
}
if ( t2!="" && !isNaN( t2 ) ){
total += parseFloat( t2 );
}
document.form1.total.value=total;