Scrolling Text or Picture (marquee)

This code allows an image or text to scroll in which ever direction you choose. Here are many different directions you can pick. I'll list them in the same order as the codes below are listed.
1. Right to Left
2. Left to Right
3. Up
4. Down
5. Up and Down
6. Zig Zagg

This code snippet was originally contributed by guest_iroolz.