Document:

Prepared by R.R. Donnelley Financial -- Sixth Amendment to Credit Agreement

  
 EXHIBIT 10.1 
  
  
 SIXTH AMENDMENT TO CREDIT AGREEMENT 
  
 THIS SIXTH AMENDMENT TO CREDIT AGREEMENT (“this Amendment”) dated as of May 31, 2002 but executed on June 5, 2002 is
entered into by ALABAMA NATIONAL BANCORPORATION, a Delaware corporation (the “Borrower”) and AMSOUTH BANK, an Alabama banking corporation and formerly known as AmSouth Bank of Alabama (the “Lender”). 

 
 Recitals 
  
 A.  The Borrower and the Lender have entered into a Credit Agreement dated as of December 29, 1995 as amended by a First Amendment thereto dated as of January 20, 1997, a Second Amendment thereto dated as of
January 19, 1998, a Third Amendment thereto dated as of May 31, 1999, a Fourth Amendment thereto dated as of May 31, 2000 and a Fifth Amendment thereto dated as of May 31, 2001 (as so amended, the “Agreement”). 
  
 B.  The Borrower and the Lender now desire to further amend the definition of “Facility Termination Date” and to make
the other changes set forth in this Amendment. 
  
 Agreement 
  
 NOW, THEREFORE, in consideration of the recitals and the mutual obligations and covenants contained herein, the Borrower and the
Lender hereby agree as follows: 
  
 1.  Capitalized terms used in this Amendment and not otherwise defined
herein have the respective meanings attributed thereto in the Agreement. 
  
 2.  The defined term
“Facility Termination Date” set forth in Article I of the Agreement is hereby further amended to read, in its entirety, as follows: 
  
 “Facility Termination Date” means May 31, 2003, as such date may be extended from time to time pursuant to Section 2.5 or accelerated pursuant to Section 7.2. 
  
 3.  Notwithstanding the execution of this Amendment, all of the indebtedness evidenced by the Note shall remain in full force
and effect, as modified hereby, and all of the collateral described in the Agreement and the Credit Documents shall remain subject to the liens, security interests and assignments of the Agreement and the Credit Documents as security for the
indebtedness evidenced by the Note and all other indebtedness described therein; and nothing contained in this Amendment shall be construed to constitute a novation of the indebtedness evidenced by the Note or to release, satisfy, discharge,
terminate or otherwise affect or impair in any manner whatsoever (a) the validity or enforceability of the indebtedness evidenced by the Note; (b) the liens, security interests, assignments and conveyances effected by the Agreement or the Credit
Documents, or the priority thereof; (c) the liability of any maker, endorser, surety, guarantor or other person that may now or hereafter be liable under or on account of the Note or the Agreement or the Credit Documents; or (d) any other security

 or instrument now or hereafter held by the Lender as security for or as evidence of any of the above-described indebtedness. 

 
 4.  All references in the Credit Documents to “Credit Agreement” shall refer to the Agreement as amended by
this Amendment, and as the Agreement may be further amended from time to time. 
  
 5.  The Borrower
certifies that the organizational documents of the Borrower have not been amended since May 31, 1999. 
  
 6.  The Borrower hereby represents and warrants to the Lender that all representations and warranties contained in the Agreement are true and correct as of the date hereof (except representations and warranties that are
expressly limited to an earlier date); and the Borrower hereby certifies that no Event of Default nor any event that, upon notice or lapse of time or both, would constitute an Event of Default, has occurred and is continuing. 

 
 7.  Except as hereby amended, the Agreement shall remain in full force and effect as written. This Amendment may be
executed in one or more counterparts, each of which shall be deemed an original, and all of which when taken together shall constitute one and the same instrument. The covenants and agreements contained in this Amendment shall apply to and inure to
the benefit of and be binding upon the parties hereto and their respective successors and permitted assigns. 
  
 8.  Nothing contained herein shall be construed as a waiver, acknowledgment or consent to any breach of or Event of Default under the Agreement and the Credit Documents not specifically mentioned herein, and the consents
granted herein are effective only in the specific instance and for the purposes for which given. 
  
 9.  This Amendment shall be governed by the laws of the State of Alabama. 
  
 [Remainder of page
left intentionally blank] 
  

  
 IN WITNESS WHEREOF, the Borrower and the Lender have caused this Amendment
to be executed and delivered by their duly authorized corporate officers as of the date set forth below their signature. 
  
 
	 ALABAMA NATIONAL BANCORPORATION
 
	 
	 By
 	 	 /S/ WILLIAM E. MATTHEWS, V
 

	  	 	 Its Executive Vice President &
 Chief Financial Officer
 
	  	 	  
	  	 	 Dated: June 5, 2002
 
	  	 	  

 
  
 
	 AMSOUTH BANK
 
	 
	 By
 	 	 /S/ JOHN M. KETTIG
 

	  	 	 Its Senior Vice President
 
	  	 	  
	  	 	 Dated: June 5, 2002<PAGE>

                                                                    EXHIBIT 10.1

                       SECOND LOAN MODIFICATION AGREEMENT

      THIS SECOND LOAN MODIFICATION AGREEMENT ("Modification Agreement") is made
as of July 10, 2002, between ADVANCED MARKETING SERVICES, INC., a Delaware
corporation ("Borrower"), and CALIFORNIA BANK & TRUST, a California banking
corporation ("Bank"), with reference to the following:

                                 R E C I T A L S

      A. Bank and Borrower are parties to that certain Amended and Restated Loan
Agreement entered into effective July 27, 2000 ("Loan Agreement"), pursuant to
which Borrower delivered to Bank a promissory note dated July 27, 2000 made by
Borrower as maker to Bank, in the original principal amount of $12,000,000
("Note"). The Loan Agreement, Note and related documents are referred to
collectively as the "Loan Documents". The Loan Documents were previously
modified by that certain Loan Modification Agreement between Bank and Borrower
dated as of January 11, 2002 ("First Modification Agreement"). Initially
capitalized terms not otherwise defined herein have the same meanings as in the
Loan Agreement, as previously modified.

      B. As part of the Senior Revolving Credit described in the First
Modification Agreement, which was increased as of January 11, 2002 from
$13,000,000 to $23,000,000, Borrower delivered to Bank a Security Agreement
dated as of January 11, 2002 ("Security Agreement"), through which Bank obtained
a security interest in Borrower's accounts receivable and other related
collateral as described in Paragraph 2 thereof ("Collateral"). The Security
Agreement provides in Paragraph 3 that it secures not only the Senior Revolving
Credit facility, but other obligations of Borrower to Bank which recite that
they are secured thereby.

      C. The parties now wish to revise the Loan Documents to (i) extend the
Loan's Maturity Date, (ii) make certain changes to Borrower's financial
covenants added by the First Modification Agreement, and (iii) provide that all
obligations of Borrower to Bank under the Loan Documents as previously modified
shall be secured by the Security Agreement upon the occurrence of a specified
event.

      THE PARTIES AGREE AS FOLLOWS:

      1. MODIFICATION OF LOAN DOCUMENTS. Subject to the conditions precedent of
Paragraph 2 below, the Loan Documents are modified in the following respects:

            1.1 The Maturity Date described in Section A.(3) of the Loan
Agreement is extended from August 31, 2002 to March 31, 2003 ("Extended Maturity
Date").

            1.2 The financial covenant of clause (iv) of Paragraph 1.3 of the
First Modification Agreement is modified so that the required Current Ratio
shall be 1.00:1 instead of 1.10:1. The financial covenant of Paragraph 1.4 of
the First Modification Agreement is modified to make the required maximum
Leverage Ratio 3.50:1 for the first, second and fourth quarters and 4.00:1 for
the third quarter. As modified, Paragraphs 1.3 and 1.4 of the First Modification
Agreement shall read in their entirety as follows:

                  "1.3 No later than forty-five (45) days after the end of each
      fiscal quarter and one hundred twenty (120) days after the end of each
      fiscal year, Borrower shall demonstrate to Bank's reasonable satisfaction
      that (i) Borrower's Tangible Net Worth is not less than Seventy Million
      Dollars ($70,000,000), (ii) the ratio of Senior Debt to EBITDA for the
      Computation Period just ended is not more than 1.85:1, (iii) the value of
      Eligible Accounts Receivable is more than the Loan; and (iv) Borrower's
      Current Ratio is not less than 1.00:1.

                  "1.4 Borrower shall, no later than forty-five (45) days after
      the end of each quarter, demonstrate to Bank's reasonable satisfaction a
      Leverage Ratio that is no more than

                                      -1-
<PAGE>

      3.50:1 for the quarters ending March 31, June 30 and December 31, and
      4.00:1 for the quarter ending September 30."

            1.3 If Borrower's Current Ratio should fall below 1.10:1 at the end
of any fiscal quarter, as evidenced by Borrower's quarterly financial reports
required by the Loan Agreement, and whether or not the Current Ratio remains in
compliance with the minimum required Current Ratio as reduced by this
Modification Agreement (i.e., 1.00:1), then all obligations of Borrower to Bank
under the Loan Documents shall automatically and without further action by the
parties thereafter be secured by the Security Agreement and become "Obligations"
as defined in the Security Agreement.

            1.4 Upon the reduction of Borrower's Current Ratio below 1.10:1, the
parties specifically agree that the last sentence of Paragraph 3 of the Security
Agreement shall automatically and without further action of the parties be
modified to read as follows:

      "The Obligations secured by this Security Agreement shall hereafter
      include all obligations and liabilities of Borrower arising out of that
      certain revolving credit facility extended by Bank to Borrower in the
      maximum aggregate amount of $12,000,000 pursuant to an Amended and
      Restated Loan Agreement dated as of July 27, 2000, and modified as of
      January 11 and July 10, 2002."

            1.5 Notwithstanding the automatic nature of the changes described in
Paragraphs 1.3 and 1.4 of this Modification Agreement, Borrower shall sign any
amendments to the Loan Documents and/or the Security Agreement as may be
reasonably requested by Bank to implement or evidence those changes

      2. CONDITION PRECEDENT. This Modification Agreement, and all rights and
obligations of the parties hereunder, shall be effective only upon the date on
which by which the following condition precedent has been satisfied or waived
("Effective Date"): Borrower and Bank shall have delivered a modification
agreement relating to the Senior Revolving Credit and Borrower shall have
satisfied the conditions precedent to the effectiveness thereof. The foregoing
condition precedent is solely for the benefit of Bank, and may be waived in
writing unilaterally by Bank.

      3. OTHER MATTERS OF AGREEMENT.

            3.1 Except as expressly set forth herein, this Modification
Agreement shall not affect or impair any other covenants or conditions set forth
in the Loan Documents.

            3.2 This document may be executed in two or more counterparts, each
of which will be considered an original but all of which together shall
constitute one agreement.

            3.3 Except as modified hereby, all provisions of the Loan Documents
shall remain in full force and effect.

BANK:                                   CALIFORNIA BANK & TRUST, a California
                                        banking corporation

                                        By
                                          --------------------------------------
                                        Name
                                            ------------------------------------
                                        Title
                                             -----------------------------------

                                        By
                                          --------------------------------------
                                        Name
                                            ------------------------------------
                                        Title
                                             -----------------------------------

                                      -2-
<PAGE>

BORROWER:                               ADVANCED MARKETING SERVICES, INC., a
                                        Delaware corporation

                                        By
                                          --------------------------------------
                                           Michael M. Nicita, President and CEO

                                        By
                                          --------------------------------------
                                            Edward J. Leonard, Exec. Vice Pres.
                                                         and CFO

                                      -3-

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00041-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00041-of-00352.parquet"}]]