XML 82 R67.htm IDEA: XBRL DOCUMENT v3.6.0.2
11. INCOME TAXES (Details - Unrecognized tax benefit) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Income Tax Disclosure [Abstract]      
Unrecognized tax benefit, beginning balance $ 94 $ 3,761 $ 3,970
Increases resulting from prior period tax positions 3,861   0
Decreases resulting from prior period tax positions   (3,667) (209)
Expiration of the statute of limitations for the assessment of taxes (94)    
Unrecognized tax benefit, ending balance $ 3,861 $ 94 $ 3,761