XML 48 R37.htm IDEA: XBRL DOCUMENT v3.10.0.1
Stock option plan (Narrative) (Details) - USD ($)
3 Months Ended 9 Months Ended
Nov. 10, 2016
Sep. 04, 2014
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2018
Jul. 31, 2017
Oct. 31, 2017
Equity Incentive Plan [Member]              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Increase in number of shares authorized     300,000        
Shares available for issuance     485,020   485,020    
Employee Stock Option [Member]              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Plan term 10 years 10 years     10 years    
Vesting term 5 years 5 years     5 years    
Options granted during period 38,000 246,000     38,000    
Options granted during period $ 21.00 $ 18.45     $ 15.50    
Compensation expense related to stock options     $ 34,000 $ 31,000 $ 95,000 $ 92,000  
Unrecognized compensation cost     263,000   263,000   $ 267,780
Unrecognized compensation cost, recognition period           2 years 4 months 24 days  
Aggregate intrinsic value of options expected to vest     55,000   55,000    
Aggregate intrinsic value of options exercisable     $ 0   $ 0