XML 34 R23.htm IDEA: XBRL DOCUMENT v3.10.0.1
2. SIGNIFICANT ACCOUNTING POLICIES (Details - Gain on Derivative) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Amount of gain (loss) recognized on derivative $ 595 $ 2 $ 4,889 $ (1,720)
Derivative Instrument [Member]        
Derivative instrument, beginning balance 3,924   (370)  
Amount of gain (loss) recognized on derivative 595   4,889  
Derivative instrument, ending balance $ 4,519   $ 4,519