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

}
