EMPLOYEE BENEFIT PLANS (Details) (USD $) | 12 Months Ended |
Jun. 30, 2014 | Jun. 30, 2013 | Jun. 30, 2012 |
Stock option activity [Roll Forward] | ' | ' | ' |
Balance (in shares) | 8,898,000 | ' | ' |
Options granted (in shares) | 1,711,000 | ' | ' |
Options exercised (in shares) | -2,904,000 | ' | ' |
Options cancelled/forfeited (in shares) | -1,381,000 | ' | ' |
Balance (in shares) | 6,324,000 | ' | ' |
Options exercisable (in shares) | 3,681,000 | ' | ' |
Vested and expected to vest (in shares) | 5,495,000 | ' | ' |
Weighted-Average Exercise Price [Roll Forward] | ' | ' | ' |
Balance (in dollars per share) | $5.45 | ' | ' |
Options granted (in dollars per share) | $5.05 | ' | ' |
Options exercised (in dollars per share) | $4.84 | ' | ' |
Options cancelled/forfeited (in dollars per share) | $6.59 | ' | ' |
Balance (in dollars per share) | $5.37 | ' | ' |
Options exercisable (in dollars per share) | $5.60 | ' | ' |
Vested and expected to vest (in dollars per share) | $5.42 | ' | ' |
Weighted Average Remaining Contractual Term [Abstract] | ' | ' | ' |
Balance | '6 years 1 month 10 days | ' | ' |
Options exercisable | '4 years 3 months 18 days | ' | ' |
Vested and expected to vest | '5 years 8 months 16 days | ' | ' |
Weighted Average Intrinsic Value [Abstract] | ' | ' | ' |
Balance | $8,979,000 | ' | ' |
Options exercisable | 4,825,000 | ' | ' |
Vested and expected to vest | 7,677,000 | ' | ' |
Fair value assumptions - stock options [Abstract] | ' | ' | ' |
Expected life from grant date of option | ' | ' | '6 years 0 months 29 days |
Outstanding and exercisable options, by exercise price range [Line Items] | ' | ' | ' |
Options Outstanding ( in shares) | 6,324,000 | ' | ' |
Weighted Average Remaining Contractual Life | '6 years 1 month 10 days | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $5.37 | ' | ' |
Options Exercisable (in shares) | 3,681,000 | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $5.60 | ' | ' |
Range $ 0.30 - 4.14 [Member] | ' | ' | ' |
Outstanding and exercisable options, by exercise price range [Line Items] | ' | ' | ' |
Range of Exercise Prices, Lower Range Limit (in dollars per share) | $0.30 | ' | ' |
Range of Exercise Prices, Upper Range Limit (in dollars per share) | $4.14 | ' | ' |
Options Outstanding ( in shares) | 882,000 | ' | ' |
Weighted Average Remaining Contractual Life | '6 years 5 months 1 day | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $3.47 | ' | ' |
Options Exercisable (in shares) | 358,000 | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $2.64 | ' | ' |
Range $ 4.17 - 4.25 [Member] | ' | ' | ' |
Outstanding and exercisable options, by exercise price range [Line Items] | ' | ' | ' |
Range of Exercise Prices, Lower Range Limit (in dollars per share) | $4.17 | ' | ' |
Range of Exercise Prices, Upper Range Limit (in dollars per share) | $4.25 | ' | ' |
Options Outstanding ( in shares) | 262,000 | ' | ' |
Weighted Average Remaining Contractual Life | '7 years 9 months 14 days | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $4.25 | ' | ' |
Options Exercisable (in shares) | 117,000 | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $4.25 | ' | ' |
Range $ 4.31 [Member] | ' | ' | ' |
Outstanding and exercisable options, by exercise price range [Line Items] | ' | ' | ' |
Range of Exercise Prices, Upper Range Limit (in dollars per share) | $4.31 | ' | ' |
Options Outstanding ( in shares) | 724,000 | ' | ' |
Weighted Average Remaining Contractual Life | '8 years 8 months 19 days | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $4.31 | ' | ' |
Options Exercisable (in shares) | 125,000 | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $4.31 | ' | ' |
Range $4.35 - 4.55 [Member] | ' | ' | ' |
Outstanding and exercisable options, by exercise price range [Line Items] | ' | ' | ' |
Range of Exercise Prices, Lower Range Limit (in dollars per share) | $4.35 | ' | ' |
Range of Exercise Prices, Upper Range Limit (in dollars per share) | $4.55 | ' | ' |
Options Outstanding ( in shares) | 645,000 | ' | ' |
Weighted Average Remaining Contractual Life | '7 years 7 months 10 days | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $4.48 | ' | ' |
Options Exercisable (in shares) | 313,000 | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $4.53 | ' | ' |
Range $4.56 - 4.80 [Member] | ' | ' | ' |
Outstanding and exercisable options, by exercise price range [Line Items] | ' | ' | ' |
Range of Exercise Prices, Lower Range Limit (in dollars per share) | $4.56 | ' | ' |
Range of Exercise Prices, Upper Range Limit (in dollars per share) | $4.80 | ' | ' |
Options Outstanding ( in shares) | 148,000 | ' | ' |
Weighted Average Remaining Contractual Life | '7 years 11 months 26 days | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $4.77 | ' | ' |
Options Exercisable (in shares) | 66,000 | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $4.77 | ' | ' |
Range $ 4.82 [Member] | ' | ' | ' |
Outstanding and exercisable options, by exercise price range [Line Items] | ' | ' | ' |
Range of Exercise Prices, Upper Range Limit (in dollars per share) | $4.82 | ' | ' |
Options Outstanding ( in shares) | 1,064,000 | ' | ' |
Weighted Average Remaining Contractual Life | '1 year 7 months 6 days | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $4.82 | ' | ' |
Options Exercisable (in shares) | 1,064,000 | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $4.82 | ' | ' |
Range $4.93 - 5.15 [Member] | ' | ' | ' |
Outstanding and exercisable options, by exercise price range [Line Items] | ' | ' | ' |
Range of Exercise Prices, Lower Range Limit (in dollars per share) | $4.93 | ' | ' |
Range of Exercise Prices, Upper Range Limit (in dollars per share) | $5.15 | ' | ' |
Options Outstanding ( in shares) | 868,000 | ' | ' |
Weighted Average Remaining Contractual Life | '7 years 2 months 5 days | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $5.11 | ' | ' |
Options Exercisable (in shares) | 335,000 | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $5.04 | ' | ' |
Range $5.25 - 6.64 [Member] | ' | ' | ' |
Outstanding and exercisable options, by exercise price range [Line Items] | ' | ' | ' |
Range of Exercise Prices, Lower Range Limit (in dollars per share) | $5.25 | ' | ' |
Range of Exercise Prices, Upper Range Limit (in dollars per share) | $6.64 | ' | ' |
Options Outstanding ( in shares) | 664,000 | ' | ' |
Weighted Average Remaining Contractual Life | '5 years 3 months 7 days | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $6.01 | ' | ' |
Options Exercisable (in shares) | 604,000 | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $5.99 | ' | ' |
Range $6.73 - 8.79 [Member] | ' | ' | ' |
Outstanding and exercisable options, by exercise price range [Line Items] | ' | ' | ' |
Range of Exercise Prices, Lower Range Limit (in dollars per share) | $6.73 | ' | ' |
Range of Exercise Prices, Upper Range Limit (in dollars per share) | $8.79 | ' | ' |
Options Outstanding ( in shares) | 768,000 | ' | ' |
Weighted Average Remaining Contractual Life | '7 years 6 months 18 days | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $8.14 | ' | ' |
Options Exercisable (in shares) | 432,000 | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $8.23 | ' | ' |
Range $9.00 - 13.73 [Member] | ' | ' | ' |
Outstanding and exercisable options, by exercise price range [Line Items] | ' | ' | ' |
Range of Exercise Prices, Lower Range Limit (in dollars per share) | $9 | ' | ' |
Range of Exercise Prices, Upper Range Limit (in dollars per share) | $13.73 | ' | ' |
Options Outstanding ( in shares) | 299,000 | ' | ' |
Weighted Average Remaining Contractual Life | '4 years 4 months 13 days | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $10.85 | ' | ' |
Options Exercisable (in shares) | 267,000 | ' | ' |
Weighted Average Exercise Price (in dollars per share) | $10.94 | ' | ' |
2007 Equity Incentive Plan [Member] | ' | ' | ' |
Share-based Compensation Awards [Line Items] | ' | ' | ' |
Plan description and terms | 'The Company grants nonqualified (bNSOb) and incentive stock options (bISOsb), restricted stock awards, and restricted stock units to officers, directors, employees and consultants under the 2007 Equity Incentive Plan (b2007 Planb), which is the successor to the 1997 Plan. The 2007 Plan, provides for the granting of ISOs and NSOs for over a period not to exceed ten years and at exercise prices that are not less than 100% and 85%, respectively, of the estimated fair market value of the Companybs common stock on the date of grant as determined by the Board of Directors. Stock options issued under the 2007 Plan generally vest ratably over four years from the date of grant, and restricted stock units issued under the 2007 Plan generally vest 25% at one year or 50% at two years from the date of grant and 1/48th monthly thereafter. | ' | ' |
Annual increase of shares available for issuance as a percentage of outstanding shares (in hundredths) | 5.00% | ' | ' |
Increase in number of shares authorized and available for issuance (in shares) | 3,100,000 | 2,900,000 | ' |
Common stock available for issuance (in shares) | 9,900,000 | ' | ' |
Stock Options [Member] | ' | ' | ' |
Share-based Compensation Awards [Line Items] | ' | ' | ' |
Vesting rights | 'Stock options issued under the 2007 Plan generally vest ratably over four years from the date of grant | ' | ' |
Weighted Average Intrinsic Value [Abstract] | ' | ' | ' |
Weighted average grant date fair value of options granted (in dollars per share) | $2.86 | $2.46 | $3.72 |
Intrinsic value for options exercised | 7,300,000 | 300,000 | 500,000 |
Fair value assumptions - stock options [Abstract] | ' | ' | ' |
Expected dividend yield (in hundredths) | 0.00% | 0.00% | 0.00% |
Unrecognized compensation cost related to stock options granted to employees and non-employee directors | 3,400,000 | ' | ' |
Period to recognize unrecognized compensation cost (in years) | '2 years 7 months 6 days | ' | ' |
Stock Options [Member] | Minimum [Member] | ' | ' | ' |
Fair value assumptions - stock options [Abstract] | ' | ' | ' |
Expected life from grant date of option | '4 years 11 months 23 days | '5 years 3 months 25 days | ' |
Risk-free interest rate, minimum (in hundredths) | 1.44% | 0.67% | 0.79% |
Expected volatility, minimum (in hundredths) | 51.00% | 68.00% | 65.00% |
Stock Options [Member] | Maximum [Member] | ' | ' | ' |
Fair value assumptions - stock options [Abstract] | ' | ' | ' |
Expected life from grant date of option | '5 years 5 months 8 days | '5 years 5 months 23 days | ' |
Risk-free interest rate, maximum (in hundredths) | 1.66% | 0.91% | 1.15% |
Expected volatility, maximum (in hundredths) | 66.00% | 69.00% | 66.00% |
Employee Stock Purchase Plan [Member] | ' | ' | ' |
Share-based Compensation Awards [Line Items] | ' | ' | ' |
Plan description and terms | 'On September 18, 2007, the Board of Directors approved the commencement of offering periods under a previously-approved employee stock purchase plan (the bESPPb) which was further amended in November 2010. The ESPP allows eligible employees to purchase shares of the Company's common stock at a discount through payroll deductions. The ESPP consists of six-month offering periods commencing on May 1st and November 1st each year | ' | ' |
Increase in number of shares authorized and available for issuance (in shares) | 611,987 | 587,188 | ' |
Fair value assumptions - stock options [Abstract] | ' | ' | ' |
Expected life from grant date of option | '0 years 6 months | '0 years 6 months | '0 years 6 months |
Expected dividend yield (in hundredths) | 0.00% | 0.00% | 0.00% |
Period to recognize unrecognized compensation cost (in years) | '0 years 6 months | ' | ' |
Employee Stock Purchase Plan [Abstract] | ' | ' | ' |
Shares issued (in shares) | 370,665 | 446,231 | ' |
Weighted average purchase price | $4.82 | $3.42 | ' |
Weighted-Average Grant Date Fair Value [Roll Forward] | ' | ' | ' |
Unrecognized compensation cost | 600,000 | ' | ' |
Employee Stock Purchase Plan [Member] | Minimum [Member] | ' | ' | ' |
Fair value assumptions - stock options [Abstract] | ' | ' | ' |
Risk-free interest rate, minimum (in hundredths) | 0.06% | 0.09% | 0.07% |
Expected volatility, minimum (in hundredths) | 43.00% | 42.00% | 52.00% |
Employee Stock Purchase Plan [Member] | Maximum [Member] | ' | ' | ' |
Fair value assumptions - stock options [Abstract] | ' | ' | ' |
Risk-free interest rate, maximum (in hundredths) | 0.10% | 0.15% | 0.15% |
Expected volatility, maximum (in hundredths) | 48.00% | 57.00% | 74.00% |
Restricted Stock Awards and Restricted Stock Units [Member] | ' | ' | ' |
Share-based Compensation Awards [Line Items] | ' | ' | ' |
Vesting rights | 'restricted stock units issued under the 2007 Plan generally vest 25% at one year or 50% at two years from the date of grant and 1/48th monthly thereafter | ' | ' |
Fair value assumptions - stock options [Abstract] | ' | ' | ' |
Period to recognize unrecognized compensation cost (in years) | '2 years 3 months 18 days | ' | ' |
Restricted stock award and restricted stock unit activity [Roll Forward] | ' | ' | ' |
Outstanding - July 1, 2013 (in shares) | 1,310,000 | ' | ' |
Awarded (in shares) | 880,000 | ' | ' |
Released (in shares) | -536,000 | ' | ' |
Forfeited (in shares) | -260,000 | ' | ' |
Outstanding - June 30, 2014 (in shares) | 1,394,000 | 1,310,000 | ' |
Weighted-Average Grant Date Fair Value [Roll Forward] | ' | ' | ' |
Outstanding - July 1, 2013 (in dollars per share) | $5.24 | ' | ' |
Awarded (in dollars per share) | $5.68 | ' | ' |
Released (in dollars per share) | $5.55 | ' | ' |
Forfeited (in dollars per share) | $5.31 | ' | ' |
Outstanding - June 30, 2014 (in dollars per share) | $5.38 | $5.24 | ' |
Total fair value of restricted stock awards and units granted | 4,500,000 | 3,000,000 | 6,300,000 |
Unrecognized compensation cost | 2,300,000 | ' | ' |
Non-employee director annual retainer [Member] | ' | ' | ' |
Restricted stock award and restricted stock unit activity [Roll Forward] | ' | ' | ' |
Awarded (in shares) | 61,854 | ' | ' |
Weighted-Average Grant Date Fair Value [Roll Forward] | ' | ' | ' |
Total fair value of restricted stock awards and units granted | $500,000 | ' | ' |