XML 47 R36.htm IDEA: XBRL DOCUMENT v3.7.0.1
Stock option plan (Narrative) (Details) - Employee Stock Option [Member] - USD ($)
3 Months Ended 9 Months Ended
Nov. 10, 2016
Sep. 04, 2014
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2017
Jul. 31, 2016
Oct. 31, 2016
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Plan term 10 years 10 years          
Vesting term 4 years 3 months 19 days 2 years 1 month 6 days     5 years    
Maturity date         Nov. 09, 2026    
Options granted during period 38,000 246,000     38,000    
Options granted during period $ 21.00 $ 18.45     $ 21.00    
Compensation expense related to stock options     $ 31,000 $ 24,000 $ 92,000 $ 71,000  
Unrecognized compensation cost     310,000   310,000   $ 229,880
Aggregate intrinsic value of options expected to vest     284,000   284,000    
Aggregate intrinsic value of options exercisable     $ 106,000   $ 106,000