

var btw = 1.19;
var mh = 988;
var bespaarinvul = document.Form1.BespaarInvul.value;

document.Form1.BespaarInvul.focus()

if (bespaarinvul <= 30000) {
	document.Form1.Uitkomst.value = 0;
}

function Besparing() 
{
	uitkomst = document.Form1.BespaarInvul.value;
	som = uitkomst * 0.0165;
	result = (Math.round( som * btw ) - mh);
	if (result < 0) {
		document.Form1.Uitkomst.value = 0;
	} else {
	document.Form1.Uitkomst.value = (Math.round( som * btw ) - mh);
	}
}



