Check out this site. It has lots of info on bed construction:
http://mar-k.com/installation_hints.html