Suppose ABC is a triangle and D is the midpoint of BC. Assume that the perpendiculars from D to AB and AC are of equal length. Prove that ABC is isosceles.