Is this code that I just put within <SCRIPT> tags in the
header (probably making sure it is under the jquery import), either manually or
by a module? I've never done jquery development.
The Drupal Dojo lesson on JavaScript and jquery would probably be a very good place to start: http://blip.tv/file/193619