Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity (Details Textual)

v3.10.0.1
Stockholders' Equity (Details Textual) - USD ($)
1 Months Ended 12 Months Ended
Apr. 03, 2017
Feb. 27, 2017
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2015
Oct. 11, 2018
Jun. 23, 2017
Jun. 01, 2017
Dec. 31, 2016
Nov. 30, 2012
Nov. 08, 2012
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Allocated Share-based Compensation Expense     $ 1,000,000 $ 2,000,000              
Preferred Stock, Shares Authorized     1,000,000 1,000,000              
Preferred Stock, Par or Stated Value Per Share     $ 0.001 $ 0.001              
Proceeds from Issuance of Private Placement   $ 2,800,000                  
Common Stock, Par or Stated Value Per Share     0.001 $ 0.001   $ 0.001          
Stock Issued During Period, Value, New Issues       $ 5,849,000              
Class of Warrant or Right, Number of Securities Called by Warrants or Rights               210,000      
Class of Warrant or Right, Exercise Price of Warrants or Rights     $ 55.138         $ 4.70   $ 55.10  
Derivative Liability     $ 156,000 $ 130,000         $ 20,000    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value       $ 2.49              
Maximum [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share based Compensation Arrangement By Share based Payment Award Fair Value Assumptions Fore feiture Rate     5.00% 5.00%              
Minimum [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share based Compensation Arrangement By Share based Payment Award Fair Value Assumptions Fore feiture Rate     0.00% 0.00%              
Plan 2011 [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized     182,857                
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross     54,131                
Plan 2014 [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized     950,000                
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross     434,616                
Share-based Compensation Arrangement by Share-based Payment Award, Number of Additional Shares Authorized       400,000 350,000            
Cost of Sales [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Allocated Share-based Compensation Expense     $ 30,000 $ 45,000              
Selling, General and Administrative Expenses [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Allocated Share-based Compensation Expense     $ 970,000 $ 2,000,000              
Private Placement [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Stock Issued During Period, Shares, New Issues   554,000   38,072              
Share Price   $ 5.00                  
Payments for Other Fees   $ 196,000                  
Payment for Administrative Fees   $ 40,000                  
Under written Public Offering [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Stock Issued During Period, Shares, New Issues 947,325                    
Share Price $ 4.00                   $ 4.00
Payments for Other Fees $ 365,000                    
Payment for Administrative Fees 92,000                    
Stock Issued During Period, Value, New Issues $ 3,800,000                    
Class of Warrant or Right, Number of Securities Called by Warrants or Rights 23,686                    
Class of Warrant or Right, Exercise Price of Warrants or Rights $ 4.40                   $ 21.90
Derivative Liability $ 78,000                    
Common Stock [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Stock Issued During Period, Shares, New Issues       1,639,825              
Common Stock, Capital Shares Reserved for Future Issuance             100,428        
Stock Issued During Period, Value, New Issues       $ 2,000              
Non Executive Employees [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross       258,105              
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value       $ 642,000              
Non Executive Employees [Member] | Maximum [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price       5.70              
Non Executive Employees [Member] | Minimum [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price       $ 2.09              
Non Executive Employees [Member] | Share-based Compensation Award, Tranche One [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Number       45,045              
Non Executive Employees [Member] | Share-based Compensation Award, Tranche Two [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Number       213,060              
Restricted Stock [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross     20,000 182,000              
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Weighted Average Grant Date Fair Value     $ 1.96 $ 3.41              
Restricted Stock [Member] | Share-based Compensation Award, Tranche One [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period       66,936              
Restricted Stock [Member] | Share-based Compensation Award, Tranche Two [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period       5,000              
Restricted Stock [Member] | Share-based Compensation Award, Tranche Three [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period       50,000              
Restricted Stock [Member] | Deferred Compensation, Share-based Payments [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period       60,000              
Restricted Stock Units (RSUs) [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period     39,200 621,000              
Share based Compensation Arrangement By Share based Payment Award Equity Instruments Other Than Options Grants In Period Grant Date Fair Value     $ 20,000 $ 181,936              
November 2012 Warrants [Member]                      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                      
Class of Warrant or Right, Number of Securities Called by Warrants or Rights 36,231