Avatar

Level 10

Bruce,

     Thank you for prompting my mistake.. Yes, I should have removed the -1 in the for loop..or place a <= sign for that.

     I agree with you that using the item(i) should definitely be a faster way compared to resolving the node again.

Thanks

Srini