Hey guys, I am stuck!

I am building a website for my someone (just personal) and I am trying to do something but I just can't figure out how. OK, so this is what I am trying to do: in the middle of page I want to insert a picture; to the left and to the right of this picture I want to have links "Back" "Next", and when a person clicks either "Back" or "Next" the picture would change, Now the trick is that I don't want the browser to go to a another page, I just want to swap the images by clicking on either "Back" or "Next" button without redirecting to another webpage.

I hope I explained it clearly enough. Thank you in advance...

Alex