XML 35 R24.htm IDEA: XBRL DOCUMENT v3.3.1.900
(Loss) Earnings Per Share (Details 1) - shares
shares in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2016
Jan. 31, 2015
Jan. 31, 2016
Jan. 31, 2015
Earnings Per Share, Diluted, Other Disclosures [Abstract]        
Shares excluded from the calculation of diluted earnings (loss) per share 41 416 177
Stock options [Member]        
Earnings Per Share, Diluted, Other Disclosures [Abstract]        
Shares excluded from the calculation of diluted earnings (loss) per share 6 7 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 35 409 173