SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Detail Textuals) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | 12 Months Ended | |||
|---|---|---|---|---|---|---|
Jun. 30, 2017 |
Jun. 30, 2016 |
Jun. 30, 2017 |
Jun. 30, 2016 |
Dec. 31, 2016 |
Dec. 31, 2015 |
|
| Accounting Policies [Abstract] | ||||||
| Operating loss | $ (1,322) | $ (8,086) | $ (3,683) | $ (9,834) | $ 22,800 | |
| Cash used in operations | (2,852) | (1,385) | 500 | |||
| Accumulated deficit | (55,372) | (55,372) | (48,271) | |||
| Cash and cash equivalents | 5,354 | 9,889 | 5,354 | 9,889 | 9,285 | $ 16,237 |
| Long-term debt | 15,065 | 15,065 | $ 16,160 | |||
| Cash held in escrow | $ 200 | $ 200 | $ 200 | $ 200 | ||