forward.onRelease = function() {
    if (_root._currentframe == 6) {
        gotoAndStop(1);
 }
 else  {
  nextFrame();
 }
}
back.onRelease = function() {
    if (_root._currentframe == 1) {
        gotoAndStop(6);
 }
 else  {
  prevFrame();
 }
}
stop();