Consolidated Statements of Comprehensive Income (Loss) (Unaudited) (Parenthetical) - USD ($)
$ in Thousands
3 Months Ended
Jan. 31, 2016
Jan. 31, 2015
Statement of Comprehensive Income [Abstract]    
Amortization of prior service cost and actuarial net loss, tax $ 7 $ 10