| Available-for-sale investments - Additional Information (Detail) (USD $) | 12 Months Ended | ||
|---|---|---|---|
| Jun. 30, 2011 | Jun. 30, 2010 | Jun. 30, 2009 | |
| Schedule of Available-for-sale Securities [Line Items] | |||
| Gross unrealized gains on available-for-sale investments | $ 1,100,000 | $ 1,200,000 | |
| Gross unrealized losses on available-for-sale investments | 58,000 | 28,000 | |
| Proceeds from maturities or sales of available-for-sale securities | $ 173,500,000 | $ 66,600,000 | $ 75,700,000 | 
| X | ||||||||||
| 
- Definition This item represents the gross unrealized gains for securities, at a point in time, which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition This item represents the gross unrealized losses for securities, at a point in time, which are categorized neither as held-to-maturity nor trading securities. 
 | 
| X | ||||||||||
| 
- Definition The cash inflow associated with the sale or maturity (principal being due) of securities not classified as either held-to-maturity securities or trading securities which are classified as available-for-sale securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. 
 |