The fact that it's rebooting without even BSoD'ing indicates a more serious failure. You need to get that machine looked at, forget about Firefox, tackle the root of the problem first, as there is no way you can run a PC in that condition.