Epub Nonsmooth Dynamics Of Contacting Thermoelastic Bodies 2009