XML 99 R66.htm IDEA: XBRL DOCUMENT v3.6.0.2
INCOME TAXES (Details - Valuation Allowance) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Valuation Allowance [Line Items]      
Release of valuation allowance $ 416 $ 34,409 $ 0
Operating Loss Carryforwards, Valuation Allowance 2,100 2,300  
Valuation Allowance [Abstract]      
Balance, beginning of the period 2,341 40,121 49,674
Change in valuation allowance (240) (37,780) (3,707)
Balance, end of the period 2,101 2,341 40,121
Out of period adjustment [Member]      
Valuation Allowance [Abstract]      
Change in valuation allowance $ 0 $ 0 $ (5,846)