Scrolling then static columns?

Hi all,

How would I go about creating one of those scrolling/static columns? Ya know the ones that sit below other columns and then when you scroll down it becomes fixed and stays on screen until you scroll up again and it gets pushed down?

Some direction would be great, a script, or a site to examine, an idea how to go about programming it, etc.

Thanks!