On many sites now, i see some common functionality.

Which has been catching my eye, has been some JS where it places a black overlay across the screen with some opacity, and it is commonly used in photo galleries. Also, the preloader which works in a circular motion with circles/dots.

They are both quite common in many "Web 2.0" sites, but can't remember any examples off the top of my head. What are they?