function calculatesavings() {
	var thehomevalue = document.getElementById('input').value;
	if (thehomevalue < 75000) {
		alistfee = 1500;
		abuyfee = 750;
	} else if (thehomevalue >= 75000 && thehomevalue < 100000) {
		alistfee = 1500;
		abuyfee = 750;
	} else if (thehomevalue >= 100000 && thehomevalue < 125000) {
		alistfee = 2000;
		abuyfee = 1000;
	} else if (thehomevalue >= 125000 && thehomevalue < 150000) {
		alistfee = 2500;
		abuyfee = 1250;
	} else if (thehomevalue >= 150000 && thehomevalue < 200000) {
		alistfee = 3000;
		abuyfee = 1500;
	} else if (thehomevalue >= 200000 && thehomevalue < 250000) {
		alistfee = 3500;
		abuyfee = 1750;
	} else if (thehomevalue >= 250000 && thehomevalue < 300000) {
		alistfee = 4500;
		abuyfee = 2250;
	} else if (thehomevalue >= 300000 && thehomevalue < 400000) {
		alistfee = 5000;
		abuyfee = 2500;
	} else if (thehomevalue >= 400000 && thehomevalue < 500000) {
		alistfee = 6500;
		abuyfee = 3250;
	} else if (thehomevalue >= 500000 && thehomevalue < 750000) {
		alistfee = 8000;
		abuyfee = 4000;
	} else if (thehomevalue >= 750000) {
		alistfee = 10000;
		abuyfee = 5000;
	}
	document.getElementById('artlistingfee').innerText = '$'+alistfee;
	document.getElementById('artbuyersfee').innerText = '$'+abuyfee;
	document.getElementById('fullsavings').innerText = '$'+(((thehomevalue*7)/100)-(alistfee+abuyfee))+' compared to traditional real estate.';
	document.getElementById('artlistingfee2').innerText = '$'+alistfee;
	document.getElementById('partialsavings').innerText = '$'+(((thehomevalue*4)/100)-(alistfee))+' compared to traditional real estate.';
}
