| COMMITMENTS (Details Narrative) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
| Jun. 30, 2017 | Jun. 30, 2016 | Jun. 30, 2017 | Jun. 30, 2016 | |
| Defined Contribution Plan Disclosure [Line Items] | ||||
| Outstanding commitments | $ 9,700 | $ 9,700 | ||
| Qualified Defined Contribution Plan [Member] | ||||
| Defined Contribution Plan Disclosure [Line Items] | ||||
| Employer matching contribution | 100.00% | |||
| Maximum annual contributions per employee | 3.00% | |||
| Maximum annual contributions per employer | 3.00% | |||
| Administrative expenses | $ 16 | $ 68 | $ 32 | $ 201 | 
| X | ||||||||||
| 
- Definition Amount of administrative expense incurred by defined contribution plan. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Percentage employer matches of the employee's percentage contribution matched. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Percentage of employer's matching contributions to a defined contribution plan that vests in a given year. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Maximum percentage of employee gross pay the employee may contribute to a defined contribution plan. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Minimum amount of other commitment not otherwise specified in the taxonomy. Excludes commitments explicitly modeled in the taxonomy, including but not limited to, long-term and short-term purchase commitments, recorded and unrecorded purchase obligations, supply commitments, registration payment arrangements, leases, debt, product warranties, guarantees, environmental remediation obligations, and pensions. No definition available. 
 | 
| X | ||||||||||
| 
- Details 
 |