2 lead and 3 lead IR LED Confusion

This page and the ones following should help:

http://learn.parallax.com/lightspectrum

Example wiring:

http://learn.parallax.com/node/255