Document:

<PAGE>   1
                                                                  EXHIBIT 10.158

                                   DEMAND NOTE

$300,000.00                                                   New York, New York
                                                              November 2, 1999

        FOR VALUE RECEIVED, the undersigned, Wilshire Technologies, Inc. a
California corporation (hereinafter referred to as "Borrower"), hereby
unconditionally PROMISES TO PAY to the order to TRILON DOMINION PARTNERS, LLC, a
Delaware limited liability company ("Lender"), at 245 Park Avenue, 28th Floor,
New York, NY 10167, or at such other place as the holder of this Demand Note may
designate from time to time in writing, in lawful money of the United States of
America and in immediately available funds, the principal amount of Three
Hundred Thousand and 00/100, DOLLARS ($300,000.00), together with interest on
the unpaid principal amount of this Demand Note outstanding from time to time
from the date hereof, at a rate per annum equal to the Prime rate of interest
plus 3.0%, or the highest rate permitted by law, whichever shall be less.

        The principal amount of the indebtedness evidenced hereby shall be
payable on demand. Interest thereon shall be paid when principal is paid from
the date hereof until such principal amount is paid in full at such interest
rate as specified above. Following failure to pay on demand, Borrower agrees to
pay interest on any overdue payment of principal at a rate per annum equal to
the stated interest rate plus 5%, or the highest rate permitted by law,
whichever shall be less. All interest calculations shall be computed on the
basis of a 360 day year.

        Demand, presentment, protest and notice of nonpayment and protest are
hereby waived by Borrower.

        Borrower shall have no right to make any off-set against or deduct from
any payment due under this Demand Note.

        Principal and interest may be prepaid at any time without penalty.

        This Demand Note may not be changed orally, but only by an agreement in
writing and signed by the party against whom enforcement of such change is
sought.

        All covenants of Borrower in this Demand Note and all rights of the
holder under this Demand Note shall bind Borrower and its successors and
assigns, and all such covenants and rights shall inure to the benefit of the
holder of this Demand Note and its successors and assigns.

        This Demand Note has been delivered and accepted at New York, New York
and shall be interpreted, governed by, and construed in accordance with, the
laws of the State of New York.

                                             Wilshire Technologies, Inc.

                                             By :   /s/ Kathleen E. Terry
                                                    ----------------------------
                                             Name:  Kathleen E. Terry
                                             Title: Chief Financial Officer<PAGE>   1
                                                                  EXHIBIT 10.159

                                   DEMAND NOTE

$250,000.00                                               New York, New York
                                                          December 3, 2000

        FOR VALUE RECEIVED, the undersigned, Wilshire Technologies, Inc. a
California corporation (hereinafter referred to as "Borrower"), hereby
unconditionally PROMISES TO PAY to the order to TRILON DOMINION PARTNERS, LLC, a
Delaware limited liability company ("Lender"), at 245 Park Avenue, 28th Floor,
New York, NY 10167, or at such other place as the holder of this Demand Note may
designate from time to time in writing, in lawful money of the United States of
America and in immediately available funds, the principal amount of Two Hundred
Fifty Thousand and 00/100, DOLLARS ($250,000.00), together with interest on the
unpaid principal amount of this Demand Note outstanding from time to time from
the date hereof, at a rate per annum equal to the Prime rate of interest plus
3.0%, or the highest rate permitted by law, whichever shall be less.

        The principal amount of the indebtedness evidenced hereby shall be
payable on demand. Interest thereon shall be paid when principal is paid from
the date hereof until such principal amount is paid in full at such interest
rate as specified above. Following failure to pay on demand, Borrower agrees to
pay interest on any overdue payment of principal at a rate per annum equal to
the stated interest rate plus 5%, or the highest rate permitted by law,
whichever shall be less. All interest calculations shall be computed on the
basis of a 360 day year.

        Demand, presentment, protest and notice of nonpayment and protest are
hereby waived by Borrower.

        Borrower shall have no right to make any off-set against or deduct from
any payment due under this Demand Note.

        Principal and interest may be prepaid at any time without penalty.

        This Demand Note may not be changed orally, but only by an agreement in
writing and signed by the party against whom enforcement of such change is
sought.

        All covenants of Borrower in this Demand Note and all rights of the
holder under this Demand Note shall bind Borrower and its successors and
assigns, and all such covenants and rights shall inure to the benefit of the
holder of this Demand Note and its successors and assigns.

        This Demand Note has been delivered and accepted at New York, New York
and shall be interpreted, governed by, and construed in accordance with, the
laws of the State of New York.

                                             Wilshire Technologies, Inc.

                                             By : /s/ Kathleen E. Terry
                                                  ------------------------------
                                             Name:  Kathleen E. Terry
                                             Title: Chief Financial Officer<PAGE>   1
                                                                  EXHIBIT 10.160

                                  AMENDMENT TO
                      AMENDED AND RESTATED CREDIT AGREEMENT

        This Amendment to the Amended and Restated Credit Agreement
("Amendment") is made and entered into as of December 31, 1999, by and between
Trilon Dominion Partners L.L.C. ("Trilon Dominion") and Wilshire Technologies,
Inc. ("Borrower").

                                     W I T N E S S E T H

        WHEREAS, the parties hereto have entered into an Amended and Restated
Credit Agreement dated as of March 31, 1998 (the "Agreement"); and

        WHEREAS, the parties hereto wish to further amend the Agreement as set
forth in this Amendment;

        NOW THEREFORE, in consideration of the above premises and the mutual
covenants and agreements herein, the parties agree as follows:

        1. Amendment. Section 1.6 of the Agreement is hereby amended by
replacing the phrase, "or, (ii) January 31, 2000" in the second line of such
section with the phrase, "or, (ii) June 30, 2000". Except as specifically set
forth in this Amendment the Agreement and all other documents and agreements
entered into in connection with the Agreement including without limitation the
Warrants and Springing Warrants shall remain unchanged and in full force and
effect.

        2. Governing Law. Except as otherwise expressly provided, this Amendment
shall be governed and construed in accordance with the laws of the State of
Delaware applicable to contracts made in such State and without regard to
conflicts of law doctrines.

        3. Counterparts. This Amendment may be executed in one or more
counterparts and by different parties in separate counterparts. All of such
counterparts shall constitute one and the same agreement and shall become
effective when one or more counterparts have been signed by each party and
delivered to the other party.

<PAGE>   2

        IN WITNESS WHEREOF, the parties have caused this Agreement to be duly
executed and delivered as of the day and year first written above.

THE BORROWER:                                WILSHIRE TECHNOLOGIES, INC.

                                             By: /s/ Kathleen E. Terry
                                                --------------------------------
                                             Name:  Kathleen E. Terry
                                             Title: Chief Financial Officer

THE LENDER:                                  TRILON DOMINION PARTNERS, L.L.C.

                                             By: /s/ Ronald W. Cantwell
                                                --------------------------------
                                             Name:   Ronald W. Cantwell
                                             Title: President

                                       2

<PAGE>   3

                                  AMENDMENT TO
                              GRID PROMISSORY NOTE

        This Amendment to the Grid Promissory Note ("Note") issued pursuant to
the Amended and Restated Credit Agreement ("Amendment") is made and entered into
as of December 31, 1999, by and between Trilon Dominion Partners L.L.C. ("Trilon
Dominion") and Wilshire Technologies, Inc. ("Borrower").

                               W I T N E S S E T H

        WHEREAS, the parties hereto have entered into an Amended and Restated
Credit Agreement dated as of March 31, 1998 (the "Agreement") and pursuant to
the Agreement the Note was issued;

        WHEREAS, the parties hereto wish to further amend the Note as set forth
in this Amendment;

        NOW THEREFORE, in consideration of the above premises and the mutual
covenants and agreements herein, the parties agree as follows:

        1. Amendment. Section 4 of the Note is hereby amended by replacing the
phrase, "or (ii) January 31, 2000" in the second line of such section with the
phrase, "or (ii) June 30, 2000". Except as specifically set forth in this
Amendment the Agreement and all other documents and agreements entered into in
connection with the Agreement shall remain unchanged and in full force and
effect.

        2. Governing Law. Except as otherwise expressly provided, this Amendment
shall be governed and construed in accordance with the laws of the State of
Delaware applicable to contracts made in such State and without regard to
conflicts of law doctrines.

        3. Counterparts. This Amendment may be executed in one or more
counterparts and by different parties in separate counterparts. All of such
counterparts shall constitute one

                                       3
<PAGE>   4

and the same agreement and shall become effective when one or more counterparts
have been signed by each party and delivered to the other party.

        IN WITNESS WHEREOF, the parties have caused this Agreement to be duly
executed and delivered as of the day and year first written above.

THE BORROWER:                                WILSHIRE TECHNOLOGIES, INC.

                                             By: /s/ Kathleen E. Terry
                                                 -------------------------------
                                             Name:   Kathleen E Terry
                                             Title: Chief Financial Officer

THE LENDER:                                  TRILON DOMINION PARTNERS, L.L.C.

                                             By:  /s/ Ronald W. Cantwell
                                                 -------------------------------
                                             Name:  Ronald W. Cantwell
                                             Title: President

                                       4

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