SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Detail Textuals) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Dec. 31, 2016
Dec. 31, 2015
Accounting Policies [Abstract]            
Operating loss $ (2,462) $ (2,197) $ (6,147) $ (12,031) $ 22,800  
Cash used in operations     (785) (803) 500  
Accumulated deficit (58,800)   (58,800)   (48,271)  
Cash and cash equivalents 6,575 $ 2,872 6,575 $ 2,872 9,285 $ 9,285
Long-term debt 15,745   15,745   16,160  
Cash held in escrow $ 200   $ 200   $ 200