This is a very clever solution for a slide out bed top.
I just got done building my bed box with typical hinged lids. My solution for the 'other half' of the bed works but not as nicely as this. I guess there's another rebuild coming up!
http://www.vagabonderz.com/building-the-sofabed/
Tom