Annual report pursuant to Section 13 and 15(d)

SALE OF COMMON STOCK (Details Narrative)

v3.7.0.1
SALE OF COMMON STOCK (Details Narrative) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Oct. 31, 2016
Oct. 31, 2016
Oct. 26, 2016
Jul. 12, 2016
Jun. 21, 2016
Jun. 15, 2016
Apr. 28, 2016
Jul. 17, 2015
Jul. 14, 2015
Feb. 24, 2015
Feb. 09, 2015
Feb. 04, 2015
Oct. 31, 2016
Dec. 31, 2016
Dec. 31, 2015
Jan. 31, 2015
Offering expenses                           $ 1,866 $ 3,484  
Warrant [Member]                                
Number of shares issued                             200  
Exercise Price (in dollars per share)                             $ 42.50 $ 200.00
Underwriting Agreement [Member] | 45 Days Over-Allotment Option [Member]                                
Number of shares issued                 34,875              
Underwriting Agreement [Member] | July 2015 Financing [Member]                                
Number of shares issued                 232,500              
Share price (in dollars per share)                 $ 75.00              
Underwriting discount per share (in dollars per share)                 $ 75.00              
Underwriting Agreement [Member] | Underwriters (Roth Capital Partners, LLC and National Securities Corporation) [Member] | June 2016 Financing [Member]]                                
Number of shares issued           500,000                    
Share price (in dollars per share)           $ 20.00                    
Percentage of underwriting discount         7.00%                      
Underwriting discount         $ 700                      
Underwriting discount per share (in dollars per share)         $ 1.40                      
Offering expenses         $ 200                      
Net proceeds from issuance of common stock         $ 9,100                 $ 10,500    
Underwriting Agreement [Member] | Underwriters (Roth Capital Partners, LLC and National Securities Corporation) [Member] | 45 Days Over-Allotment Option [Member]                                
Number of shares issued       75,000   75,000                    
Underwriting discount       $ 100                        
Underwriting discount per share (in dollars per share)       $ 1.40                        
Net proceeds from issuance of common stock       $ 1,400                 $ 4,600      
Underwriting Agreement [Member] | Underwriters (Roth Capital Partners, LLC and Oppenheimer & Co Inc) [Member] | 45 Days Over-Allotment Option [Member]                                
Number of shares issued                       73,500        
Share price (in dollars per share)                   $ 3.50            
Underwriting Agreement [Member] | Underwriters (Roth Capital Partners, LLC and Oppenheimer & Co Inc) [Member] | February 2015 Financing [Member]                                
Number of shares issued                       490,000        
Share price (in dollars per share)                       $ 58.50        
Percentage of underwriting discount                     6.00%          
Underwriting discount                     $ 1,700          
Underwriting discount per share (in dollars per share)                     $ 3.50          
Offering expenses                     $ 300          
Net proceeds from issuance of common stock                     $ 26,700          
Underwriting Agreement [Member] | Underwriters (Roth Capital Partners, LLC and Oppenheimer & Co Inc) [Member] | July 2015 Financing [Member]                                
Percentage of underwriting discount               6.00%                
Underwriting discount               $ 100                
Underwriting discount per share (in dollars per share)               $ 4.50                
Offering expenses               $ 200                
Net proceeds from issuance of common stock               $ 16,200                
Sales Agreement [Member] | Cowen and Company LLC [Member] | At-The-Market Offering [Member]                                
Number of shares issued                           500,889    
Net proceeds from issuance of common stock             $ 15,000             $ 5,400    
Percentage of selling commission             3.00%                  
Selling commission                           200    
Net of expenses                           $ 300    
February 2015 Financing [Member] | Underwriters (Roth Capital Partners, LLC and Oppenheimer & Co Inc) [Member] | 45 Days Over-Allotment Option [Member]                                
Number of shares issued                   41,870            
Underwriting discount                   $ 100            
Underwriting discount per share (in dollars per share)                   $ 3.50            
Net proceeds from issuance of common stock                   $ 2,300            
July 2015 Financing [Member] | Underwriters (Roth Capital Partners, LLC and Oppenheimer & Co Inc) [Member] | 45 Days Over-Allotment Option [Member]                                
Number of shares issued               34,875                
Underwriting discount               $ 200                
Underwriting discount per share (in dollars per share)               $ 4.50                
Net proceeds from issuance of common stock               $ 2,500                
October 2016 Financing [Member] | Dawson James Securities, Inc. [Member]                                
Number of shares issued     71,250                          
October 2016 Financing [Member] | Dawson James Securities, Inc. [Member] | Common stock [Member]                                
Share price (in dollars per share)     $ 0.001                          
October 2016 Financing [Member] | Dawson James Securities, Inc. [Member] | Warrant [Member]                                
Number of shares issued 71,250                              
Number of common shares purchased     475,000                          
Exercise Price (in dollars per share) $ 6.90 $ 6.90 $ 6.30                   $ 6.90      
Description of units    

One-half share of common stock.

                         
Description of warrants exercise    

Warrants can only be exercised in lots of two, which means that each holder must exercise two warrants to receive one share of common stock.

                         
Term of warrants   5 years 5 years                          
October 2016 Financing [Member] | Dawson James Securities, Inc. [Member] | Units [Member]                                
Number of shares issued     950,000                          
Share price (in dollars per share)     $ 5.5                          
Percentage of underwriting discount 8.00%                              
Underwriting discount $ 400                              
Underwriting discount per share (in dollars per share) $ 0.40                              
Percentage of shares included in units 0.05                              
Offering expenses $ 600                              
Net proceeds from issuance of common stock $ 4,600                              
October 2016 Financing [Member] | Dawson James Securities, Inc. [Member] | 45 Days Over-Allotment Option [Member]                                
Number of shares issued     142,500                          
October 2016 Financing [Member] | Dawson James Securities, Inc. [Member] | 45 Days Over-Allotment Option [Member] | Warrant [Member]                                
Number of shares issued 47,361                              
Net proceeds from issuance of common stock $ 700