XML 31 R17.htm IDEA: XBRL DOCUMENT v3.3.1.900
Earnings (Loss) Per Share (Tables)
3 Months Ended
Oct. 31, 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
October 31,
 
  2015  2014 
  (in thousands) 
Basic weighted-average number of shares  11,810   11,398 
Effect of dilutive securities:        
Shares underlying stock options     10 
Non-vested restricted Class B common stock     395 
Diluted weighted-average number of shares  11,810   11,803 
Summary of shares excluded from the diluted earnings per share computations
  Three Months Ended
October 31,
 
  2015  2014 
  (in thousands) 
Shares underlying stock options  2    
Non-vested restricted Class B common stock  239    
Shares excluded from the calculation of diluted loss per share  241