How Do Earthquakes Affect Buildings