Quarterly report pursuant to Section 13 or 15(d)

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

v3.4.0.3
STOCK BASED COMPENSATION (Details) - Stock options outstanding and exercisable under 2003 share plan - $ / shares
6 Months Ended
Apr. 30, 2016
Apr. 30, 2015
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]    
Options Outstanding and Exercisable, Number 217,000 683,000
Range Of Exercise Prices $1.79 To $7.75 [Member] | 2003 Share Plan [Member]    
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]    
Options Outstanding and Exercisable, Number 50,000  
Options Outstanding and Exercisable, Weighted Average Remaining Contractual Life 1 year 332 days  
Options Outstanding and Exercisable, Weighted Average Exercise Price (in Dollars per share) $ 2.95  
Range Of Exercise Prices $13.50 To $17.50 [Member] | 2003 Share Plan [Member]    
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]    
Options Outstanding and Exercisable, Number 59,600  
Options Outstanding and Exercisable, Weighted Average Remaining Contractual Life 302 days  
Options Outstanding and Exercisable, Weighted Average Exercise Price (in Dollars per share) $ 16.75  
Range Of Exercise Prices $18.75 To $23.00 [Member] | 2003 Share Plan [Member]    
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]    
Options Outstanding and Exercisable, Number 137,600  
Options Outstanding and Exercisable, Weighted Average Remaining Contractual Life 343 days  
Options Outstanding and Exercisable, Weighted Average Exercise Price (in Dollars per share) $ 21.60  
Range Of Exercise Prices $29.25 [Member] | 2003 Share Plan [Member]    
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items]    
Options Outstanding and Exercisable, Number 40,000  
Options Outstanding and Exercisable, Weighted Average Remaining Contractual Life 1 year 113 days  
Options Outstanding and Exercisable, Weighted Average Exercise Price (in Dollars per share) $ 29.25