NOTES PAYABLE (Tables)  | 
12 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dec. 31, 2017  | ||||||||||||||||||||||||||||||||||||||||||||||
| Payables and Accruals [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of notes payable | 
 Notes payable consist of the following: 
 
  | 
|||||||||||||||||||||||||||||||||||||||||||||
| Schedule of annual future principal payments | 
 Annual future principal payments under the outstanding note agreements as of December 31, 2017 are as follows: 
 
  | 
|||||||||||||||||||||||||||||||||||||||||||||
| X | ||||||||||
- References No definition available. 
  | 
| X | ||||||||||
- Definition Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation. No definition available. 
  | 
| X | ||||||||||
- Definition Tabular disclosure of the combined aggregate amount of maturities and sinking fund requirements for all long-term borrowings for each of the five years following the date of the latest balance sheet date presented. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  |