| I. STOCK OPTIONS AND WARRANTS (Details-Option Activity) - $ / shares | 9 Months Ended | 12 Months Ended | |
|---|---|---|---|
| Sep. 30, 2019 | Sep. 30, 2018 | Dec. 31, 2018 | |
| Number of shares | |||
| Number of shares - granted | 0 | 0 | |
| Number of shares - exercised | 0 | 0 | |
| Number of shares - cancelled or expired | 0 | (1,094,075) | |
| Employee Stock Options [Member] | |||
| Number of shares | |||
| Number of shares - beginning balance | 3,349,793 | 4,376,474 | 4,376,474 | 
| Number of shares - granted | 0 | 67,394 | |
| Number of shares - exercised | 0 | 0 | |
| Number of shares - cancelled or expired | 0 | (1,094,075) | |
| Number of shares - ending balance | 3,349,793 | 3,349,793 | |
| Weighted Average Price Per Share | |||
| Weighted average price per share - beginning balance | $ 0.16 | $ 0.18 | $ 0.18 | 
| Weighted average price per share - granted | 0.14 | ||
| Weighted average price per share - exercised | |||
| Weighted average price per share - cancelled or expired | 0.17 | ||
| Weighted average price per share - ending balance | $ 0.16 | $ 0.16 | |
| X | ||||||||||
| 
- Definition Number of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Gross number of share options (or share units) granted during the period. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Number of options outstanding, including both vested and non-vested options. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Weighted average price at which option holders acquired shares when converting their stock options into shares. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Weighted average price at which grantees could have acquired the underlying shares with respect to stock options of the plan that expired. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Number of share options (or share units) exercised during the current period. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Details 
 |