SECOND AMENDED AND RESTATED CREDIT AGREEMENT Dated as of August 31, 2004 among DIGITAL GENERATION SYSTEMS, INC., as Borrower The Lenders Party Hereto, JPMORGAN CHASE BANK, as Administrative Agent and Issuing Bank