ORGANIZATION AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)  | 
6 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2018  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of components of inventory | 
 As of June 30, 2018 and December 31, 2017, the components of inventories were as follows: 
 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of reconciliation of the product warranty liability | 
 The following is a tabular reconciliation of the product warranty liability, excluding the deferred revenue related to the Company’s warranty coverage: 
 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of anti-dilutive | 
 The following potentially dilutive shares were excluded from the shares used to calculate diluted earnings per share as their inclusion would be anti-dilutive: 
 
  | 
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||