text: var chair = {};
  chair.name = "CAT Guest Chair";
  var currentTabIndex = 1;
  var price = [];
  price.length = 11;
  function nextStep(data) {
      if (currentTabIndex >= 7) return;
      switch (currentTabIndex) {
          case 1:
              chair.userInfo = data;
              chair.model = 'CB-4';
              price[1] = 223.88;
              refreshPrice();
              break;
          case 2:
              chair.armrests = data;
              console.log("armrests:" + chair.armrests);
              break;
          case 3:
              chair.frameColor = data;
              console.log("frameColor:" + chair.frameColor);
              break;
          case 4:
              chair.chairColor = data;
              console.log("color:" + chair.chairColor);
              break;
          case 5:
              chair.data = data;
              console.log("option1:" + chair.data.option1);
              console.log("option2:" + chair.data.option2);
              console.log("option3:" + chair.data.option3);
              console.log("option4:" + chair.data.option4);
              console.log("option5:" + chair.data.option5);
              console.log("option6:" + chair.data.option6);
              console.log("quantity:" + chair.data.quantity);
              break;
          case 6:
              console.log("name:" + chair.name);
              break;
          default:
              break;
      }
      $('#tab' + currentTabIndex).removeClass("active");
      currentTabIndex++;
      $('#tab' + currentTabIndex).addClass("active");
  }
  
  
  