$ 0 0 Whatever else this code is doing, cnt isn't being incremented. Add cnt++ before or after axlHighlightObject