XML 42 R31.htm IDEA: XBRL DOCUMENT v3.8.0.1
5. Stockholders Equity (Details - Share based compensation) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Mar. 31, 2018
Mar. 31, 2017
Total share-based compensation $ 295 $ 224 $ 877 $ 645
Cost of revenue [Member]        
Total share-based compensation 14 12 40 36
Selling, general and administrative [Member]        
Total share-based compensation 237 169 688 480
Research and development [Member]        
Total share-based compensation $ 44 $ 43 $ 149 $ 129