"TypeError: $(...) is null" What's Going On?

Firebug is giving the error: TypeError: $(...) is null $('#menu img').hover( I have no idea why. The seemingly problematic script is this which replaces an image when the cursor hovers over an im...