XML 85 R58.htm IDEA: XBRL DOCUMENT v3.5.0.2
Income Taxes (Income Before Provision for Income Taxes) (Details) - USD ($)
12 Months Ended
Jul. 31, 2016
Jul. 31, 2015
Jul. 31, 2014
Income Tax Disclosure [Abstract]      
U.S. $ (7,666,000) $ 33,425,000 $ 36,885,000
Foreign (526,000) 578,000 1,622,000
(Loss) income before (benefit from) provision for income taxes $ (8,192,000) $ 34,003,000 $ 38,507,000