XML 109 R90.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income Taxes (Details 4) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Jul. 31, 2017
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2015
Income Taxes [Abstract]        
Valuation allowance - Balance at beginning of year   $ 158,442 $ 155,393 $ 151,975
Valuation allowance - Additions charged to costs and expenses $ 11,100 16,017 3,049 3,418
Valuation allowance - Deductions   (16,643)
Valuation allowance - Balance at end of year $ 157,816 $ 157,816 $ 158,442 $ 155,393