XML 25 R3.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONSOLIDATED BALANCE SHEETS (Parenthetical) - USD ($)
$ in Thousands
Aug. 31, 2017
Aug. 31, 2016
Consolidated Balance Sheets [Abstract]    
Trade and other accounts receivable, allowance for doubtful accounts $ 240 $ 394
Common stock, shares authorized 36,000,000 36,000,000
Common stock, par value $ 0.001 $ 0.001
Common stock, shares issued 19,688,238 19,621,820
Common stock, shares outstanding 13,984,183 14,208,338
Treasury stock, shares 5,704,055 5,413,482