DEBT (Details 1) - USD ($)
$ in Thousands
Dec. 31, 2016
Dec. 31, 2015
Debt Instrument [Line Items]    
Total future maturities $ 16,160 $ 18,909
Note payable to Crystal Financial LLC, with interest at LIBOR plus Margin    
Debt Instrument [Line Items]    
2017 1,275  
2018 2,550  
2019 2,550  
2020 10,625  
Total future maturities $ 17,000