_name+"_input");
	counter.value = Number(counter.value) + 1;
	eval('change_' + counter_name + '()');
}

function dec(counter_name) {
	var counter = document.getElementById(counter_name+"_input");
	counter.value = Number(counter.value) - 1;
	eval('change_' + counter_name + '()');
}

function reset_values() {
	document.getElementById("app_degree_input").value = app_degree;
	document.getElementById("both_degree_input").value = both_degree;
	document.getElementById("ips_input").value = ips;
}

// alrorithms
fun