LOAN AGREEMENT July 31, 1999