Annual report pursuant to Section 13 and 15(d)

SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)

v3.6.0.2
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)
12 Months Ended
Dec. 31, 2016
USD ($)
SAR / $
Dec. 31, 2015
USD ($)
Dec. 31, 2014
USD ($)
Trade Receivables and Allowance for Doubtful Accounts [Abstract]      
Increase in allowance for doubtful accounts $ 90,000 $ 0 $ 0
Accounts receivable written off $ 93,000 $ 0 0
Accounts, Notes, Loans and Financing Receivable [Line Items]      
Imputed interest rates on outstanding notes 4.00% 4.00%  
Retirement plan [Abstract]      
Percentage contribution by employer in relation to employee contribution to fund 100.00%    
Employer matching contribution 6.00%    
Vesting period under 401(k) plan 2 years    
Matching contribution by employer $ 1,195,000 $ 1,116,000 641,000
Other Liabilities [Abstract]      
Reduction in depreciation expense due to amortization of capitalize liability $ 1,047,000 972,000 $ 1,649,000
Foreign Currency [Abstract]      
Exchange rate | SAR / $ 3.75    
Income Taxes [Abstract]      
Accrued interest related to uncertain tax positions $ 0 0  
Accounting Standards Update 2015-03 and 2015-15 [Member]      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Net loan fees $ 700,000 $ 1,000,000