This is a great resource for codes pertaining to CA http://buildingincalifornia.com/codes/
Plus they offer the Code Check illustrations for a $10 discount.