IR distanse sensor connect and communicate

Hi there, I'm new at electronics and new in arduino code. I bought IR distance sensor HLC1395. I don't know how connect it to my arduino Duemilanove. I guess I need some resistors between sensor and platform, but I don't know how many Ohm do i need. I also need code or advise how get distanse form it. I guess i must count milliseconds between LED blink and transistor response and divide it on light speed, am i right?

Please help me

And I forget, I found sensor's datasheet in