function getCheckedValue(radioObj) {
	if(!radioObj)
		return "";
	var radioLength = radioObj.length;
	if(radioLength == undefined)
		if(radioObj.checked)
			return radioObj.value;
		else
			return "";
	for(var i = 0; i < radioLength; i++) {
		if(radioObj[i].checked) {
			return radioObj[i].value;
		}
	}
	return "";
}

function increment(diff, ele)
{
	newVal = parseInt(ele.value) + parseInt(diff)
	if(newVal < 0)
	{
		ele.value = 0
	}
	else ele.value = newVal
	
	//calc_tape_sub_totals()
	//calc_copies_sub_totals()

}
