XML 34 R23.htm IDEA: XBRL DOCUMENT v3.19.1
SIGNIFICANT ACCOUNTING POLICIES (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Dec. 31, 2017
Significant Accounting Policies [Line Items]    
Contracts liability $ 21,636 $ 25,015
Accumulated deficit   (296,096)
Previously Reported [Member]    
Significant Accounting Policies [Line Items]    
Contracts liability 31,885 26,851
Accumulated deficit   (297,932)
Restatement Adjustment [Member]    
Significant Accounting Policies [Line Items]    
Contracts liability $ (10,249) (1,836)
Accumulated deficit   $ 1,836