[eluser]Colin Williams[/eluser]
1.) The gradient tool (or layer style) in Photoshop (or Fireworks) is responsible for the gloss.
2.) CSS applies the glossy images to the html
3.) JavaScript (possibly empowered by a library like jQuery or Prototype or YUI) makes things behave like dropdowns, popups etc.