Exhibit 10.17 AMENDED AND RESTATED CREDIT AGREEMENT Dated as of July 20, 2005 Amending and Restating the CREDIT AGREEMENT Dated as of June 16, 2005