function change(el, i) {
	obj = document.getElementById(el);
	
	if (obj.value == 0) if (i == -1) return; 
	 	obj.value = parseInt(obj.value) + i;

	pri = document.getElementById('pp'+el);
	pr = document.getElementById('p'+el);
	pr.value = parseInt(pri.value) * parseInt(obj.value);
}


function actprice(id, pr) {
	pri = document.getElementById(pr);
	//alert(pri);
	pri.value = id.value;
}