AMENDED AND RESTATED REVOLVING CREDIT AND TERM LOAN AGREEMENT dated as of October 29, 1999