XML 17 R54.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, 2012
Jan. 31, 2011
Jan. 31, 2012
Jan. 31, 2011
Investments, Debt and Equity Securities [Abstract]        
Proceeds from sales $ 5,180 $ 10,670 $ 21,227 $ 14,212
Realized gross gains on sales 115 514 9,478 694
Realized gross losses on sales $ 0 $ 12 $ 16 $ 12