Skip to navigation

Question:
How to change a background image with a javascript function?

Code that is graceful and clear is less likely to break.