XML 44 R32.htm IDEA: XBRL DOCUMENT
v3.7.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, 2017 | May 31, 2016 | May 31, 2017 | May 31, 2016
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES [Abstract] |  |  |  |
Currency gain (loss) | $ 1,101 | $ (222) | $ 1,088 | $ (1,018)

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of income (expense) related to nonoperating activities, classified as other. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.9) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_OtherNonoperatingIncomeExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration