16. FAIR VALUE MEASUREMENTS (Details - Level 3) - Level 3 [Member] - USD ($) $ in Thousands |
12 Months Ended | ||
---|---|---|---|
Dec. 31, 2016 |
Dec. 31, 2015 |
Dec. 31, 2014 |
|
Warrant | |||
Changes in the fair value of the Company's Level 3 inputs | |||
Beginning Balance | $ 273 | $ 1,986 | $ 8,215 |
Adjustments to fair value for the period | 557 | (1,114) | 35,260 |
Ending Balance | 651 | 273 | 1,986 |
Warrant | Exercises of Warrants [Member] | |||
Changes in the fair value of the Company's Level 3 inputs | |||
Transfers out | (3) | (41,486) | |
Warrant | Expiration of Warrants [Member] | |||
Changes in the fair value of the Company's Level 3 inputs | |||
Transfers out | (527) | ||
Conversion Features [Member] | Exercises of Warrants [Member] | |||
Changes in the fair value of the Company's Level 3 inputs | |||
Transfers out | $ (179) | $ (72) | |
Conversion Features [Member] | Issuance In March [Member] | |||
Changes in the fair value of the Company's Level 3 inputs | |||
Issuances | $ 1,401 |
X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
X | ||||||||||
- Definition Amount of transfers of financial instrument classified as a liability out of level 3 of the fair value hierarchy. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
X | ||||||||||
- Definition Amount of issuances 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 Amount of increase (decrease) 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
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|