function consider() {
	window.setTimeout('doit()', 300);
}

function doit() {
	from = document.getElementById('from').value;
	to = document.getElementById('to').value;
	hm = parseFloat(document.getElementById('howmuch').value);
	a = from * hm / to ;
	document.getElementById('result').innerHTML = a.toFixed(2);
}