public void buttonClicked(int ID)
	{		
		switch (ID)
		{
		case 0:
			count++;
			if (count > limit)
			{
				count = limit;
			}
			else parent.amountIncremented(id);
			break;
		case 1:
			count--;
			if (count < minimum)
			{
				count = minimum;
			}
			else parent.amountDecremented(id);
			break;
		}
	}