How do I manually slide a carousel?
I fixed it by creating a global variable, and then assigning the value of the carousel to it.

var global_jc="";
function slCarousel_initCallback(carousel) {
  global_jc=carousel;
  // ...
}


Wherever I want to use next(), I use the following code:

global_jc.next();