XML 42 R31.htm IDEA: XBRL DOCUMENT v3.10.0.1
EARNINGS (LOSS) PER SHARE (Details) - USD ($)
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Mar. 07, 2017
Convertible Debt [Abstract]          
Issuance of common stock upon exercise of Equity Awards (in shares)   0 14,544,000 0  
Numerator for basic and diluted income (loss) per share [Abstract]          
Net income (loss) attributable to common stockholders $ 3,883,015 $ (4,609,468) $ 389,488 $ (9,615,628)  
Numerator for diluted income (loss) per share [Abstract]          
Net income (loss) attributable to common stockholders - as reported 3,883,015 (4,609,468) 389,488 (9,615,628)  
Interest expense on 2017 Notes, net of taxes 25,000 0 0 0  
Net income (loss) attributable to common stockholders - after assumed conversions of dilutive shares $ 3,908,015 $ (4,609,468) $ 389,488 $ (9,615,628)  
Denominator for weighted average common shares outstanding [Abstract]          
Basic shares (in shares) 21,657,181 14,715,947 19,683,610 14,472,322  
Dilutive effect of Equity Awards (in shares) 2,080,654 0 946,532 0  
Dilutive effect of 2017 Notes (in shares) 446,429 0 0 0  
Diluted shares (in shares) 24,184,264 14,715,947 20,630,142 14,472,322  
Income (loss) per share - Basic [Abstract]          
Net income (loss) (in dollars per share) $ 0.18 $ (0.31) $ 0.02 $ (0.66)  
Income (loss) per share - Diluted [Abstract]          
Net income (loss) (in dollars per share) $ 0.16 $ (0.31) $ 0.02 $ (0.66)  
8% Convertible Unsecured Promissory Notes [Member]          
Convertible Debt [Abstract]          
Stated interest rate         8.00%