Quarterly report pursuant to Section 13 or 15(d)

STOCK BASED COMPENSATION (Details)

v3.2.0.727
STOCK BASED COMPENSATION (Details) - USD ($)
3 Months Ended 9 Months Ended
Feb. 05, 2015
Jul. 31, 2015
Jul. 31, 2014
Jul. 31, 2015
Jul. 31, 2014
Oct. 31, 2014
STOCK BASED COMPENSATION (Details) [Line Items]            
Allocated Share-based Compensation Expense   $ 780,591 $ 469,481 $ 2,338,299 $ 2,346,587  
Proceeds from Stock Options Exercised       $ 34,335 51,225  
Employee Stock Option [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period       10 years    
Stock Options Granted To Employees And Directors [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Allocated Share-based Compensation Expense   445,000 573,000 $ 1,671,000 1,562,000  
Amortization of Compensation Costs   408,000 496,000 1,587,000 1,089,000  
Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Stock Options   644,000   $ 644,000    
Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Period for Recognition       1 year    
Stock Options Granted To Consultant [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Amortization of Compensation Costs     (107,000)   736,000  
Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Stock Options   221,000   $ 221,000    
Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Period for Recognition       6 months    
Consultation Fees Related to Options   335,000 (103,000) $ 668,000 784,000  
Common Stock [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period (in Shares)       13,334    
Stock Issued During Period, Shares, Issued for Services (in Shares)       11,600    
Common Stock [Member] | Consultant [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Consultation Fees Related to Options   $ 40,000 $ 6,000 $ 46,000 $ 41,000  
Stock Issued During Period, Shares, Issued for Services (in Shares)   10,000 800 11,600 5,200  
2010 Share Plan [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period (in Shares)       13,334    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number (in Shares)   532,271   532,271   728,560
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price (in Dollars per share)   $ 3.32   $ 3.32   $ 5.75
2010 Share Plan [Member] | Employee Stock Option [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Share-based Compensation Arrangement by Share-based Payment Award, Shares Purchased for Award (in Shares)       60,400 520,400  
Share-based Compensation Arrangement by Share-based Payment Award, Per Share Weighted Average Price of Shares Purchased (in Dollars per share)   $ 2.91 $ 5.50 $ 2.91 $ 5.50  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period (in Shares)       13,334 13,800  
Proceeds from Stock Options Exercised       $ 34,000 $ 51,000  
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant (in Shares)   982,955   982,955    
Stock Options Not Granted Under 2003 Share Plan Or 2010 Share Plan [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number (in Shares)   1,780,000   1,780,000   1,780,000
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price (in Dollars per share)   $ 2.69   $ 2.69   $ 5.50
Stock Options Not Granted Under 2003 Share Plan Or 2010 Share Plan [Member] | Employee Stock Option [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Share-based Compensation Arrangement by Share-based Payment Award, Shares Purchased for Award (in Shares)       1,780,000    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number (in Shares) 2,184,126          
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price (in Dollars per share) $ 2.575          
Share-based Compensation $ 297,000          
Options Granted with 1 Year Vesting Period [Member] | Employee Stock Option [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period         10 years  
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period         1 year  
Options Granted with 36 Months Of Vesting Period [Member] | Employee Stock Option [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period         10 years  
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period         36 months  
Options Granted with 5 Years Term [Member] | Employee Stock Option [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period         5 years  
Options Granted with 10 Years Term [Member] | Employee Stock Option [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period         10 years  
Minimum [Member] | Employee Stock Option [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period       1 year    
Maximum [Member] | Employee Stock Option [Member]            
STOCK BASED COMPENSATION (Details) [Line Items]            
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period       3 years