| H. STOCK OPTIONS AND WARRANTS (Details-Option Activity) - Employee Stock Options [Member] - $ / shares | 6 Months Ended | 12 Months Ended | 
|---|---|---|
| Jun. 30, 2017 | Dec. 31, 2016 | |
| Number of shares | ||
| Number of shares - beginning balance | 2,832,725 | 1,825,225 | 
| Number of shares - granted | 3,000,000 | 1,300,000 | 
| Number of shares - exercised | 0 | 0 | 
| Number of shares - cancelled or expired | (150,000) | (292,500) | 
| Number of shares - ending balance | 5,682,725 | 2,832,725 | 
| Weighted Average Price Per Share | ||
| Weighted average price per share - beginning balance | $ 0.18 | $ 0.28 | 
| Weighted average price per share - granted | .14 | .17 | 
| Weighted average price per share - exercised | ||
| Weighted average price per share - cancelled or expired | 0.19 | 0.69 | 
| Weighted average price per share - ending balance | $ 0.16 | $ 0.18 | 
| 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://www.xbrl.org/2003/role/presentationRef 
 | 
| 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://www.xbrl.org/2003/role/presentationRef 
 | 
| 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://www.xbrl.org/2003/role/presentationRef 
 | 
| 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://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Details 
 |