XML 83 R45.htm IDEA: XBRL DOCUMENT  v2.3.0.11
Stock-based compensation (Details 1)
9 Months Ended
Jul. 31, 2011
Jul. 31, 2010
Fair value assumptions of stock options    
Expected dividend yield   1.39%
Minimum [Member]
   
Fair value assumptions of stock options    
Expected volatility 43.10% 42.90%
Expected dividend yield 1.28% 1.35%
Risk-free interest rate 1.89% 2.27%
Expected life of the option (in years) 5.4 5.4
Maximum [Member]
   
Fair value assumptions of stock options    
Expected volatility 45.10% 44.20%
Expected dividend yield 1.28% 1.40%
Risk-free interest rate 2.25% 3.18%
Expected life of the option (in years) 6.3 6.3