XML 14 R3.htm IDEA: XBRL DOCUMENT v3.7.0.1
Condensed Consolidated Balance Sheets (Parenthetical) - USD ($)
shares in Thousands, $ in Thousands
May 31, 2017
Aug. 31, 2016
Condensed Consolidated Balance Sheets [Abstract]    
Allowance for doubtful accounts $ 2,376 $ 1,579
Common stock, par value $ 0.05 $ 0.05
Common stock, shares authorized 40,000 40,000
Common stock, shares issued 27,056 27,056
Treasury stock, shares 13,261 13,332