INCOME TAXES (Narrative) (Details) - USD ($) |
3 Months Ended | ||
|---|---|---|---|
Jan. 31, 2017 |
Jan. 31, 2016 |
Oct. 31, 2016 |
|
| Income Tax Contingency [Line Items] | |||
| Unrecognized tax benefits, interest accrued | $ 57,000 | ||
| Effective Income Tax Rate Reconciliation, Percent, Total | 38.00% | 31.00% | |
| Unrecognized Tax Benefits Expiration Term | expire between July 2017 and July 2019 | ||
| Income Tax Expense (Benefit) | $ 543,000 | $ 1,709,000 | |
| Unrecognized Tax Benefits, Ending Balance | $ 1,200,000 | $ 1,100,000 | |