Exhibit 10.17 THIRD AMENDED AND RESTATED LOAN AND SECURITY AGREEMENT Dated as of May 11, 2004