Quarterly report pursuant to Section 13 or 15(d)

Stock options and warrants (Stock incentive plan options) (Narrative) (Details)

v3.2.0.727
Stock options and warrants (Stock incentive plan options) (Narrative) (Details) - USD ($)
3 Months Ended 6 Months Ended
Jun. 30, 2014
Jun. 30, 2015
Jun. 30, 2014
Dec. 31, 2013
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Number of shares reserved under the Plan 3,673,126   3,673,126 1,912,205
Incentive stock options exercised to purchase common shares 39,079      
Total proceeds from stock options exercised to purchase common shares $ 82,000      
Options exercised, intrinsic value $ 14,000      
Minimum [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Expiration period   3 years    
Maximum [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Expiration period   5 years    
Stock Incentive Plan [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Incentive stock options exercised to purchase common shares        
Options granted   1,094,500    
Options granted, exercise price   $ 1.89    
Options forfeited   197,936 36,040  
Options expired   33,021 31,475  
Options forfeited, unvested   164,915 4,565  
Options expired, exercise price   $ 12.32 $ 36.66  
Options forfeited, unvested, exercise price   $ 2.06 $ 2.12  
Fair value of options vested   $ 449,000 $ 414,000  
Expected to vest   817,000    
Unrecognized compensation cost   $ 648,000    
Unrecognized compensation cost, period for recognition   1 year    
Stock Incentive Plan [Member] | Independent Directors [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Options granted   344,000    
Options granted, exercise price   $ 1.89    
Expiration period   10 years    
Vesting period   1 year    
Vesting rate   25.00%    
Stock Incentive Plan [Member] | Officers and Employees [Member]        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Options granted   750,500    
Options granted, exercise price   $ 1.89    
Expiration period   10 years    
Vesting period   2 years    
Vesting rate   50.00%