Help needed:Hiding/Showing <div> layers

What is the best way to rotate several <div> layers? I am wanting to have three or more <div> layers with only one being visible at a time.

I know that javascript is used to accomplish this but I have not found the right one to allow multiple layers that interact in this manner.

Please advise…