XML 14 R3.htm IDEA: XBRL DOCUMENT v3.7.0.1
CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical) - USD ($)
$ in Thousands
May 31, 2017
Aug. 31, 2016
Condensed Consolidated Balance Sheets [Abstract]    
Trade and other accounts receivable, allowance for doubtful accounts $ 229 $ 394
Common stock, shares authorized 36,000,000 36,000,000
Common stock, par value $ 0.001 $ 0.001
Common stock, shares issued 19,681,883 19,621,820
Common stock, shares outstanding 14,023,428 14,208,338
Treasury stock, shares 5,658,455 5,413,482