Pausing XML Slideshow when hitting next/prev or thumbnail?

Been looking like mad for this one and hoping for any ideas. Just looking for a way to pause the slideshow when you hit previous, next or click on any thumbnail. I’m sure it’s something simple. Been trying to do it with clearInterval(myInterval); but it hasn’t been working.

any ideas would be greatly appreciated.

thanks in advance.