FAIR VALUE MEASUREMENTS. (Details 2) - Level 3 [Member] - Warrants [Member] - USD ($) $ in Thousands |
12 Months Ended | ||
---|---|---|---|
Dec. 31, 2017 |
Dec. 31, 2016 |
Dec. 31, 2015 |
|
Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items] | |||
Beginning Balance | $ 651 | $ 273 | $ 1,986 |
Exercised warrants | (178) | (179) | (72) |
Expiration of warrants | (527) | ||
Adjustments to fair value for the period | (473) | 557 | (1,114) |
Ending Balance | $ 651 | $ 273 |
X | ||||||||||
- Definition Exercised Warrants. No definition available.
|
X | ||||||||||
- Definition Expiration Warrants. No definition available.
|
X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|
X | ||||||||||
- Definition Amount of settlements of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|