Annual report pursuant to Section 13 and 15(d)

NOTES PAYABLE (Details - Long-term Notes Payable)

v3.19.1
NOTES PAYABLE (Details - Long-term Notes Payable) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Nov. 09, 2017
Jan. 29, 2016
Dec. 31, 2018
Dec. 31, 2017
Mar. 01, 2017
Unsecured Note Payable [Member] | Wiltshire 2 [Member]          
Debt Instrument [Line Items]          
Debt face value $ 850        
Debt interest rate (percent) 16.00%        
Warrant issued (shares) 750        
Fair value of warrant $ 137        
Legal expenses $ 13        
Warrant exercise price (in USD per share) $ 0.248        
Unsecured Note Payable [Member] | Wiltshire [Member]          
Debt Instrument [Line Items]          
Debt face value   $ 850      
Debt interest rate (percent)   12.00%      
Debt periodic payment, interest only $ 11 $ 9      
Original issue discount   30      
Other debt issuance costs   $ 19      
Warrant issued (shares)   2,000      
Fair value of warrant   $ 267      
Interest expense for amortization of warrant fair value and beneficial conversion feature     $ 98 $ 111  
Frequency of periodic payment     monthly    
Warrant exercise price (in USD per share)   $ 0.20      
Convertible Debt [Member] | Iliad Note 2 [Member]          
Debt Instrument [Line Items]          
Debt face value         $ 770
Debt interest rate (percent)         8.00%
Other debt issuance costs         $ 20
Measurement Input, Price Volatility [Member] | Convertible Debt [Member] | Wiltshire 2 [Member]          
Debt Instrument [Line Items]          
Warrants, measurement input 0.959        
Measurement Input, Price Volatility [Member] | Convertible Debt [Member] | Wiltshire [Member]          
Debt Instrument [Line Items]          
Warrants, measurement input   0.833      
Measurement Input, Risk Free Interest Rate [Member] | Convertible Debt [Member] | Wiltshire 2 [Member]          
Debt Instrument [Line Items]          
Warrants, measurement input 0.0259        
Measurement Input, Risk Free Interest Rate [Member] | Convertible Debt [Member] | Wiltshire [Member]          
Debt Instrument [Line Items]          
Warrants, measurement input   0.021      
Measurement Input, Expected Term [Member] | Convertible Debt [Member] | Wiltshire 2 [Member]          
Debt Instrument [Line Items]          
Warrants, term 5 years        
Measurement Input, Expected Term [Member] | Convertible Debt [Member] | Wiltshire [Member]          
Debt Instrument [Line Items]          
Warrants, term   5 years      
Selling, General and Administrative Expenses [Member]          
Debt Instrument [Line Items]          
Gain (loss) on extinguishment of debt       $ 189