This is an appeal from a judgment for cross-defendants, on , a cross-complaint wherein cross-complainant sought recovery of its attorneys’ fees incurred in the success *844 ful defense of an action, sometimes herein referred to as the main action, instituted by Television Arts Productions, Inc. against Jerry Fairbanks, Inc., (hereinafter referred to as Fairbanks), National Broadcasting Company, Inc., (hereinafter referred to as NBC), corporations, and Consolidated Television Sales, a copartnership composed of Hallett Manufacturing Company and KTTV, Inc., corporations.
Certain films were produced by Television Arts Productions, Inc. for Fairbanks. Fairbanks sold and purported to transfer all of its right and title therein to NBC. Thereafter NBC sold the said films back to Fairbanks, and Fairbanks to secure payment of the purchase price, delivered a chattel mortgage on the films to NBC. Subsequently Fairbanks defaulted in its payments, NBC instituted an action to foreclose the mortgage, and NBC purchased the films at the foreclosure sale. Subject to the purchase by NBC at the foreclosure sale (which sale was held on or about June 12, 1953), NBC sold the said films to KTTV, Inc. and Hallett Manufacturing Company, the respondents herein, by written agreement dated April 1, 1953, which agreement among other things, contained the following indemnity provision:
“Hallett and KTTV jointly and severally admit the validity of the Fairbanks debt and the Fairbanks mortgage, which mortgage will be foreclosed in the manner hereinabove indicated, and further admit the validity of the foreclosure sale and the foreclosure title obtained by NBC at said foreclosure sale, and agree to indemnify NBC against any and all claims, debts, demands and causes of action which may be asserted against it based upon any claimed invalidity of said debt, mortgage, sale or title.”
The first amended complaint filed December 9,1953, prayed for declaratory relief and for an accounting as against each of the defendants, and for damages for breach of contract as against Fairbanks.
On December 14, 1953, NBC made demand upon KTTV, Inc., and Hallett Manufacturing Company, and each of them, to indemnify, defend and hold it harmless against the claim of Television Arts Productions, Inc., which demand was refused, and NBC filed the cross-complaint. In a prior appeal from an order striking portions of the cross-complaint of NBC, it was determined that NBC could properly proceed by cross-complaint against KTTV, Inc., and Hallett Manufacturing Company to have its rights to indemnity determined. (Tele
*845
vision Arts Productions, Inc.
v.
J. Fairbanks, Inc.,
By agreement of the parties the issues in the main action and the cross-complaint were severed for trial, and no appeal in the main action has been taken from the judgment in favor of defendants.
With respect to the cross-complaint, the trial court ruled that under the provisions of the indemnity agreement, NBC was not entitled to be reimbursed for its attorneys’ fees in the amount of $10,500 expended in the defense of the main action. The present appeal is from that judgment.
Appellant contends that the written agreement between the parties is clear, complete and unambiguous; that the trial court erred in admitting parol evidence to show the intention of the parties or to explain or to clarify the agreement; and that this court, as a question of law, must independently determine the meaning of the indemnity provisions included in the agreement of April 1, 1953.
The case of
Barnhart Aircraft, Inc.
v.
Preston,
“ ‘ “. . . Ambiguity in a written contract, calling for construction, may arise as well from words plain in themselves but uncertain when applied to the subject matter of the contract, as from words which are uncertain in their literal sense and it may be discovered on cross-examination, without precluding its explanation, but it must relate to a subject treated of in the paper and must arise out of words used in treating that subject. Such an ambiguity never arises out of what was not written at all, but only out of what was written so blindly and imperfectly that its meaning is doubtful.
“ 1 “It must be borne in mind that although declarations of the parties may in some cases be received to explain contracts or words of doubtful meaning, yet no other words can *846 be added or substituted for those of the writing. The courts are not at liberty to speculate as to the general intention of the parties, but are charged with the duty of ascertaining the meaning of the written language.” ’ ” (Emphasis added.) i ■ The claim of ambiguity in the instant ease relates to the meaning of words actually used in the indemnity provision of the contract, which is a subject treated by the contract.
The most recent ease cited by appellant to the effect that' the meaning of a written agreement is a question of law is'
Continental Casualty Co.
v.
Phoenix Construction Co.,
It is significant that in making its determination in Continental Casualty Co. v. Phoenix Construction Co., supra, the court specifically pointed out the factual circumstances, none of which are present in the instant case. The following language appears at pages 429-430: ‘ ‘ Copies of insurance policies and excess certificates which were in effect at the time of the, Leming accident were introduced into evidence by stipulation, not subject to conflicting inferences, and no parol evidence was offered in aid of construction. Therefore, construction of the policies is a matter of law. (Citing cases.) ” (Emphasis added.) The court then made these additional statements appearing at pages 437-438: “It is elementary in insurance law that any ambiguity or uncertainty in an insurance policy is to be resolved against the insurer. (Citing cases.) If semantically permissible, the contract will be given such construction as will fairly achieve its object of securing indemnity to the insured for the losses to which the insurance relates. (Citing case.) If the insurer uses language which is uncertain any reasonable doubt will be resolved against it; if the doubt relates to extent or fact of coverage, whether as to peril insured against (citing eases), the amount of liability (citing cases), or the person or persons protected (citing cases), the language will be understood in its most inclusive sense, for the benefit-of the insured(Emphasis added.)
In
Estate of Platt,
•
Oil Base, Inc.
v.
Transport Indent. Go.,
The following language appearing in
Clark
v.
Tide Water Associated Oil Co.,
The Supreme Court speaking through Mr. Justice Carter in
Beneficial etc. Ins. Co.
v.
Kurt Hitke & Co.,
Even more recently the Supreme Court speaking through Mr. Justice Shenk, in
Halldin
v.
Usher,
Professor Wigmore has clearly expressed the matter by stating, “Once freed from the primitive formalism which views the document as a self-contained and self-operative formula, we can fully appreciate the modern principle that the *851 words of a document are never anything hut indices to extrinsic things, and that therefore all the circumstances must he considered which go to make clear the sense of the words, —that is, their associations with things.” (IX Wigmore on Evidence, § 2470, p. 227, third ed.)
Applying the tests as formulated by the Supreme Court, we cannot say that the indemnity provisions of the contract engaging our attention are clear and unambiguous. Accordingly, when the parties alleged their respective theories with respect to the meaning of the precise language used, the trial court could properly admit extrinsic evidence, including that pertaining to the prior negotiations of the parties and the circumstances existing at the time, to assist it in determining what the parties meant by what they said.
Other arguments have been considered hut do not, under the circumstances of this case, require discussion.
' Judgment affirmed.
White, P. J., and Lillie, J., concurred.
Appellant’s petition for a hearing by the Supreme Court was denied December 30, 1958.
