Does anyone no if there is an HTML code that will stop an animation after a number of rotations or actions....

I have some animation on a business Intranet site, and it has been requested that the animation run a few times and then stop...but that it will restart once the page is refreshed...


Any suggestions would be welcomed!

Thank you