XML 36 R25.htm IDEA: XBRL DOCUMENT v3.4.0.3
Earnings (Loss) Per Share (Details) - shares
shares in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2016
Apr. 30, 2015
Apr. 30, 2016
Apr. 30, 2015
Basic and Diluted weighted-average number of shares [Abstract]        
Basic weighted-average number of shares 11,905 11,449 11,856 11,426
Effect of dilutive securities:        
Shares underlying stock options 5 6
Non-vested restricted Class B common stock 425 405
Diluted weighted-average number of shares 11,905 11,879 11,856 11,837