This link is for the Homeowners Bill of Rights (AB-278) that was just signed off on by Governor Brown and goes into effect on January 1, 2013. This is for California. It ammends the state statutes. It includes the legislatures statement of intent and adds quite a bit of langauge. It repeals 2924 of the Civil Code, as amended by Section 2 of Chapter 180 of the Statutes of 2010. Section 2924.9 is added to the Civl Code.
While it doesn't take effect until 2013 it can be used to show "intent" of the legislature and such in current lawsuits. It really needs to be studied before applying as there is a lot added, ammended and "clarified" - not all of which is good.