Document:

<PAGE>
                                                                   Exhibit 10.40

                            RATIFICATION OF GUARANTY
                      (Exim Bank-Guaranteed Line of Credit)

      THIS RATIFICATION OF GUARANTY (the "RATIFICATION") is effective on
November 30, 2003, by CDC ACQUISITION CORP. ("GUARANTOR"), in favor of BANK OF
AMERICA, N.A. (the "LENDER").

                                    RECITALS

      A. Guarantor has executed a Guaranty dated April 3, 2001 (the "GUARANTY")
in favor of Lender in connection with a Loan Agreement (Exim Bank-Guaranteed
Line of Credit) dated as of June 1, 2000 as amended by a First Amendment to Loan
Agreement dated as of April 3, 2001, as amended by a Second Amendment to Loan
Agreement (Exim Bank- Guaranteed Line of Credit) dated as of June 30, 2001
between Drew Scientific, Inc., d/b/a Danam Electronics, formerly known as MWI,
Inc. d/b/a Danam Electronics ("BORROWER") and Lender (collectively, the
"ORIGINAL LOAN AGREEMENT"). The Original Loan Agreement was amended and restated
by that certain Amended and Restated Loan Agreement (Ex-Im Bank Guaranteed Line
of Credit) effective as of September 30, 2001 by and between Borrower and
Lender, as further amended by that certain First Amendment to Amended and
Restated Loan Agreement (Ex-Im Bank Guaranteed Line of Credit) effective on
January 7, 2002 between Borrower and Lender, as further amended by that certain
Second Amendment to Amended and Restated Loan Agreement (Ex-Im Bank Guaranteed
Line of Credit) dated as of July 8, 2002 (but effective on June 30, 2002), as
further amended by that certain Third Amendment to Amended and Restated Loan
Agreement (Ex-Im Bank Guaranteed Line of Credit) dated as of September 5, 2002
(but effective on August 30, 2002) and further amended by that certain Fourth
Amendment to Amended and Restated Loan Agreement (Ex-Im Bank Guaranteed Line of
Credit) dated as of October 2, 2002 (but effective on September 30, 2002), and
as further amended by that certain Fifth Amendment to Amended and Restated Loan
Agreement (Ex-Im Bank-Guaranteed Line of Credit) dated as of September 30, 2003
(collectively, the "AMENDED AND RESTATED LOAN AGREEMENT"). Borrower executed a
Seventh Amended and Restated Revolving Promissory Note dated effective on
September 30, 2003 made payable to the order of Lender in the original principal
amount of $2,000,000.00 (the "ORIGINAL NOTE").

      B. Borrower has requested that Lender amend the Amended and Restated Loan
Agreement and the Original Note to extend the maturity date of the Original Note
from November 30, 2003 to May 31, 2004 and to modify certain other terms
thereof. Lender is willing to make such changes subject to Guarantor giving
Lender the representations, assurances and other agreements hereinafter set
forth.

      C. Lender and Borrower shall execute (i) a Sixth Amendment to Amended and
Restated Loan Agreement (the "SIXTH AMENDMENT"); and (ii) a Eighth Amended and
Restated Revolving Promissory Note (the "EIGHTH AMENDED NOTE"). Guarantor and
Drew Scientific Group PLC shall ratify their respective guaranties of the Note.

                                    AGREEMENT

      NOW, THEREFORE, for Ten Dollars ($10.00) and other good and valuable
consideration, the receipt and sufficiency of which are hereby acknowledged, and
because Guarantor will benefit from some of the changes to the Amended and
Restated Loan Agreement, Guarantor does hereby agree as follows:

      1. The Recitals hereinabove contained are true and correct and are made a
part hereof.

<PAGE>

      2. Guarantor acknowledges receipt of the Sixth Amendment and agrees,
ratifies and confirms that the Guaranty remains in full force and effect with
respect to (a) the Original Loan Agreement as amended and restated by the
Amended and Restated Loan Agreement as amended by the Sixth Amendment and (b)
the Eighth Amended Note.

      3. Guarantor represents and warrants unto Lender that (i) the Guaranty and
all other documents executed by Guarantor in connection therewith are valid and
binding obligations of Guarantor, enforceable in accordance with their terms;
(ii) the Eighth Amended Note shall continue to be guaranteed by the Guarantor
pursuant to the Guaranty; (iii) all of the terms, covenants, conditions,
representations, warranties and agreements contained in the Guaranty are hereby
ratified and confirmed in all respects; and (iii) no oral representations,
statements, or inducements have been made by Lender with respect to the Eighth
Amended Note, the Sixth Amendment, this Ratification or the Guaranty.

      IN WITNESS WHEREOF, the Guarantor has caused this Ratification to be
executed as of the day and year first above written.

                                              GUARANTOR:

                                              CDC ACQUISITION CORP.

                                              BY: /s/ K. R. Drew
                                                 ----------------------
                                              Name: K. R. Drew
                                              Title: Director

EFFECTIVE: November 30, 2003

EXECUTED this 8th day of December, 2003.

STATE OF Texas

COUNTY OF Dallas

The foregoing was executed and acknowledged before me this 8th day of December,
2003 by Keith Drew, as Director of CDC Acquisition Corp. Such person is
personally known to me or produced _____________ as identification and did/did
not take an oath.

[SEAL]                                  Katherine A Chavez
                                        Notary Public State of Texas
                                        Print Name: Katherine A Chavez
                                        My Commission expires: 11-12-2006
                                        Commission No:_____________________

                                       2<PAGE>
                                                                   Exhibit 10.41

                             POST-CLOSING AGREEMENT

      This Post-Closing Agreement (the "Agreement") is executed effective as of
November 30, 2003, by and between DREW SCIENTIFIC, INC., a Texas corporation
d/b/a Danam Electronics and f/k/a MWI, Inc. (collectively the "Borrower") and
BANK OF AMERICA, N.A., a national banking association ("Lender").

                                   WITNESSETH:

RECITATIONS:

      1. The Borrower and Lender have as of this day entered into certain
transactions in connection with the modification and renewal of an Ex-Im
Bank-guaranteed revolving line of credit extended by the Lender to the Borrower
in a maximum principal amount of $2,000,000.00 (the "Loan").

      2. There presently exists an over-advance to the Borrower under the Loan
due to an over-reliance on inventory under the borrowing base.

      3. The Lender has agreed to enter into the transactions with the Borrower
regarding the Loan, provided that the Borrower agrees to make the following
payments to the Lender within a time certain following the closing of the
transactions, in accordance with the following terms and conditions.

      NOW, THEREFORE, in consideration of the promises, agreements and covenants
contained herein, the receipt and sufficiency of which are hereby acknowledged,
the parties agree as follows:

      1. RECITATIONS. The foregoing recitations are true and correct and are
incorporated herein by this reference.

      2. ACKNOWLEDGEMENT REGARDING POST-CLOSING ITEMS. The Borrower acknowledges
and agrees that it shall comply with the following obligations (the
"Post-Closing Items"):

            (a) The Borrower acknowledges and agrees that the Borrower shall
      make the following payments to the Lender at the following times
      hereinafter set forth in connection with the Loan (pursuant to Section
      2.4(a) of the Loan's loan agreement to bring the total amount outstanding
      under the Loan into compliance with Section 2.1 of the Loan's loan
      agreement):

<TABLE>
<CAPTION>
PAYMENT REQUIRED BY THE BORROWER TO THE
LENDER:                                           DUE DATE:
---------------------------------------           ---------
<S>                                               <C>
$50,000.00                                        on or before December
                                                  31, 2003
$50,000.00                                        on or before January 30,
                                                  2004
Any remaining over-advance, as determined by      on or before February
the Bank, relative to the borrowing base          27, 2004
under the Loan.
</TABLE>

<PAGE>

By: /s/ James B. Acock
   ----------------------------------------
   James B. Acock
   Treasurer, Secretary and Chief Financial
   Officer<PAGE>
                                                                   Exhibit 10.42

                   SECOND AMENDMENT TO INTERCREDITOR AGREEMENT

      This is the Second Amendment to Intercreditor Agreement dated as of
November 20, 2003 (this "AMENDMENT") and entered into between VERTEX FINANCIAL
CORPORATION ("VERTEX"), THE TEXAS MEZZANINE FUND, INC. ("TEXAS MEZZANINE") and
BANK OF AMERICA, N.A. ("BANK OF AMERICA"). Vertex, Texas Mezzanine and Bank are
sometimes herein referred to individually as a "PARTY" and collectively as
"PARTIES".

                                   BACKGROUND

      A. Vertex has purchased certain accounts receivable (the "VERTEX
FACILITY") from MWI, INC. d/b/a Danam Electronics and n/k/a Drew Scientific,
Inc. (the "DEBTOR") which has an address at 4230 Shilling Way, Dallas, Texas
75237 and pursuant to a security agreement obtained a security interest in
certain property of the Debtor described on Exhibit A attached hereto and by
this reference made a part hereof ("VERTEX'S COLLATERAL").

      B. Texas Mezzanine has made a loan to the Debtor in the principal amount
of $558,000 (the "TEXAS MEZZANINE FACILITY"), and pursuant to a security
agreement has obtained a security interest in certain property of the Debtor
described on Exhibit B attached hereto and by this reference made a part hereof
("TEXAS MEZZANINE'S COLLATERAL").

      C. Bank of America has established a revolving credit facility for the
Debtor in the amount of $2,000,000.00 (the "BANK OF AMERICA FACILITY"), and
pursuant to a security agreement has obtained a security interest in certain
property of the Debtor described on Exhibit C attached hereto and by this
reference made a part hereof ("BANK OF AMERICA'S COLLATERAL").

      D. Vertex, Texas Mezzanine and Bank of America entered into that certain
Intercreditor Agreement dated as of March 7, 2002 (the "ORIGINAL INTERCREDITOR
AGREEMENT"), which Intercreditor Agreement sets forth the agreement of the
Parties with respect to the priority of their respective security interests in
the Assets (as defined in the Intercreditor Agreement).

      E. Vertex, Texas Mezzanine and Bank of America entered into that certain
First Amendment to Intercreditor Agreement dated as of October_________, 2002
(the "FIRST AMENDMENT"), to amend the Original Intercreditor Agreement. The
Original Intercreditor Agreement as amended by the First Amendment shall
hereinafter be referred to as the "Intercreditor Agreement."

      F. The Borrower has requested that Bank of America make certain changes to
the Intercreditor Agreement in order to increase the amount of Permitted
Indebtedness (as defined in the Intercreditor Agreement) of the Texas Mezzanine
Facility from $500,000 to $750,000, and Bank of America is willing to do so
provided that this Agreement is entered into but not otherwise.

                                    AGREEMENT

      Now, therefore, in consideration of the premises and the mutual agreements
contained herein, the parties agree to amend the Intercreditor Agreement on the
following terms and conditions:

<PAGE>

      SECTION 1. DEFINITIONS. All terms used herein as defined terms that are
not defined herein shall have the meanings ascribed to them in the Intercreditor
Agreement, unless the context specifically requires otherwise.

      SECTION 2. AMENDMENTS TO INTERCREDITOR AGREEMENT. The following amendments
are hereby made to the Intercreditor Agreement: The definition of "PERMITTED
INDEBTEDNESS" contained within Paragraph 5 of the Intercreditor Agreement is
hereby amended and restated in its entirety to read as follows:

            ""PERMITTED INDEBTEDNESS" shall mean (a) with respect to the Vertex
      Facility, $800,000.00 plus Default Expenses, (b) with respect to the Texas
      Mezzanine Facility, $750,000.00 plus Default Expenses, and (c) with
      respect to the Bank of America Facility, $2,000,000.00 plus Default
      Expenses."

      SECTION 3. CONDITIONS PRECEDENT. This Amendment shall become effective
upon the execution and delivery of this Amendment by Vertex, Texas Mezzanine and
Bank of America.

      SECTION 4. REAFFIRMATION. Except as modified hereby, all of the terms,
covenants and conditions of the Intercreditor Agreement are ratified,
reaffirmed, and confirmed and shall continue in full force and effect as therein
written. In addition, all representations and warranties made in the
Intercreditor Agreement are true and correct in all material respects as of the
date hereof and are hereby reaffirmed.

      SECTION 5. REPRESENTATIONS AND WARRANTIES: NO DEFAULT. Each Party
represent and warrant to, and agrees with all other Parties, that this Amendment
has been duly authorized by all necessary company action on the part of the
respective Parties, has been duly executed by a duly authorized officer of the
respective Parties and constitutes the valid and binding obligation of the
respective Parties, enforceable against the respective Parties in accordance
with the terms hereof. Each Party hereby certifies that its representations and
warranties contained in the Intercreditor Agreement continue to be true and
correct.

      SECTION 6. BINDING EFFECT. This Amendment shall be binding upon Vertex,
Texas Mezzanine and Bank of America and their respective successors and assigns,
and shall inure to the benefit of Vertex, Texas Mezzanine and Bank of America
and their respective successors and assigns.

      SECTION 7. COUNTERPARTS. This Amendment may be executed in any number of
counterparts and by the different parties on separate counterparts. Each such
counterpart shall be deemed to be an original, but all such counterparts shall
together constitute one and the same agreement.

      SECTION 8. AMENDMENT AND WAIVER. No amendment of this Amendment, and no
waiver of any one or more of the provisions hereof shall be effective unless set
forth in a writing and signed by the parties hereto.

      SECTION 9. GOVERNING LAW. This Amendment shall be governed by and
construed in accordance with the internal laws of the State of Texas without
reference to conflict of law principles.

                                        2
<PAGE>

      SECTION 10. SEVERABILITY. Any provision of this Amendment that is held to
be inoperative, unenforceable, voidable or invalid in any jurisdiction shall, as
to that jurisdiction, be ineffective, unenforceable, void or invalid without
affecting the remaining provisions in that or any other jurisdiction, and to
this end the provisions of this Amendment are declared to be severable.

      IN WITNESS WHEREOF, the parties hereto have caused this Amendment to be
duly executed and delivered by their proper and duly authorized officers as of
the date first above written.

BANK OF AMERICA, N. A.                            VERTEX FINANCIAL CORPORATION

By: /s/ Richard Weisheit                          By: /s/ Debra Wilson
    --------------------                              --------------------------
Name:  Richard Weisheit                           Name: DEBRA WILSON
Title: VP                                         Title: SR. VICE PRESIDENT

                                                  THE TEXAS MEZZANINE-FUND, INC.

                                                  By: /s/ Theresa Lee
                                                      --------------------------
                                                  Name:  Theresa Lee
                                                  Title: VP

                       DEBTOR'S ACKNOWLEDGMENT AND CONSENT

The undersigned Debtor hereby acknowledges and agrees to the foregoing Second
Amendment To Intercreditor Agreement. Debtor agrees to be bound by the terms and
provisions thereof as they relate to the relative rights of the Parties with
respect to each other. However, nothing therein shall be deemed to amend,
modify, supersede or otherwise alter the terms of the respective agreements
between the Debtor and each Party (the "FINANCING DOCUMENTS"), and in the event
of any inconsistency or conflict between the terms of the Financing Documents
and the Intercreditor Agreement (as amended by the Second Amendment to
Intercreditor Agreement), the Financing Documents shall govern as between the
Debtor and each Party. The Debtor agrees that each Party holding collateral may
serve as bailee for the other Parties and each Party is hereby authorized to
turn such collateral over to such other Parties. Debtor further agrees that the
Intercreditor Agreement (as amended by the Second Amendment To Intercreditor
Agreement) is solely for the benefit of the Parties and shall not give the
Debtor, its successors and assigns, or any other person, any rights vis-a-vis
either Party.

                                         DREW SCIENTIFIC, INC. (f/k/a MWI, Inc.)

                                         By: /s/ K.R. Drew
                                            --------------
                                         Name: K.R. DREW
                                         Title: PRESIDENT

                                       3

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