Pauses playback.
The pause() function pauses a slideshow or playable gallery and fires a pause event.
The pause event handlers set on this element by the onPause( )
function or in the Editor are called.
Notes:
When using pause() on a gallery, make sure the
gallery is one where the isPlayable
capability is true.
If you change a gallery's type
to one that doesn't support pause(), your code may no longer function correctly.