мм это?
var JwgSlider = function() {
var a = this;
this.move = function(b) {
var c, d;
if ("number" != typeof b)
c = "right" == b ? this.index += 1 : this.index -= 1;
else if
(c = b, c > this.index + 1 || c < this.index - 1)
return void this.skipToSlide(c);
c == this.slides.length || -1 == c ? (c = -1 == c ?
this.slides.length - 1 : 0,
this.loopSlide(c)) : (
d = "-" + 100 * c + "%",
this.setIndex(c),
this.x.stop(!0, !0).animate({
left: d,
}, function() {
a.left = d
})
)
}
};