XML 87 R71.htm IDEA: XBRL DOCUMENT v3.8.0.1
INCOME TAXES (Details - Unrecognized Tax Benefits) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Unrecognized Tax Benefits [Roll Forward]      
Unrecognized tax benefits beginning balance $ 1,843 $ 7,664 $ 5,749
Increase for current year tax positions 12,620 368 0
Increase for prior year tax positions     1,954
Decrease for prior period tax positions (34) (6,115)  
Expiration of the statute of limitation for assessment of taxes (66) (74) (39)
Unrecognized tax benefits ending balance 14,363 1,843 7,664
Unrecognized tax benefits that would favorably affect the annual effective tax rate if recognized in future periods 14,000 1,000  
Interest and penalties on income taxes recognized 72   83
Interest and penalties on income taxes reversed   416  
Interest and penalties accrued on income taxes $ 205 $ 133 $ 549