Annual report pursuant to Section 13 and 15(d)

Convertible Senior Notes Payable (Details)

v3.8.0.1
Convertible Senior Notes Payable (Details) - USD ($)
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Debt Instrument [Line Items]    
Amortization of Debt Discount and Offering Costs $ 5,246,000 $ 3,149,000
Less: Current Portion 5,994,000
Convertible Notes Payable [Member] | Principal [Member]    
Debt Instrument [Line Items]    
Balance, December 31, 2016 $ 9,191,000  
2017 Senior Notes Issued 1,556,000  
Amortization of Debt Discount and Offering Costs  
Conversion into Shares of Common Stock (60,000)  
Balance, December 31, 2017 10,687,000 9,191,000
Less: Current Portion 10,687,000  
Long Term Portion  
Convertible Notes Payable [Member] | Debt Discount [Member]    
Debt Instrument [Line Items]    
Balance, December 31, 2016 $ (8,152,000)  
2017 Senior Notes Issued (461,000)  
Amortization of Debt Discount and Offering Costs $ 4,114,000  
Conversion into Shares of Common Stock 51,000  
Balance, December 31, 2017 (4,448,000) (8,152,000)
Less: Current Portion (4,448,000)  
Long Term Portion  
Convertible Notes Payable [Member] | Offering Costs [Member]    
Debt Instrument [Line Items]    
Balance, December 31, 2016 $ (409,000)  
2017 Senior Notes Issued (51,000)  
Amortization of Debt Discount and Offering Costs $ 213,000  
Conversion into Shares of Common Stock 2,000  
Balance, December 31, 2017 (245,000) (409,000)
Less: Current Portion (245,000)  
Long Term Portion  
Convertible Notes Payable [Member] | Net Total [Member]    
Debt Instrument [Line Items]    
Balance, December 31, 2016 $ 630,000  
2017 Senior Notes Issued 1,044,000  
Amortization of Debt Discount and Offering Costs $ 4,327,000  
Conversion into Shares of Common Stock (7,000)  
Balance, December 31, 2017 5,994,000 $ 630,000
Less: Current Portion 5,994,000  
Long Term Portion