Click the next and back buttons on the slideshow viewer and watch what happens to the _CurrentImage variable value below.

_CurrentImage

contains

<num>

VARIABLE NAME

VARIABLE VALUE