Opinion
This is an appeal from a summary judgment dismissing appellant’s personal injury action against respondent Gene W. Lam, and a judgment entered upon a subsequent motion for nonsuit in favor of respondents Harold L. and Anna R. Pon, owners of the building, in the same action. The pertinent facts are as follows.
The Pons are owners of a five- and six-story apartment building containing 21 rental units located at 269 Hanover Street, Oakland, purchased by them in 1971. The building was designed by respondent Lam, an architect, and completed in 1969.
In July 1975, Mrs. Pon requested bids for the cleaning of the apartment building windows. She received three bids for the job, and accepted that of Crosetti and Musante, appellant’s employer. A formal written contract was subsequently executed.
Mrs. Pon discussed the job with Mr. Crosetti, and it was agreed between them that (1) the windows could not be washed from the inside, and (2) there were no bolts, hooks or other devices on the building from which the window washers could be suspended for the purpose of washing the windows from the outside. Consequently, it was agreed that the' windows would be washed by means of a ladder extended over the edge of the building roof from which the workers would be suspended in a boatswain’s chair secured to the roof by a weighted sand bag.
Appellant and his partner, Robert Goodrich—both experienced window washers—were assigned by Mr. Crosetti to wash the windows at the Pons’ building on August 5, 1975. Prior to the commencement of work, Mrs. Pon discussed the job with appellant; according to appellant, she expressed some concern that “there was nothing to tie down ... [the window washers’] rigs on the roof.” 1 However, Mrs. Pon was as *127 sured by both Mr. Crosetti and appellant that the job could be safely done.
The accident which is the subject of this litigation occurred while appellant was suspended in a boatswain’s chair from a ladder-headpiece while washing windows on the fourth floor, approximately 35-40 feet above ground level. Goodrich, who had been working on another portion of the building, was on the roof for the purpose of moving his ladder-headpiece. He intended to remove the sand-filled bucket anchoring his ladder, but by mistake removed the weights from appellant’s ladder instead of his own, causing appellant to fall to the ground.
Appellant’s first argument challenges the trial court’s order granting summary judgment in favor of architect Lam. It is appellant’s position that section 337.1 of the Code of Civil Procedure, upon which the trial court relied in ruling that the action against Lam was barred by the four-year statute of limitations, is unconstitutional because it arbitrarily grants a special privilege to a class of persons—architects and construction contractors—by affording them immunity from suit based solely upon lapse of time from performance, unrelated to notice or date of injury. 2 Appellant sees no rational basis for this special treatment.
Respondent Lam insists that appellant has no standing to assert the unconstitutionality of section 337.1, since he was made a party to this action not by appellant’s complaint, but by the Pons’ cross-complaint. Thus, respondent argues, appellant was not “aggrieved” by the summary judgment dismissing the cross-complaint against Lam as required by section 902 of the Code of Civil Procedure.
(County of Alameda
v.
Carleson
(1971)
We conclude, contrary to Lam’s claim, that appellant is entitled to argue the unconstitutionality of section 337.1 in this appeal. At least
*128
before summary judgment was granted, appellant retained the option of substituting Lam for a doe defendant by amendment of the complaint. The trial court’s ruling thus adversely affected appellant’s right to pursue his cause of action against Lam, given the application of res judicata or collateral estoppel principles to bar any subsequent action by appellant against Lam. As noted in
Short
v.
State Compensation Ins. Fund
(1975)
Turning to the merits of appellant’s argument, we note that section 337.1 is a mere “economic regulation” since it touches neither upon a suspect class nor a fundamental right. “‘In the area of economic regulation, the high court has exercised restraint, investing legislation with a presumption of constitutionality and requiring merely that distinctions drawn by a challenged statute bear some rational relationship to a conceivable legitimate state purpose.’”
(Wagner
v.
State of California
(1978)
Appellant has cited decisions from outside this jurisdiction which have declared similar statutes unconstitutional on equal protection grounds.
(Broome
v.
Truluck
(1978)
*129
In rejecting an equal protection challenge to section 337.1, based upon a contention that it discriminated in favor of those persons associated with construction and improvements to real property, while not conferring the same benefits on persons associated with personal property, the court in
Wagner
v.
State of California, supra,
We similarly conclude that the subject statute promotes a recognized legitimate state interest by protecting contractors from uncertain future liability, thereby encouraging construction, and that a rational basis therefore exists for the classifications created by section 337.1 of the Code of Civil Procedure. We affirm the constitutionality of the statute and the ruling of the trial court granting summary judgment in favor of respondent Lam.
Appellant makes several arguments relating to the judgment on the motion for nonsuit which dismissed the action against the Pons. Appellant first complains that the trial court erroneously excluded Labor Code violations—embodied in sections 7325-7327 and 7330, which require safety devices on multistory buildings to protect window washers—which appellant attempted to introduce for the purpose of establishing respondents’ breach of statutory duties of care. The trial court ruled that section 6304.5 of the Labor Code prohibited consideration of these provisions for the purpose of imposing a statutory duty of care upon a nonemployer.
Section 6304.5 provides: “It is the intent of the Legislature that the provisions of this division shall only be applicable to proceedings against *130 employers brought pursuant to the provisions of chapters 3 (commencing with § 6500) and 4 (commencing with Section 6600) of Part I of this division for the exclusive purpose of maintaining and enforcing employee safety. [1f] Neither this division nor any part of this division shall have any application to, nor be considered in, nor be admissible into, evidence in any personal injury or wrongful death action arising after the operative date of this action, except as between an employee and his own employer.”
The pertinent code sections provide as follows:
Section 7326. “There shalf be securely attached to the outside window sills or frames of the window of any building, rings, bolts, lugs, fittings or other devices to which may be fastened safety belts or other devices to be used, or which may hereafter be used by persons engaged in cleaning windows. The division shall, prior to the installation of any such bolts, lugs, rings, fittings, or other devices, approve such bolts, lugs, rings, fittings, or other devices as to their design, durability, and safety. Except as provided in Section 18930 of the Health and Safety Code, the division shall by appropriate rules and orders designate the manner in which said safety devices are to be attached, installed and used.”
Section 7327. “In lieu of the safety devices enumerated in Section 7326, the division may approve the installation or use of any other devices or means which will effectively safeguard persons engaged in cleaning windows.”
Section 7330. “Every person who fails to provide the safety devices as set forth in this chapter upon any building hereafter to be constructed, and who thereafter fails to maintain such devices in good condition, shall be guilty of a misdemeanor.”
Section 7325 defines “building” to include the kind of apartment house owned by the Pons.
The language of section 6304.5 is abundantly clear; the provisions of division 5 of the Labor Code—which include the statute appellant sought to have admitted into evidence—are not admissible in any third party actions by an employee.
(Spencer
v.
G. A. MacDonald Constr. Co.
(1976)
Appellant further challenges section 6304.5 by arguing that as applied by the trial court it is unconstitutional as violative of appellant’s rights to due process and equal protection. It is appellant’s position that the statute immunizes “proven wrongdoers” from liability, and creates an arbitrary classification between workers and other occupants or visitors of premises.
We note that a similar argument was made and rejected in
Spencer
v.
G.A. MacDonald Constr. Co., supra,
Appellant next argues that he should have been permitted to introduce certain provisions of the Uniform Building Code which had been incorporated into the 1968 City of Oakland Building Code. The version of the municipal code which appellant submitted to the court was adopted July 11, 1968, and effective August 10, 1968.
*132 One of the pertinent sections of the code which appellant sought to admit was section 104(h), which provides: “Maintenance. All buildings and structures, both existing and new, and all parts thereof, shall be maintained in a safe and sanitary condition. All devices or safeguards which are required by this Code in a building or structure when erected, altered, or repaired shall be maintained in a good working order. The owner or his designated agent shall be responsible for the maintenance of the buildings and structures.”
Appellant also referred to section 301(d) of the 1968 code, which directed that information in the plans and specifications presented to the city must show in detail “that it will conform to the provisions of this Code and all relevant laws, ordinances, rules and regulations.”
Finally, appellant cited to the trial court section 6 of the code, which provided, in pertinent part: “It shall be unlawful for any person, firm, or corporation to erect, construct, enlarge, alter, repair, move, improve, remove, convert, or demolish, equip, use, occupy or maintain any building or structure in the city or cause the same to be done contrary to or in violation of any provision of this Code.. .. ”
The evidence was excluded by the trial court for two reasons, one of which was that the 1968 Oakland Building Code was irrelevant because he permit for the Pons’ building was issued on April 26, 1968, prior to its effective date, even though the building was not completed until 1969. In so ruling, the court relied, at least partially, upon section 104(g) of the 1968 Oakland Building Code, which stated: “Buildings in existence at the time of the passage of this Code may have their existing use continued, if such use and occupancy was legal at the time of the passage of this Code, provided such continued use is not dangerous to life.... ”
It is well established that statutes not in effect at the time of an accident have no relevance to a defendant’s statutory duty of care. (See
Akins
v.
County of Sonoma
(1967)
We find no merit in appellant’s claim that the trial court should have taken judicial notice of the provisions of the Oakland Building Code in effect prior to 1968, including any predecessor of section 301(d). While a court
may
take judicial notice of municipal ordinances pursuant to section 452, subdivision (b),
4
of the Evidence Code, and
must
do so if requested by a party, provided sufficient notice is given to adverse parties and the court is given sufficient information to enable it to take judicial notice of the matter (Evid. Code, § 45 3 )
5
(Clark
v.
Patterson
(1977)
Appellant argues that exclusion of sections 6 and 104(h) of the Oakland Building Code was prejudicial error. We agree with appellant that these sections were not made inadmissible on the ground asserted by respondent—and accepted by the trial court—that they attempted to incorporate the requirements of division 5 of the Labor Code in contravention of section 6304.5. The ordinances merely require maintenance of a “safe building.” No reference is made in them to the Labor Code, and given the broad prohibition of section 6304.5 none could be made.
6
*134
(Spencer
v.
G. A. MacDonald Constr. Co., supra,
Appellant argues that these ordinances impose a statutory duty of care making the doctrine of negligence per se applicable here. We disagree.
Evidence. Code section 669 creates a presumption of negligence from the violation of a statute or ordinance. There are four “basic facts” which must be shown for this presumption to apply: (1) the violation; (2) the violation as a proximate cause of the injury; (3) an injury resulting from an occurrence of the nature which the statute was designed to prevent; and the injured party being a member of the class of persons for whose protection the statute was adopted.
(Rodriguez
v.
McDonnell Douglas Corp., supra,
The subject ordinances, in our view, are directed at upkeep of existing safety devices and maintenance of the condition of a building; they do not impose design requirements, and do not expand the scope of the landowners’ common law duty to invitees. Section 104(h), for example, requires a landowner to maintain a structure in “good working order.” That requirement is not violated by the failure of the Pons to install hooks or other safety devices; the focus of the ordinance is upon maintenance, not improvement. Since po showing of unsatisfactory maintenance of the building has been made by appellant, we conclude that a requisite element of negligence per se—the statutory violation— has not been established.
Appellant next argues that the trial court failed to properly apply the “peculiar risk” doctrine, and for that reason erroneously granted the Pons’ motion for nonsuit. Appellant insists that high elevation window washing constitutes a peculiar risk of harm and imposes upon a landowner a nondelegable duty to protect against that risk.
*135
Initially, we note the scope of our review in this case. “Although the judgment of nonsuit is an adjudication upon the merits it is not treated on appeal like most appeals when it is the duty of the appellate court to indulge every reasonable intendment in favor of sustaining the trial court.”
(Van Zyl
v.
Spiegelberg
(1969)
Aceves
v.
Regal Pale Brewing Co.
(1979)
Further defining the concept of “peculiar risk,” the court in
Stark
v.
Weeks Real Estate
(1979)
The concept of “peculiar risk” contemplates merely a recognizable or identifiable risk associated with a particular kind of activity; it does not refer to an inherently dangerous activity. In
Aceves
v.
Regal Pale Brewing Co., supra,
the court noted that the term “peculiar risk” was not really as appropriate as “special risk,” since the latter term more aptly describes the inquiry involved. (
It has also been held that whether the work is likely to create a peculiar risk of harm during its progress unless special precautions are taken is ordinarily a question of fact to be resolved by the trier of fact.
{Mackey
v.
Campbell Construction Co.
(1980)
We acknowledge certain special and identifiable risks associated with washing windows on tall buildings. Among these are the danger that window washers not adequately protected by means of safety devices or adequate attaching mechanisms would fall while working. However, such “peculiar risks” do not include the dangers associated with the negligence of a fellow worker in removing the window washer’s means of attachment to the building. A risk of this sort cannot be reasonably foreseen by the landowner, and is outside the scope of those dangers intimately associated with window washing. It is collateral to the risks that normally arise out of that activity.
“Liability under the peculiar risk doctrine does not extend to socalled ‘collateral’ or ‘casual’ negligence on the part of the contractor or his employees.
{Van Arsdale
v.
Hollinger, supra,
A peculiar risk may arise out of a contemplated and unsafe method of work adopted by the independent contractor
(Mackey
v.
Campbell Construction Co., supra,
Appellate decisions have repeatedly held under such circumstances that the negligence of employees carrying out procedures or “operative details” of an employment activity constitutes “collateral” or “casual” negligence, rather than a “peculiar” or contemplated risk inherent in the particular work being performed. (See
Stark
v.
Weeks Real Estate, supra,
We find
Elder
v.
Pacific Tel. & Tel. Co.
(1977)
Similarly, we conclude in the present case that the harm to appellant was caused by the “collateral negligence” of his fellow employee, thereby rendering the “peculiar risk doctrine” inapplicable.
(Stark
v.
Weeks Real Estate, supra,
The judgment is affirmed.
Elkington, Acting P. J., and Grodin, J., concurred.
A petition for a rehearing was denied October 30, 1981, and appellant’s petition for a hearing by the Supreme Court was denied December 9, 1981.
Notes
Appellant’s expert, Allen F. Rosenberg, testified at trial that generally safety devices such as hooks, bolts or offset pivot hinges (which allow windows to be washed from the inside), are installed on buildings similar to the Pons’ as a safety measure to protect window washers.
Section 337.1 provides, in pertinent part: “(a) Except as otherwise provided in this section, no action shall be brought to recover damages from any person performing or furnishing the design, specifications, surveying, planning, supervision or observation of construction or construction of an improvement to real property more than four years after the substantial completion of such improvement for any of the following: [IT] (1) Any patent deficiency in the design, specifications, surveying, planning, supervision or observation of construction or construction of an improvement to, or survey of, real property; [ It] (2) Injury to property, real or personal, arising out of any such patent deficiency; or [IT] (3) Injury to the person or for wrongful death arising out of any such patent deficiency.”
We further note that in
Griesel
v.
Dart Industries, Inc.
(1979)
Section 452, subdivision (b), provides that judicial notice “may be taken of ... [regulations and legislative enactments issued by or under the authority of the United States or any public entity of the United States.”
Municipal ordinances must be distinguished from “the provisions of any charter,” which are subject to mandatory judicial notice under Evidence Code section 451, subdivision (a).
(City of Oakland
v.
Workmen’s Comp. App. Bd.
(1969)
Of course, section 6304.5 provides an independent ground for the trial court’s exclusion of section 301(d) of the Oakland Building Code, at least, as argued by appellant at trial, to the extent that it seeks to mandate compliance with Labor Code sections 7325-7332 by providing that work must conform to “all relevant laws, ordinances, rules *134 and regulations .... ” Such an indirect reference to the provisions of the Labor Code to establish a statutory duty of care in third party cases would contravene the broad prohibitions of section 6304.5, which states: “Neither this division nor any part of this division shall have any application to, nor be considered in, nor be admissible into, evidence in a personal injury ... action .... ” (Italics added. See Spencer v. G. A. MacDonald Constr. Co., supra, at p. 857.)
