var amount2;
var amount;

function update_amount()
{
	amount.value = amount2.value;
}

window.onload = function()
{
	document.getElementById("amount_p").style.display = "none";
	amount2 = document.getElementById("amount2");
	amount = document.getElementById("amount");
	
	amount2.onkeypress = function()
	{
		setTimeout("update_amount()", 0);
	}
}

