http://www.acroname.com/robotics/parts/GP2D120_SS.pdf has the information you are looking for.
Page 4 has the wiring: Vo is the signal, VCC is the 5V input.
Pages 9 & 10 have the graph you need to interpret the resulting signal.
Let us know how it works!