Title: Resonance Lines of Mg2 As Diagnostics of the Upper Solar Chromosphere