Consider OAB\triangle OAB with acute angle AOBAOB. Through a point MOM \neq O perpendiculars are drawn to OAOA and OBOB, the feet of which are PP and QQ respectively. The point of intersection of the altitudes of OPQ\triangle OPQ is HH. What is the locus of HH if MM is permitted to range over (a) the side ABAB, (b) the interior of OAB\triangle OAB?