Support for bed