XML 35 R18.htm IDEA: XBRL DOCUMENT v2.4.1.9
Earnings (Loss) Per Share (Tables)
9 Months Ended
Apr. 30, 2015
Earnings (Loss) Per Share [Abstract]  
Schedule of weighted-average number of shares used in the calculation of basic and diluted earnings per share

  Three Months Ended
April 30,
  Nine Months Ended
April 30,
 
  2015  2014  2015  2014 
  (in thousands) 
Basic weighted-average number of shares  11,449   11,339   11,426   10,878 
Effect of dilutive securities:                
   Shares underlying stock options  5   7   6    
   Non-vested restricted Class B common stock  425   303   405    
                 
Diluted weighted-average number of shares  11,879   11,649   11,837   10,878
Summary of shares excluded from the diluted earnings per share computations

  Three Months Ended
April 30,
  Nine Months Ended
April 30,
 
  2015  2014  2015  2014 
  (in thousands) 
Stock options           30 
Non-vested restricted Class B common stock           474 
                 
Shares excluded from the calculation of diluted earnings (loss) per share           504