XML 74 R59.htm IDEA: XBRL DOCUMENT v3.8.0.1
10. INCOME TAXES (Details - Unrecognized tax benefit) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Income Tax Disclosure [Abstract]      
Unrecognized tax benefit, Balance at beginning of year $ 3,861 $ 94 $ 3,761
Increases related to prior year tax positions 1 3,861  
(Decreases) related to prior year tax positions     (3,667)
Expiration of the statute of limitations for the assessment of taxes 0 (94) 0
Decrease related to change in rate (247)    
Unrecognized tax benefit, Balance at end of year $ 3,615 $ 3,861 $ 94