XML 64 R49.htm IDEA: XBRL DOCUMENT v3.19.1
9. Income taxes (Details - Unrecognized tax benefits) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Income Tax Disclosure [Abstract]    
Unrecognized tax benefits, beginning balance $ 181 $ 63
Additions for tax positions of prior years 0 118
Release for tax positions of prior years (118) 0
Unrecognized tax benefits, ending balance $ 63 $ 181