Ok we do not seem to be gettign anywhere here.

Is there a function in your code called ItemValue()?

If so could you paste it here using code tags of course or at least post the line that defines the function