Don't Hold Your Horses: Race 'em!

You have 25 horses and want to know which are the 3 fastest. Whenever
you race horses, the order of finish accurately reflects the relative
speeds of the horses but you can only race 5 at a time. What's the
minimum number of races required to determine the 3 fastest, and how do
you do it?  (passed on by D. Stone)