That way won't work, you'd need to write the much more tedious method of:
Code:
if (($item1 == 4861) || ($item1 == 4862) || ($item1 == 4863) || etc...
Since most of the items you're looking at are in a sequence, you might try something like:
Code:
if ( (($item1 >= 4861) && ($item1 <= 4867)) || (($item1 >= 4911) && ($item1 <= 4917)) ) {
for each set of items to cut down on the work.