If a payment is made from a given fund or from a given source, such payment must be applied to a debt which is a lien upon such fund or which is a liability against such source as against other debts, unless the parties who would be prejudiced by a different application acquiesce therein.1 If collateral security has been given to secure a debt upon which a surety is also liable, the proceeds of such collateral security must be applied to the discharge of the principal debt as between the creditor and the surety.2 If material which has been delivered under a contract is returned in part, credit for such material must be a credit upon the contract under which it was delivered, and not a general credit upon ail accounts of the party who returned such material, as far as the rights of a property owner whose property is subject to a lien for such material are concerned.3 If the loss under an insurance policy has been paid to a mortgagee for whose benefit such insurance was effected, such proceeds must be applied to the mortgage indebtedness as it falls due.4 The proceeds of the sale of a mortgaged property must be applied to the discharge of the mortgage debt.5 If a contractor makes a payment to a materialman out of funds paid to him by a given property owner, the materialman can not apply such payment to an indebtedness of the contractor growing out of another transaction.6

11 Advance Thresher Co. v. Hogan, 74 O. S. 307, 78 N. E. 430; Schirber v. Greene, 80 Or. 1, 173 Pac. 256.

12 Advance Thresher Co. v. Hogan, 74 O. S. 307, 78 N. E 436.

13 Schirber v. Greene, 80 Or. 1, 173 Pac. 256.

1 England. Young v. English, 7 Beav. 10.

Illinois. R. Hans Electric & Mfg. Co. v. Springfield Amusement Park Co., 236 111. 452, 23 L. R. A. (N.S.) 620, 86 N. E. 248.

Iowa. Sioux City Foundry & Mfg. Co v. Morten, 174 la. 332, L. R. A. 191CD, 1247, 156 N. W. 367.

Minnesota. Merchants' Ins. Co. v. Berber, 68 Minn. 420, 71 N. W 624.

Nebraska. Lee v. Storz Brewing Co., 75 Neb. 212, 106 N. W. 220.

South Carolina. Heyward-Williams Co v. Zeigler, 106 S Car. 425, 01 8. E. 208.

Vermont. Thorp v. Croto, 79 Vt. 390, 10 L. R. A. (N.S.) 1166, 65 Atl. 562.

Virginia. Ross v. McLauchlan, 48 Va. (7 Gratt.) 86.

West Virginia. Farr v. Weaver, - W. Va. - , 99 S. E. 395.

2 Elizabeth City First National Bank v. Scott, 123 N. Car. 538, 31 S. E. 819.