Quarterly report pursuant to Section 13 or 15(d)

STOCK BASED COMPENSATION (Details)

v3.5.0.2
STOCK BASED COMPENSATION (Details) - USD ($)
3 Months Ended 9 Months Ended
Jul. 31, 2016
Jul. 31, 2015
Jul. 31, 2016
Jul. 31, 2015
STOCK BASED COMPENSATION (Details) [Line Items]        
Share-based Compensation $ 240,000 $ 445,000    
Proceeds from Stock Options Exercised     $ 23,381 $ 34,335
Employee Stock Option [Member] | Consultant [Member]        
STOCK BASED COMPENSATION (Details) [Line Items]        
Share-based Compensation $ 0 $ 335,000 $ 0 $ 668,000
Stock Issued During Period, Shares, Issued for Services (in Shares)     9,795 11,600
Consultation Fees Related To Options     $ 28,000 $ 46,000
Employee Stock Option [Member] | Stock Options Granted To Employees And Directors [Member]        
STOCK BASED COMPENSATION (Details) [Line Items]        
Share-based Compensation     $ 570,000 $ 1,671,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)     9,080  
Stock Issued During Period, Shares, Issued for Services (in Shares)     9,795  
2010 Share Plan [Member]        
STOCK BASED COMPENSATION (Details) [Line Items]        
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares)     545,000  
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share)     $ 2.92  
2010 Share Plan [Member] | Employee Stock Option [Member]        
STOCK BASED COMPENSATION (Details) [Line Items]        
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant (in Shares) 443,955   443,955  
2010 Share Plan [Member] | Common Stock [Member] | Employee Stock Option [Member]        
STOCK BASED COMPENSATION (Details) [Line Items]        
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross (in Shares)     545,000 60,400
Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price (in Dollars per share)     $ 2.92 $ 2.91
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period (in Shares)     9,080 13,334
Proceeds from Stock Options Exercised     $ 23,000 $ 34,000
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, Grants in Period, Gross (in Shares)     1,780,000  
Minimum [Member] | Employee Stock Option [Member]        
STOCK BASED COMPENSATION (Details) [Line Items]        
Share-based Compensation Arrangement by Share-based Payment Award, Award Requisite Service 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 Requisite Service Period     10 years