johnwasser: We seem to have come up with the same idea, I did not see your post before sending mine.
BlueJakester: If you are going to use an IR LED check if you really can detect it though the glass. If you can then blinking sounds like a good idea, but make sure it is fast enough that a leg swinging through the beam will be detected.