a DIY table? Hmm, there are massage tables that have little wooden notches on the legs that raise and lower the table, if you get a chance maybe you could find a picture or go into a massage store near you and look at how they work and build something simular.
Adieu