Quarterly report pursuant to Section 13 or 15(d)

STOCK BASED COMPENSATION (Details) - Stock options outstanding and exercisable under 2003 share plan

v3.5.0.2
STOCK BASED COMPENSATION (Details) - Stock options outstanding and exercisable under 2003 share plan - 2003 Share Plan [Member]
9 Months Ended
Jul. 31, 2016
$ / shares
shares
Range Of Exercise Prices $1.79 To $7.75 [Member]  
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]  
Options Outstanding and Exercisable, Number | shares 43,200
Options Outstanding and Exercisable, Weighted Average Remaining Contractual Life 1 year 343 days
Options Outstanding and Exercisable, Weighted Average Exercise Price (in Dollars per share) | $ / shares $ 2.89
Range Of Exercise Prices $13.50 To $17.50 [Member]  
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]  
Options Outstanding and Exercisable, Number | shares 59,600
Options Outstanding and Exercisable, Weighted Average Remaining Contractual Life 211 days
Options Outstanding and Exercisable, Weighted Average Exercise Price (in Dollars per share) | $ / shares $ 16.75
Range Of Exercise Prices $18.75 To $23.00 [Member]  
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]  
Options Outstanding and Exercisable, Number | shares 94,000
Options Outstanding and Exercisable, Weighted Average Remaining Contractual Life 1 year 29 days
Options Outstanding and Exercisable, Weighted Average Exercise Price (in Dollars per share) | $ / shares $ 22.04
Range Of Exercise Prices $29.25 [Member]  
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]  
Options Outstanding and Exercisable, Number | shares 40,000
Options Outstanding and Exercisable, Weighted Average Remaining Contractual Life 1 year 21 days
Options Outstanding and Exercisable, Weighted Average Exercise Price (in Dollars per share) | $ / shares $ 29.25