XML 68 R57.htm IDEA: XBRL DOCUMENT v3.5.0.2
STOCK BASED COMPENSATION (Summary of Other Information Related to Stock-Based Compensation) (Details) - USD ($)
$ in Thousands
9 Months Ended
May 31, 2016
May 31, 2015
STOCK BASED COMPENSATION [Abstract]    
Remaining unrecognized compensation cost (in thousands) $ 33,383 $ 19,005
Weighted average period of time over which this cost will be recognized (years) 4 years 5 years
Excess tax benefit (deficiency) on stock-based compensation (in thousands) $ 579 $ 1,220