XML 47 R34.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 6 Months Ended
Feb. 28, 2017
Feb. 29, 2016
Feb. 28, 2017
Feb. 29, 2016
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES [Abstract]        
Currency gain (loss) $ 915 $ (552) $ (13) $ (796)