I had a similar problem. The fan had failed (youmay have noticed increased fan noise) and it was overheating and shutting down. If it is not the fan then there are some forums that talk about failed capacitors causing the same problem. I have fixed this twice on my machine.
Tom
March 2010