SECOND AMENDED AND RESTATED CREDIT AGREEMENT Dated as of October 24, 2005 among