Annual report pursuant to Section 13 and 15(d)

NOTES PAYABLE (Details - Senior Secured Convertible Notes)

v3.19.1
NOTES PAYABLE (Details - Senior Secured Convertible Notes)
$ / shares in Units, shares in Thousands, $ in Thousands
1 Months Ended 12 Months Ended
Mar. 01, 2017
USD ($)
trading_day
closing_bid_price
$ / shares
May 25, 2016
USD ($)
trading_day
closing_bid_price
$ / shares
Mar. 31, 2017
USD ($)
default
$ / shares
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
shares
Debt Instrument [Line Items]          
Proceeds from convertible debt       $ 0 $ 750
Iliad Note [Member] | Convertible Debt [Member]          
Debt Instrument [Line Items]          
Debt face value   $ 2,055      
Debt issuance costs   80      
Proceeds from convertible debt   $ 1,975      
Interest rate (percent)   10.00%      
Lender conversion price (in USD per share) | $ / shares   $ 0.50      
Maximum monthly convertible debt redemption amount   $ 275      
Conversion factor as percent of market price (percent)   70.00%      
Number of lowest closing bid prices included in average | closing_bid_price   3      
Threshold consecutive trading days below trigger price | trading_day   20      
Stock price trigger (in USD per share) | $ / shares   $ 0.25      
Reduction in conversion factor triggered by stock price (percent)   10.00%      
Reduction in conversion factor for ineligibility of deposit/withdrawal at custodian (percent)   5.00%      
Reduction in conversion factor due to major default (percent)   5.00%      
Redemption price as percent of outstanding debt, interest and other costs (percent)   125.00%      
Conversion amount allowed by lender in event of prepayment on the note   $ 300      
Fair value of beneficial conversion feature   $ 370      
Debt conversion, amount allocated to common stock and additional paid-in equity         1,728
Debt conversion, accrued interest         77
Convertible notes converted         1,805
Amount repaid to lender         341
Iliad Note 2 [Member] | Convertible Debt [Member]          
Debt Instrument [Line Items]          
Debt face value $ 770        
Debt issuance costs $ 20        
Proceeds from convertible debt     $ 750    
Interest rate (percent) 8.00%        
Lender conversion price (in USD per share) | $ / shares $ 0.50        
Maximum monthly convertible debt redemption amount $ 100        
Conversion factor as percent of market price (percent) 70.00%        
Number of lowest closing bid prices included in average | closing_bid_price 3        
Threshold consecutive trading days below trigger price | trading_day 20        
Stock price trigger (in USD per share) | $ / shares     $ 0.25    
Reduction in conversion factor triggered by stock price (percent)     10.00%    
Reduction in conversion factor for ineligibility of deposit/withdrawal at custodian (percent)     5.00%    
Reduction in conversion factor due to major default (percent)     5.00%    
Redemption price as percent of outstanding debt, interest and other costs (percent)     125.00%    
Conversion amount allowed by lender in event of prepayment on the note     $ 200    
Fair value of beneficial conversion feature $ 29        
Gain on change in derivative liability         29
Debt conversion, amount allocated to common stock and additional paid-in equity         75
Amount repaid to lender         131
Reduction in conversion factor for DTC ineligibility (percent)     5.00%    
Number of major defaults resulting in reductions to conversion factor | default     3    
Derivative liability, beneficial conversion feature, amortization period 8 months        
Net carrying amount of debt         610
Interest accrued         4
Unamortized debt issuance costs         6
Interest expense, debt       $ 50 169
Selling, General and Administrative Expenses [Member] | Iliad Note [Member] | Convertible Debt [Member]          
Debt Instrument [Line Items]          
Gain on change in derivative liability         $ 223
Measurement Input, Price Volatility [Member] | Iliad Note [Member] | Convertible Debt [Member]          
Debt Instrument [Line Items]          
Derivative liability, measurement input   0.740     0.610
Measurement Input, Price Volatility [Member] | Iliad Note 2 [Member] | Convertible Debt [Member]          
Debt Instrument [Line Items]          
Derivative liability, measurement input 0.850       0.840
Measurement Input, Risk Free Interest Rate [Member] | Iliad Note [Member] | Convertible Debt [Member]          
Debt Instrument [Line Items]          
Derivative liability, measurement input   0.004     0.007
Measurement Input, Risk Free Interest Rate [Member] | Iliad Note 2 [Member] | Convertible Debt [Member]          
Debt Instrument [Line Items]          
Derivative liability, measurement input 0.008       0.009
Measurement Input, Expected Term [Member] | Iliad Note [Member] | Convertible Debt [Member]          
Debt Instrument [Line Items]          
Derivative liability, measurement input, term   5 months      
Measurement Input, Expected Term [Member] | Iliad Note 2 [Member] | Convertible Debt [Member]          
Debt Instrument [Line Items]          
Derivative liability, measurement input, term 8 months       4 months
Common Stock [Member] | Iliad Note [Member] | Convertible Debt [Member]          
Debt Instrument [Line Items]          
Debt converted, shares issued (shares) | shares         8,370
Common Stock [Member] | Iliad Note 2 [Member] | Convertible Debt [Member]          
Debt Instrument [Line Items]          
Debt converted, shares issued (shares) | shares         398
Additional Paid-in Capital [Member] | Iliad Note [Member] | Convertible Debt [Member]          
Debt Instrument [Line Items]          
Beneficial conversion feature originally recorded   $ 370      
Amortization period of beneficial conversion feature   6 months