XML 108 R92.htm IDEA: XBRL DOCUMENT v3.8.0.1
INCOME TAXES (Details 5) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]    
Amount of unrecognized tax benefits as of the beginning of the year $ 758 $ 2,005
Decreases as a result of tax positions taken in a prior period (78) (1,527)
Increases as a result of tax positions taken in a prior period 53 60
Increases as a result of tax positions taken in the current period 8,159 220
Amount of unrecognized tax benefits as of the end of the year 8,892 758
Unrecognized tax benefits that would affect the effective tax rate 11,500 600
Unrecognized tax benefits, income tax penalties and interest accrued $ 2,600 $ 100