|
Consolidated Statement of Changes in Equity (USD $) In Thousands, unless otherwise specified
|
Total
USD ($)
|
Equity Offering
USD ($)
|
Contingent Consideration Classified as Equity
USD ($)
|
Common Stock
USD ($)
|
Common Stock
Equity Offering
USD ($)
|
Common Stock
Contingent Consideration Classified as Equity
|
Additional Paid-In Capital
USD ($)
|
Additional Paid-In Capital
Equity Offering
USD ($)
|
Additional Paid-In Capital
Contingent Consideration Classified as Equity
USD ($)
|
Treasury Stock
USD ($)
|
Purchased Warrants
USD ($)
|
Accumulated Deficit
USD ($)
|
Accumulated Other Comprehensive Income (Loss)
USD ($)
|
Non-controlling Interest
USD ($)
|
| Beginning Balance at Dec. 31, 2010 |
$ 303,077 |
|
|
$ 13 |
|
|
$ 747,301 |
|
|
$ (15,089) |
$ (6,844) |
$ (423,859) |
$ 99 |
$ 1,456 |
| Beginning Balance (in shares) at Dec. 31, 2010 |
|
|
|
12,749 |
|
|
|
|
|
1,331 |
1,133 |
|
|
|
| Stock-based compensation |
2,863 |
|
|
|
|
|
2,863 |
|
|
|
|
|
|
|
| Issuance of common stock to employees |
|
|
|
19 |
|
|
|
|
|
|
|
|
|
|
| Issuance of common stock for acquisitions |
16,925 |
|
|
|
|
|
16,925 |
|
|
|
|
|
|
|
| Issuance of common stock for acquisitions (in shares) |
|
|
|
271 |
|
|
|
|
|
|
|
|
|
|
| Purchase of common stock |
(4,414) |
|
|
|
|
|
|
|
|
(4,414) |
|
|
|
|
| Purchase of common stock (in shares) |
|
|
|
|
|
|
|
|
|
100 |
|
|
|
|
| Exercise of warrants |
47,912 |
|
|
1 |
|
|
47,911 |
|
|
|
|
|
|
|
| Exercise of warrants (in shares) |
|
|
|
878 |
|
|
|
|
|
|
|
|
|
|
| Net income (loss) |
(24,462) |
|
|
|
|
|
|
|
|
|
|
(23,006) |
|
(1,456) |
| Accumulated other comprehensive loss: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Unrealized loss from available for sale securities |
(112) |
|
|
|
|
|
|
|
|
|
|
|
(112) |
|
| Foreign currency translation gain |
21 |
|
|
|
|
|
|
|
|
|
|
|
21 |
|
| Ending Balance at Dec. 31, 2011 |
341,810 |
|
|
14 |
|
|
815,000 |
|
|
(19,503) |
(6,844) |
(446,865) |
8 |
|
| Ending Balance (in shares) at Dec. 31, 2011 |
|
|
|
13,917 |
|
|
|
|
|
1,431 |
1,133 |
|
|
|
| Stock-based compensation |
3,610 |
|
|
|
|
|
3,610 |
|
|
|
|
|
|
|
| Stock-based compensation (in shares) |
|
|
|
10 |
|
|
|
|
|
|
|
|
|
|
| Issuance of common stock for acquisitions |
417,733 |
|
|
11 |
|
|
417,722 |
|
|
|
|
|
|
|
| Issuance of common stock for acquisitions (in shares) |
|
|
|
10,664 |
|
|
|
|
|
|
|
|
|
|
| Issuance of common stock |
|
74,448 |
7,770 |
|
2 |
|
|
74,446 |
7,770 |
|
|
|
|
|
| Issuance of common stock (in shares) |
|
|
|
|
1,820 |
173 |
|
|
|
|
|
|
|
|
| Exercise of warrants |
32 |
|
|
|
|
|
32 |
|
|
|
|
|
|
|
| Exercise of warrants (in shares) |
|
|
|
28 |
|
|
|
|
|
|
|
|
|
|
| Shares returned from escrow |
(161) |
|
|
|
|
|
(161) |
|
|
|
|
|
|
|
| Net income (loss) |
2,527 |
|
|
|
|
|
|
|
|
|
|
2,527 |
|
|
| Accumulated other comprehensive loss: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Reclassification of net loss from sales of available-for sale-securities included in earnings |
(8) |
|
|
|
|
|
|
|
|
|
|
|
(8) |
|
| Ending Balance at Dec. 31, 2012 |
847,761 |
|
|
27 |
|
|
1,318,419 |
|
|
(19,503) |
(6,844) |
(444,338) |
|
|
| Ending Balance (in shares) at Dec. 31, 2012 |
|
|
|
26,612 |
|
|
|
|
|
1,431 |
1,133 |
|
|
|
| Stock-based compensation |
3,708 |
|
|
|
|
|
3,708 |
|
|
|
|
|
|
|
| Issuance of common stock to employees |
|
|
|
15 |
|
|
|
|
|
|
|
|
|
|
| Issuance of common stock for acquisitions |
24,286 |
|
|
|
|
|
24,286 |
|
|
|
|
|
|
|
| Issuance of common stock for acquisitions (in shares) |
|
|
|
741 |
|
|
|
|
|
|
|
|
|
|
| Issuance of common stock |
|
|
47 |
|
|
|
|
|
47 |
|
|
|
|
|
| Issuance of common stock (in shares) |
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
| Issuance of common stock for legal settlement |
1,621 |
|
|
|
|
|
1,621 |
|
|
|
|
|
|
|
| Issuance of common stock for legal settlement (in shares) |
|
|
|
56 |
|
|
|
|
|
|
|
|
|
|
| Shares returned from escrow |
(28) |
|
|
|
|
|
(28) |
|
|
|
|
|
|
|
| Retirement of purchased warrants |
|
|
|
|
|
|
(6,844) |
|
|
|
6,844 |
|
|
|
| Retirement of purchased warrants (in shares) |
|
|
|
|
|
|
|
|
|
|
(1,133) |
|
|
|
| Distribution to noncontrolling shareholder |
(735) |
|
|
|
|
|
|
|
|
|
|
(735) |
|
|
| Net income (loss) |
(232,291) |
|
|
|
|
|
|
|
|
|
|
(232,291) |
|
|
| Ending Balance at Dec. 31, 2013 |
$ 644,369 |
|
|
$ 27 |
|
|
$ 1,341,209 |
|
|
$ (19,503) |
|
$ (677,364) |
|
|
| Ending Balance (in shares) at Dec. 31, 2013 |
|
|
|
27,425 |
|
|
|
|
|
1,431 |
|
|
|
|