XML 68 R56.htm IDEA: XBRL DOCUMENT v3.7.0.1
10. Income taxes (Details - Unrecognized tax benefits) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Income Tax Disclosure [Abstract]    
Unrecognized tax benefits, beginning balance $ 265 $ 215
Additions for tax positions of prior years 63 50
Release for tax positions of prior years (265) 0
Unrecognized tax benefits, ending balance $ 63 $ 265