| 11. Warrants (Details - Exercise price) - Warrants [Member] - $ / shares | Sep. 30, 2018 | Sep. 30, 2017 | Sep. 30, 2016 | 
|---|---|---|---|
| Number of warrants outstanding | 118,029 | 118,029 | 118,029 | 
| Warrants exercise price, outstanding | $ 20.80 | $ 20.80 | $ 20.80 | 
| Number of warrants exercisable | 118,029 | ||
| $16.60 [Member] | |||
| Number of warrants outstanding | 54,396 | ||
| Warrants exercise price, outstanding | $ 16.60 | ||
| Number of warrants exercisable | 54,396 | ||
| Warrants exercise price, exercisable | $ 16.60 | ||
| $16.80 [Member] | |||
| Number of warrants outstanding | 17,857 | ||
| Warrants exercise price, outstanding | $ 16.80 | ||
| Number of warrants exercisable | 17,857 | ||
| Warrants exercise price, exercisable | $ 16.80 | ||
| $24.30 [Member] | |||
| Number of warrants outstanding | 12,383 | ||
| Warrants exercise price, outstanding | $ 24.30 | ||
| Number of warrants exercisable | 12,383 | ||
| Warrants exercise price, exercisable | $ 24.30 | ||
| $28.50 [Member] | |||
| Number of warrants outstanding | 33,393 | ||
| Warrants exercise price, outstanding | $ 28.50 | ||
| Number of warrants exercisable | 33,393 | ||
| Warrants exercise price, exercisable | $ 28.50 |