XML 37 R26.htm IDEA: XBRL DOCUMENT v3.4.0.3
Earnings (Loss) Per Share (Details 1) - shares
shares in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2016
Apr. 30, 2015
Apr. 30, 2016
Apr. 30, 2015
Earnings Per Share, Diluted, Other Disclosures [Abstract]        
Shares excluded from the calculation of diluted earnings (loss) per share 182 179
Stock options [Member]        
Earnings Per Share, Diluted, Other Disclosures [Abstract]        
Shares excluded from the calculation of diluted earnings (loss) per share 3 4
Non-vested restricted Class B common stock [Member]        
Earnings Per Share, Diluted, Other Disclosures [Abstract]        
Shares excluded from the calculation of diluted earnings (loss) per share 179 175