| | | | | | | | |
| | Six Months Ended | |
| | June 30, | |
| | 2007 | | | 2006 | |
| | | | | | (Restated) | |
Cash flows from operating activities: | | | | | | | | |
Net (loss) income | | $ | (39,761 | ) | | $ | 37,676 | |
Adjustments to reconcile net (loss) income to net cash provided by operating activities: | | | | | | | | |
Loss (income) from discontinued operations, net of tax | | | 56,676 | | | | (12,123 | ) |
Depreciation and amortization | | | 22,405 | | | | 33,775 | |
Minority interest in WHC income (loss) | | | 958 | | | | (593 | ) |
Equity in earnings of EBS Master LLC | | | (14,674 | ) | | | — | |
Amortization of debt issuance costs | | | 1,447 | | | | 1,461 | |
Non-cash advertising | | | 2,320 | | | | 2,794 | |
Non-cash stock-based compensation | | | 18,146 | | | | 24,009 | |
Deferred income taxes | | | 1,052 | | | | 1,736 | |
EBS working capital adjustment | | | (399 | ) | | | — | |
Reversal of income tax valuation allowance applied to goodwill | | | 760 | | | | 4,043 | |
Changes in operating assets and liabilities: | | | | | | | | |
Accounts receivable | | | 4,922 | | | | (5,233 | ) |
Inventory | | | 272 | | | | (138 | ) |
Prepaid expenses and other, net | | | (514 | ) | | | (3,700 | ) |
Accounts payable | | | (36 | ) | | | 3,980 | |
Accrued expenses and other long-term liabilities | | | (45,430 | ) | | | 3,572 | |
Deferred revenue | | | 12,716 | | | | 8,137 | |
| | | | | | |
Net cash provided by continuing operations | | | 20,860 | | | | 99,396 | |
Net cash (used in) provided by discontinued operations | | | (1,880 | ) | | | 15,825 | |
| | | | | | |
Net cash provided by operating activities | | | 18,980 | | | | 115,221 | |
| | | | | | | | |
Cash flows from investing activities: | | | | | | | | |
Proceeds from maturities and sales of available-for-sale securities | | | 194,096 | | | | 398,870 | |
Purchases of available-for-sale securities | | | (388,942 | ) | | | (426,470 | ) |
Purchases of property and equipment | | | (12,558 | ) | | | (27,429 | ) |
Cash paid in business combinations, net of cash acquired | | | — | | | | (84,846 | ) |
Proceeds from the sale of EBS | | | 2,898 | | | | — | |
Proceeds from advances to EBS Master LLC | | | 19,730 | | | | — | |
Other changes in equity of discontinued operations | | | — | | | | 15,467 | |
| | | | | | |
Net cash used in continuing operations | | | (184,776 | ) | | | (124,408 | ) |
Net cash used in discontinued operations | | | — | | | | (17,009 | ) |
| | | | | | |
Net cash used in investing activities | | | (184,776 | ) | | | (141,417 | ) |
| | | | | | | | |
Cash flows from financing activities: | | | | | | | | |
Proceeds from issuance of HLTH and WHC common stock | | | 103,263 | | | | 30,433 | |
Tax benefit on stock-based awards | | | 457 | | | | — | |
Purchases of treasury stock under repurchase program | | | (42,906 | ) | | | (71,843 | ) |
Payments of notes payable and other | | | (101 | ) | | | (173 | ) |
| | | | | | |
Net cash provided by (used in) financing activities | | | 60,713 | | | | (41,583 | ) |
| | | | | | | | |
Effect of exchange rates on cash | | | 361 | | | | 479 | |
| | | | | | |
| | | | | | | | |
Net decrease in cash and cash equivalents | | | (104,722 | ) | | | (67,300 | ) |
Change in cash of discontinued operations | | | — | | | | 1,184 | |
Cash and cash equivalents at beginning of period | | | 614,691 | | | | 155,616 | |
| | | | | | |
Cash and cash equivalents at end of period | | $ | 509,969 | | | $ | 89,500 | |
| | | | | | |