INCOME TAXES - Components of Income Before Provision for Income Taxes (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2015
Jun. 30, 2014
Jun. 30, 2013
Components of Income from Continuing Operations before Income Taxes [Abstract]      
Domestic $ 44,743 $ 44,551 $ 17,860
Foreign 101,005 150,060 73,893
Income before provision for income taxes $ 145,748 $ 194,611 $ 91,753