EXHIBIT 10.51 AMENDED AND RESTATED CREDIT AGREEMENT Dated as of June 9, 1999 by and among