var _hsstmrID = null;
var _hsstmrON = false;
var _hsspos   = 80;
function calculator(point, beforepoint_of_object, amountpoint_of_object)
{
	var intbuff=0;
	intbuff = parseInt(point) - parseInt(document.getElementById(beforepoint_of_object).value);
	document.getElementById(beforepoint_of_object).value = point;
	document.getElementById(amountpoint_of_object).value = parseInt(document.getElementById(amountpoint_of_object).value) + parseInt(intbuff);

}

