XML 49 R37.htm IDEA: XBRL DOCUMENT v3.4.0.3
Operating Results of Discontinued Operations (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2016
Apr. 30, 2015
Apr. 30, 2016
Apr. 30, 2015
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]        
Operating loss of discontinued operations before income taxes $ (969) $ (1,280) $ (2,265) $ (4,279)
Income tax benefit (358) (573) (836) (1,677)
Loss from discontinued operations, net of taxes $ (611) $ (707) $ (1,429) $ (2,602)