Lemma: The orthocenter and the centroid are the two centers of similitude of O1,O2.
Proof of Lemma: The nine-point circle passes through the midpoints of HA,HB,HC, so H is one center of similitude.
The nine-point circle passes through the midpoints of AB,BC,CA (denoted respectively by M,N,P), and AG:GM=2:1, BG:GN=2:1, CG:GP=2:1, so G is also a center of similitude.
Now return to the proof of the original problem. When ABC is acute, let X be the intersection of the radical axis of O1,O2 with OH, let x be the radius of O1, y the radius of O2, and let XO=a,XG=b,XN=c,XH=d.
We have b−ca−b=c−da−d=yx,a2−x2=c2−y2.
From this we get b=x+ycx+ay,d=x−ycx−ay,
bd=x2−y2c2x2−a2y2=x2−y2(c2−y2)(x2−y2)=c2−y2.
Hence the three circles are coaxial (the case of an obtuse angle is computed similarly).