DESCRIPTION OF OUR COMPANY AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2016
Jan. 31, 2015
Jan. 31, 2016
Jan. 31, 2015
Earnings Per Share, Diluted, by Common Class, Including Two Class Method [Line Items]        
Net income available for common shareholders $ 197 $ 108 $ 352 $ 263
Weighted avg. outstanding shares of common stock (in shares) 1,928 2,630 1,912 2,619
Dilutive effect of restricted shares (in shares) 0 2 0 3
Common stock and equivalents (in shares) 1,928 2,632 1,912 2,622
Earnings per share:        
Basic (in dollars per share) $ 0.1 $ 0.04 $ 0.18 $ 0.1
Diluted (in dollars per share) $ 0.1 $ 0.04 $ 0.18 $ 0.1