XML 77 R59.htm IDEA: XBRL DOCUMENT v2.4.0.6
INVESTMENT SECURITIES (Details 2) (USD $)
In Thousands, unless otherwise specified
3 Months Ended 9 Months Ended
Apr. 30, 2013
Apr. 30, 2012
Apr. 30, 2013
Apr. 30, 2012
Investments, Debt and Equity Securities [Abstract]        
Proceeds from sales $ 883 $ 5,473 $ 13,169 $ 26,700
Realized gross gains on sales 18 176 370 9,654
Realized gross losses on sales $ 0 $ 12 $ 5 $ 28