Quarterly report pursuant to Section 13 or 15(d)

STOCKHOLDERS' EQUITY (Details Textual)

v3.7.0.1
STOCKHOLDERS' EQUITY (Details Textual) - USD ($)
1 Months Ended 6 Months Ended
Mar. 04, 2016
Feb. 08, 2016
Nov. 29, 2016
Nov. 23, 2016
Apr. 20, 2016
Apr. 15, 2016
Jun. 30, 2017
Dec. 31, 2016
Apr. 13, 2016
Class of Warrant or Right [Line Items]                  
Class of Warrant or Right, Number of Securities Called by Warrants or Rights             8,741,536    
Common Stock, Shares Authorized   40,000,000         80,000,000 80,000,000  
Stockholders' Equity, Reverse Stock Split 1-for-10 reverse split At a special meeting held on February 8, 2016, the Company’s stockholders approved an amendment to the Company’s certificate of incorporation to effect a reverse split of the Company’s common stock at a ratio between 1:5 to 1:10 in order to ensure that adequate authorized but unissued shares would be available for anticipated future financings, and to satisfy requirements for the continued listing of the Company’s common stock on the NASDAQ Capital Market. In addition, the proposal approved by the stockholders provided that if the reverse split was effected, the number of shares of common stock that the Company is authorized to issue remained unchanged at 40,000,000. The Company’s stockholders further authorized the board of directors to determine the ratio at which the reverse split would be effected by filing an appropriate amendment to the Company’s certificate of incorporation. The board of directors authorized the ratio of the reverse split and corresponding reduction in authorized shares on February 24, 2016, and effective at the close of business on March 4, 2016, the Company’s certificate of incorporation was amended to effect a 1-for-10 reverse split of the Company’s common stock (the “2016 Reverse Split”). All share and per share numbers included in these consolidated financial statements give effect to the 2016 Reverse Split.              
Series A Preferred Stock [Member]                  
Class of Warrant or Right [Line Items]                  
Conversion of Stock, Shares Issued             1,133,339    
Preferred Stock Shares Outstanding             0 17  
Series B Pre-Funded Warrant [Member]                  
Class of Warrant or Right [Line Items]                  
Class of Warrant or Right, Exercise Price of Warrants or Rights           $ 0.01      
Warrants Issued To Purchase Common Stock, Shares         1,908,021 1,908,021      
Public Offering Price Per Share Of Shares And Warrants           $ 2.12      
Series A Pre-Funded Warrant [Member]                  
Class of Warrant or Right [Line Items]                  
Class of Warrant or Right, Outstanding           3.04      
Public Offering Price Per Share Of Shares And Warrants           $ 2.13      
Series Z Convertible Preferred Stock [Member]                  
Class of Warrant or Right [Line Items]                  
Warrants Issued To Purchase Common Stock, Shares           492,957      
Series C Pre Funded Warrant [Member]                  
Class of Warrant or Right [Line Items]                  
Net Proceeds From Offering             $ 2,940,759    
Warrants Issued To Purchase Common Stock, Shares             1,960,506    
Underwritten Offering 2016 [Member]                  
Class of Warrant or Right [Line Items]                  
Stock Issued During Period, Shares, New Issues         1,871,321        
Class of Warrant or Right, Exercise Price of Warrants or Rights                 $ 2.13
Stock Issued During Period, Value, New Issues         $ 8,000,000        
Proceeds from Issuance Initial Public Offering         $ 7,200,000        
Ladenburg Thalmann [Member]                  
Class of Warrant or Right [Line Items]                  
Stock Issued During Period, Shares, New Issues           1,378,364      
Class of Warrant or Right, Exercise Price of Warrants or Rights       $ 1.50          
Warrants Issued To Purchase Common Stock, Shares       5,333,356          
Public Offering Price Per Share Of Shares And Warrants       $ 100,000          
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right       66,667          
Ladenburg Thalmann [Member] | Series A Preferred Stock [Member]                  
Class of Warrant or Right [Line Items]                  
Stock Issued During Period, Shares, New Issues       68          
Convertible Preferred Stock, Shares Issued upon Conversion       4,533,356          
Number Of Securities Each Preferred Stock Converted       66,667          
Ladenburg Thalmann [Member] | Underwritten Offering 2016 [Member]                  
Class of Warrant or Right [Line Items]                  
Stock Issued During Period, Value, New Issues     $ 9,200,000            
Proceeds from Issuance Initial Public Offering     $ 8,300,000            
Over-Allotment Option [Member] | Series A Pre-Funded Warrant [Member]                  
Class of Warrant or Right [Line Items]                  
Conversion of Stock, Shares Issued           492,957      
Over-Allotment Option [Member] | Ladenburg Thalmann [Member]                  
Class of Warrant or Right [Line Items]                  
Warrants Issued To Purchase Common Stock, Shares       800,000          
August 2014 Underwritten Offering [Member]                  
Class of Warrant or Right [Line Items]                  
Class of Warrant or Right, Number of Securities Called by Warrants or Rights             9,704    
Common Stock [Member] | Ladenburg Thalmann [Member]                  
Class of Warrant or Right [Line Items]                  
Stock Issued During Period, Shares, New Issues       800,000          
Common Stock [Member] | Over-Allotment Option [Member] | Ladenburg Thalmann [Member]                  
Class of Warrant or Right [Line Items]                  
Stock Issued During Period, Shares, New Issues       800,000          
Series A Warrants [Member]                  
Class of Warrant or Right [Line Items]                  
Warrants Issued To Purchase Common Stock, Shares           3,286,385      
Warrants Issued To Purchase Common Stock, Shares         3,779,342        
Series A Warrants [Member] | Ladenburg Thalmann [Member]                  
Class of Warrant or Right [Line Items]                  
Public Offering Price Per Share Of Shares And Warrants       $ 1.50