In the acute-angled triangle \(ABC\), the heights \(AA_1\) and \(BB_1\) are drawn. Prove that \(A_1C \times BC = B_1C \times AC\).