XML 48 R36.htm IDEA: XBRL DOCUMENT v3.7.0.1
STOCKHOLDERS' EQUITY (Summary of Retained Earnings Not Available for Distribution) (Details) - USD ($)
$ in Thousands
May 31, 2017
Aug. 31, 2016
STOCKHOLDERS' EQUITY [Abstract]    
Retained earning not available for distribution $ 6,341 $ 5,926