XML 57 R46.htm IDEA: XBRL DOCUMENT v3.8.0.1
(Loss) Earnings Per Share (Details) - shares
shares in Thousands
3 Months Ended
Oct. 31, 2017
Oct. 31, 2016
Weighted-average number of shares used in the calculation of basic and diluted earnings per share    
Basic weighted-average number of shares 24,628 22,712
Effect of dilutive securities:    
Stock options 38
Non-vested restricted Class B common stock 149
Diluted weighted-average number of shares 24,628 22,899