Bunk bed solution? I'm going to be sleeping on the top bunk of a bunk...

I'm going to be sleeping on the top bunk of a bunk bed. I need something close to this:

http://www.bunkpal.com/

except my bunk beds are made out of metal. Could I use some sort of locker shelf? It is alluring.
Answers:    I found a shelf like that for my son's dorm room bunk bed. It be plastic and it clamps to the bed frame. I've seen them at Target and at Linen's and Things. Maybe Bed, Bath and Beyond, too.
sure, I deduce so - as long as it's strong enough to hold on near stuff on it...