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

  Three Months Ended 
October 31,
 
  2014  2013 
  (in thousands) 
Shares underlying stock options     32 
Non-vested restricted Class B common stock     1,279 
Shares excluded from the calculation of diluted loss per share     1,311