XML 31 R17.htm IDEA: XBRL DOCUMENT v2.4.1.9
Earnings (Loss) Per Share (Tables)
6 Months Ended
Jan. 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 
January 31,
  Six Months Ended 
January 31,
 
  2015  2014  2015  2014 
  (in thousands) 
Basic weighted-average number of shares  11,420   10,784   11,409   10,646 
Effect of dilutive securities:                
   Shares underlying stock options        7    
   Non-vested restricted Class B common stock        421    
                 
Diluted weighted-average number of shares  11,420   10,784   11,837   10,646 
Summary of shares excluded from the diluted earnings per share computations

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