XML 55 R44.htm IDEA: XBRL DOCUMENT v3.8.0.1
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Summary of Foreign Currency Gains and Losses) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2018
May 31, 2017
May 31, 2018
May 31, 2017
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES [Abstract]        
Currency gain (loss) $ (575) $ 1,101 $ (87) $ 1,088