Annual report pursuant to Section 13 and 15(d)

Stock options and warrants (Schedule of Award Activity) (Details)

v3.7.0.1
Stock options and warrants (Schedule of Award Activity) (Details) - USD ($)
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Stock Incentive Plan [Member]    
Shares Underlying Options    
Outstanding, beginning 332,560  
Granted 259,666 136,813
Exercised  
Forfeited (25,479) (36,099)
Outstanding, ending 566,747 332,560
Exercisable 469,009  
Weighted Average Exercise Price    
Outstanding, beginning $ 35.36  
Granted 2.90 $ 15.12
Exercised  
Forfeited 36.88  
Outstanding, ending 20.46 $ 35.36
Exercisable $ 23.99  
Weighted Average Remaining Contractual Term    
Outstanding 7 years 4 months 24 days  
Exercisable 7 years  
Aggregate Intrinsic Value    
Outstanding $ 243,000  
Exercisable $ 158,000  
Nonqualified [Member]    
Shares Underlying Options    
Outstanding, beginning 432,003  
Granted 95,000  
Exercised  
Forfeited  
Outstanding, ending 527,003 432,003
Exercisable 432,003  
Weighted Average Exercise Price    
Outstanding, beginning $ 15.47  
Granted 3.78  
Exercised  
Forfeited  
Outstanding, ending 13.36 $ 15.47
Exercisable $ 15.47  
Weighted Average Remaining Contractual Term    
Outstanding 2 years 9 months 18 days  
Exercisable 1 year 2 months 12 days  
Aggregate Intrinsic Value    
Outstanding $ 6,000  
Exercisable