XML 34 R36.htm IDEA: XBRL DOCUMENT v3.20.1
1. Summary of Significant Accounting Policies (Details - Earnings Per Share) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Accounting Policies [Abstract]      
Numerator for basic and diluted earnings per share $ 5,406 $ 14,862 $ 3,765
Denominator for basic earnings per share - weighted average number of common shares outstanding during the year 22,416 21,989 22,687
Incremental common shares attibutable to exercise of outstanding options and warrants 1,648 2,999 4,527
Denominator for diluted earnings per share 24,064 24,988 27,214
Basic earnings per share $ 0.24 $ 0.68 $ 0.17
Diluted earnings per share $ 0.22 $ 0.59 $ 0.14