Heights On Algebraic Varieties Over Function Fields