great jQuery tool for triggering functions when they become visable.

Waypoints is a jQuery plugin that makes it easy to execute a function whenever you scroll to an element.

via jQuery Waypoints.