Change opacity on scroll

Hey,

If you check out this site: http://bloggersdelight.dk - the bottom bars opacity changes overtime you scroll, and when you stop scrolling.
How can that be made?