XML 33 R22.htm IDEA: XBRL DOCUMENT v3.19.1
SIGNIFICANT ACCOUNTING POLICIES (Details 4) - USD ($)
$ in Thousands
Mar. 31, 2018
Dec. 31, 2017
Significant Accounting Policies [Line Items]    
Contracts liability $ 22,382 $ 25,015
Accumulated deficit   (296,096)
Previously Reported [Member]    
Significant Accounting Policies [Line Items]    
Contracts liability 29,030 26,851
Accumulated deficit   (297,932)
Restatement Adjustment [Member]    
Significant Accounting Policies [Line Items]    
Contracts liability $ (6,648) (1,836)
Accumulated deficit   $ 1,836