Exhibit 10.40 CREDIT AGREEMENT Dated as of March 9, 2005