General Guidelines for the Assessment and Repair of Earthquake Damage in Residential Woodframe Buildings