
function updateForm() {

	var inv1 = document.getElementById("invoice1");
	var inv2 = document.getElementById("invoice2");
	var amt1 = document.getElementById("amount1");
	var amt2 = document.getElementById("amount2");
	var item = document.getElementById("item_name");

	item.value = "Invoice: "+inv1.value;
	inv2.value = inv1.value;
	amt2.value = Math.round(amt1.value * 1.03 * 100) / 100;
	tot.value =  Math.round(amt1.value * 1.03 * 100) / 100;
}
