var _PageFlow = [
  {
    PageID:"CHECK_LAN_PORT", 
    Filename:"../home/checkLanPort.html",
    Condition:{}
  },
  {
    PageID:"WPS", 
    Filename:"../install/router_wps.html",
    ClassPageOrder:1,
    ClassPageTotal:4,
    Condition:{
      isWireless:1
    }
  },
/*  {
    // attach the antenna 
    PageID:"INSTALL1",
    Filename:"../install/install_cam_1-1.html",
    ClassPageOrder:2,
    ClassPageTotal:5,
    Condition:{
      isWireless:1
    }
  },*/
  {
    // Connect the camera base
    PageID:"INSTALL2",
    Filename:"../install/install_cam_1-2.html",
    ClassPageOrder:2,
    ClassPageTotal:4,
    Condition:{}
  },
  {
    // the Ethernet cable
    PageID:"INSTALL4",
    Filename:"../install/install_cam_1-4.html",
    ClassPageOrder:3,
    ClassPageTotal:4,
    Condition:{
      isWPS:0
    }
  },
  {
    // Connect the power adapter
    PageID:"INSTALL3",
    Filename:"../install/install_cam_1-3.html",
    ClassPageOrder:4,
    ClassPageTotal:4,
    Condition:{}
  },
  {
    // set up your WPS connection
    PageID:"INSTALL_WPS",
    Filename:"../install/wps_cam_1-5.html",
    ClassPageOrder:5,
    ClassPageTotal:4,
    Condition:{
      isWireless:1,
      isWPS:1
    }
  },
  {
    PageID:"SEARCH", 
    Filename:"../settings/select_cam_1.html",
    ClassPageOrder:1,
    ClassPageTotal:(_isMydlink) ? 5 : 4,
    Condition:{}
  },
  {
    PageID:"PASSWD", 
    Filename:"../settings/pwd_2_confirm.html",
    ClassPageOrder:2,
    ClassPageTotal:(_isMydlink) ? 5 : 4,
    Condition:{}
  },
  {
    PageID:"WAN", 
    Filename:"../settings/wan_3.html",
    ClassPageOrder:3,
    ClassPageTotal:(_isMydlink) ? 5 : 4,
    Condition:{
      //isDevice_Online:0
    }
  },
  {
    PageID:"WIRELESS", 
    Filename:"../settings/lan_4.html",
    ClassPageOrder:4,
    ClassPageTotal:(_isMydlink) ? 5 : 4,
    Condition:{
      isWPS:0,
      isWireless:1
    }
  },
/*  {
    PageID:"REMOTE_ACCESS", 
    Filename:"../settings/remote_access.html",
    ClassPageOrder:1,
    ClassPageTotal:(_isMydlink) ? 5 : 4,
    Condition:{
      isLocal_Ip_Accessible:0,
      isDevice_Online:1
    }
  },*/
  {
    PageID:"DLIFE", 
    Filename:"../settings/dlife.html",
    ClassPageOrder:5,
    ClassPageTotal:5,
    Condition:{
      isMydlink:        1,
      isDevice_Online:  1,      // for getting the Dlife NO.
      isPC_Online:      1       // for accessing D-Life website
    }
  },
  {
    PageID:"SUMMARY", 
    Filename:"../settings/summary_5.html",
    Condition:{}
  }
];
  
