XML 19 R57.htm IDEA: XBRL DOCUMENT v2.4.0.6
INVESTMENT SECURITIES (Details 2) (USD $)
In Thousands, unless otherwise specified
3 Months Ended 6 Months Ended
Jan. 31, 2013
Jan. 31, 2012
Jan. 31, 2013
Jan. 31, 2012
Investments, Debt and Equity Securities [Abstract]        
Proceeds from sales $ 6,689 $ 5,180 $ 12,286 $ 21,227
Realized gross gains on sales 160 115 352 9,478
Realized gross losses on sales $ 3 $ 0 $ 5 $ 16