XML 26 R6.htm IDEA: XBRL DOCUMENT v2.4.0.8
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (USD $)
In Thousands, unless otherwise specified
6 Months Ended
Jun. 30, 2014
Jun. 30, 2013
Cash flows from operating activities:    
Net income (loss) $ 7,225 $ (60,014)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 4,022 5,308
Amortization and write-off of deferred loan costs 1,200 2,833
Amortization and write-off of debt discount   7,794
Fair value adjustment of stock warrants 19 755
Deferred income taxes 80 429
Bad debt expense (336) 649
Net non-cash income from discontinued operations   (195)
Stock compensation expense 1,908 2,319
Net gain on sale of assets (15) (24)
Changes in assets and liabilities:    
Receivables (21,823) (41,121)
Inventories (15,438) (20,173)
Other current assets 1,728 (2,641)
Other assets and liabilities (114) 562
Accounts payable 19,663 11,178
Accrued liabilities 2,573 6,473
Net cash provided by (used in) operating activities 692 (85,868)
Cash flows from investing activities:    
Purchases of property, plant and equipment (12,121) (4,595)
Proceeds from sale of property, plant and equipment 16 617
Cash used for acquisitions, net (8,726)  
Decrease in restricted cash   13,030
Net cash provided by (used in) investing activities (20,831) 9,052
Cash flows from financing activities:    
Borrowings under revolving credit facility   30,000
Payments under revolving credit facility   (30,000)
Proceeds from issuance of long term debt   350,000
Payments of long-term debt and other loans (33) (364,746)
Deferred loan costs (34) (14,301)
Payment of recapitalization costs   (37)
Exercise of stock options 1,355 1,015
Repurchase of common stock (1,306) (1,036)
Net cash used in financing activities (18) (29,105)
Net change in cash and cash equivalents (20,157) (105,921)
Cash and cash equivalents at beginning of period 54,696 131,432
Cash and cash equivalents at end of period $ 34,539 $ 25,511