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