XML 30 R16.htm IDEA: XBRL DOCUMENT  v2.3.0.11
Comprehensive Income (Loss)
9 Months Ended
Apr. 30, 2011
Comprehensive Income (Loss) [Abstract]  
Comprehensive Income (Loss)
11. Comprehensive Income (Loss)
Comprehensive income (loss) includes the following:
                                 
    Three months ended April 30,     Nine months ended April 30,  
    2011     2010     2011     2010  
    (in thousands)     (in thousands)  
Net income (loss)
  $ 3,201     $ (5,318 )   $ 2,503     $ (34,420 )
Change in unrealized gains on short term investments, net of taxes
    39       (111 )     60       (101 )
 
                       
Total
  $ 3,240     $ (5,429 )   $ 2,563     $ (34,521 )