function setAmount(id)
{
	if( (document.getElementById("amountInput"+id).value == 0) && (document.getElementById("Box"+id).checked == true) ) 
	{
		document.getElementById("amountInput"+id).value = "10";
	}
}

function checkBox(id)
{
	document.getElementById("Box"+id).checked=true;
}
