Remove the clothes and see if there is any lateral movment in the drum, if so the bearings have gone, if not then it could be the dampers (similar to shock absorbers on a car), Another option is underloading the machine, or loading it with one or Two heavy items such as a douvet or pillows, this will cause the incorrect weight distribution in the drum and will cause it to bang. Hope this helps.
Will, October 2009