A framework for seismic analysis of timber structures.