loadTour = function loadTour(tour) {
      var tmpOpt = {},
          prop,
          tourState,
          tourStateValues;

      // Set tour-specific configurations
      for (prop in tour) {
        if (tour.hasOwnProperty(prop) && prop !== 'id' && prop !== 'steps') {
          tmpOpt[prop] = tour[prop];
        }
      }

      //this.resetDefaultOptions(); // reset all options so there are no surprises
      // TODO check number of config properties of tour
      _configure.call(this, tmpOpt, true);

      // Get existing tour state, if it exists.
      tourState = utils.getState(getOption('cookieName'));
      if (tourState) {
        tourStateValues = tourState.split(':');
        cookieTourId = tourStateValues[0]; // selecting tour is not supported by this framework.
        cookieTourStep = tourStateValues[1];

        if (tourStateValues.length > 2) {
          cookieSkippedSteps = tourStateValues[2].split(',');
        }

        cookieTourStep = parseInt(cookieTourStep, 10);
      }

      return this;
    }
loadTour

Loads, but does not display, tour.

@private
@param tour The tour JSON object