XML 17 R6.htm IDEA: XBRL DOCUMENT v3.7.0.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jan. 31, 2017
Jan. 31, 2016
Cash flows from operating activities:    
Net loss $ (11,449) $ (28,721)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 4,090 3,874
Amortization of deferred financing costs 281 364
Accretion of debt discount 1,940 2,473
Impairment of long-lived assets   305
Share-based compensation 381 958
Non-cash (gains) losses, net (531) 8,108
(Gains) losses on investments in affiliates and impairments (896) (217)
Changes in operating assets and liabilities:    
Trade accounts receivable, net 5,169 (33,592)
Inventories 2,349 (609)
Prepaid expenses and other current assets 1,330 (22,334)
Accounts payable, accrued restructuring and accrued expenses (19,358) 43,136
Refundable and accrued income taxes, net (372) 1,918
Other assets and liabilities (35) 5,388
Net cash used in operating activities (17,101) (18,949)
Cash flows from investing activities:    
Additions to property and equipment (3,301) (3,234)
Proceeds from the disposition of property and equipment   1,318
Proceeds from the sale of Trading Securities 5,832 43,698
Investments in affiliates   (42)
Proceeds from investments in affiliates 896 259
Net cash provided by investing activities 3,427 41,999
Cash flows from financing activities:    
Purchase of the Company's Convertible Notes (1,763)  
Repayments on capital lease obligations (126) (114)
Proceeds from issuance of common stock 12  
Repurchase of common stock   (78)
Net cash used in financing activities (1,877) (192)
Net effect of exchange rate changes on cash and cash equivalents (905) (855)
Net increase (decrease) in cash and cash equivalents (16,456) 22,003
Cash and cash equivalents at beginning of period 130,790 119,431
Cash and cash equivalents at end of period $ 114,334 $ 141,434