Looping animations?

I have another problem…

I want to have some water loop a wave animation… but I don’t know how…

I want to have an animation, with 10 frames, loop itself when it hits frame 10, and not go to frame above or below the animation. How can I do this?