Hi 919191,
I think that what you are experiencing is a feature added by Microsoft whereby the computer automatically restarts itself in an attempt to fix some problem XP has encountered. By default, the computer is configured to automatically restart when Windows stops responding but you can check or change this setting by going to :
(right click )My Computer -> Properties -> Advanced -> Startup&Recovery
Look under System Failure, there are 3 check boxes there that might help you.
-Write an event ..
- Send an alert ...
- Automatically Restart ...
So you can uncheck Automatically Restart to, well, not restart on error.
Then, I would check the log files to see if there is some clue there as to what is causing the restart.
Good Luck !