Annual report pursuant to Section 13 and 15(d)

16. FAIR VALUE MEASUREMENTS (Details - Other derivatives)

v3.6.0.2
16. FAIR VALUE MEASUREMENTS (Details - Other derivatives) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Assets:    
Assets $ 13,401 $ 14,648
Liabilities:    
Liabilities (4,766) (2,121)
Derivative Financial Instrument [Member]    
Assets:    
Assets 978 2,081
Liabilities:    
Liabilities (4,115) (1,848)
Warrant    
Assets:    
Assets   0
Liabilities:    
Liabilities (651) (273)
Defined Benefit Plan Assets Large U.S. Equity [Member]    
Assets:    
Assets $ 3,134 $ 3,662
Liabilities:    
Benefit plan allocation percentage 25.00% 29.00%
Defined Benefit Plan Assets Small/Mid U.S. Equity [Member]    
Assets:    
Assets $ 1,802 $ 1,099
Liabilities:    
Benefit plan allocation percentage 15.00% 9.00%
Defined Benefit Plan Assets International Equity [Member]    
Assets:    
Assets $ 2,006 $ 1,525
Liabilities:    
Benefit plan allocation percentage 16.00% 12.00%
Defined Benefit Plan Assets Fixed Income [Member]    
Assets:    
Assets $ 5,481 $ 6,281
Liabilities:    
Benefit plan allocation percentage 44.00% 50.00%
Level 1 [Member]    
Assets:    
Assets $ 978 $ 2,081
Liabilities:    
Liabilities (4,115) (1,848)
Level 1 [Member] | Derivative Financial Instrument [Member]    
Assets:    
Assets 978 2,081
Liabilities:    
Liabilities (4,115) 0
Level 1 [Member] | Warrant    
Liabilities:    
Liabilities 0 0
Level 1 [Member] | Defined Benefit Plan Assets Large U.S. Equity [Member]    
Assets:    
Assets 0 0
Level 1 [Member] | Defined Benefit Plan Assets Small/Mid U.S. Equity [Member]    
Assets:    
Assets 0 0
Level 1 [Member] | Defined Benefit Plan Assets International Equity [Member]    
Assets:    
Assets 0 0
Level 1 [Member] | Defined Benefit Plan Assets Fixed Income [Member]    
Assets:    
Assets 0 0
Level 2 [Member]    
Assets:    
Assets 12,423 12,567
Liabilities:    
Liabilities 0 0
Level 2 [Member] | Derivative Financial Instrument [Member]    
Assets:    
Assets 0 0
Liabilities:    
Liabilities 0 0
Level 2 [Member] | Warrant    
Liabilities:    
Liabilities 0 0
Level 2 [Member] | Defined Benefit Plan Assets Large U.S. Equity [Member]    
Assets:    
Assets 3,134 3,662
Level 2 [Member] | Defined Benefit Plan Assets Small/Mid U.S. Equity [Member]    
Assets:    
Assets 1,802 1,099
Level 2 [Member] | Defined Benefit Plan Assets International Equity [Member]    
Assets:    
Assets 2,006 1,525
Level 2 [Member] | Defined Benefit Plan Assets Fixed Income [Member]    
Assets:    
Assets 5,481 6,281
Level 3 [Member]    
Assets:    
Assets 0 0
Liabilities:    
Liabilities (651) (273)
Level 3 [Member] | Derivative Financial Instrument [Member]    
Assets:    
Assets 0 0
Liabilities:    
Liabilities 0 0
Level 3 [Member] | Warrant    
Liabilities:    
Liabilities (651) (273)
Level 3 [Member] | Defined Benefit Plan Assets Large U.S. Equity [Member]    
Assets:    
Assets 0 0
Level 3 [Member] | Defined Benefit Plan Assets Small/Mid U.S. Equity [Member]    
Assets:    
Assets 0 0
Level 3 [Member] | Defined Benefit Plan Assets International Equity [Member]    
Assets:    
Assets 0 0
Level 3 [Member] | Defined Benefit Plan Assets Fixed Income [Member]    
Assets:    
Assets $ 0 $ 0