XML 68 R49.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income Taxes (Tables)
12 Months Ended
Jul. 31, 2017
Income Taxes [Abstract]  
Components of (loss) income before income taxes
Year ended July 31 
(in thousands)
 2017  2016  2015 
Domestic $(3,161) $11,278  $7,538 
Foreign  10,781   18,190   84,665 
INCOME BEFORE INCOME TAXES $7,620  $29,468  $92,203
Schedule of deferred income tax assets
July 31 
(in thousands)
 2017  2016 
Deferred income tax assets:      
Bad debt reserve $535  $575 
Accrued expenses  7,888   5,327 
Stock options and restricted stock  1,608   1,802 
Charitable contributions  1,768   1,527 
Impairment  27,944   25,746 
Depreciation  4,438   6,785 
Unrealized gain  317   193 
Net operating loss  122,260   122,849 
Credits  2,899   3,192 
Total deferred income tax assets  169,657   167,996 
Valuation allowance  (157,816)  (158,442)
Deferred tax assets, net of valuation allowance  11,841   9,554 
Deferred income tax liabilities:        
Unrealized loss     42 
NET DEFERRED INCOME TAX ASSETS $11,841  $9,512
Schedule of benefit from (provision for) income taxes

Year ended July 31 
(in thousands)
 2017  2016  2015 
Current:         
Federal $  $(83) $ 
State and local  (26)  (30)   
Foreign  (282)  (185)  (311)
   (308)  (298)  (311)
Deferred:            
Federal  (9,536)  (3,148)  (1,967)
State and local  (66)  (51)  (245)
Foreign  11,931   (613)  (3,565)
   2,329   (3,812)  (5,777)
BENEFIT FROM (PROVISION FOR) INCOME TAXES $2,021  $(4,110) $(6,088)
Schedule of U.S. federal statutory income tax rate and income taxes provided

Year ended July 31 
(in thousands)
 2017  2016  2015 
U.S. federal income tax at statutory rate $(2,667) $(10,314) $(32,271)
Valuation allowance  626       
Foreign tax rate differential  3,107   6,035   25,757 
Nondeductible expenses  457   487   659 
Other  64   (67)  (73)
Prior year tax benefit (expense)  494   (231)   
State and local income tax, net of federal benefit  (60)  (20)  (160)
BENEFIT FROM (PROVISION FOR) INCOME TAXES $2,021  $(4,110) $(6,088)
Schedule of change in the valuation allowance
Year ended July 31 
(in thousands)
 Balance at
beginning of
year
  Additions
charged to
costs and
expenses
  Deductions  Balance at
end of year
 
2017            
Reserves deducted from deferred income taxes, net:            
Valuation allowance $158,442  $16,017  $(16,643) $157,816 
2016                
Reserves deducted from deferred income taxes, net:                
Valuation allowance $155,393  $3,049  $  $158,442 
2015                
Reserves deducted from deferred income taxes, net:                
Valuation allowance $151,975  $3,418  $  $155,393