docs: function(){
  
              var status = {
  
                  valign: {
                      top: 0,
                      middle: 1,
                      bottom: 2
                  },
                  align: {
                      left: 0,
                      center: 1,
                      right: 2
                  },
                  count: 3
  
                  },
                  result = -1;
  
              if( this.selected ) {
                  this.selectedIndex = status.valign[ this.selected.valign ] * status.count + status.align[ this.selected.align ];
              }
  
          }