LOSS PER SHARE - (Details) - shares
shares in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Sep. 30, 2016
Sep. 30, 2015
Denominator:        
Anti-dilutive potential common equivalent shares excluded from calculation of net (loss) income per share 10,501 11,021 11,754 10,948
Stock options        
Denominator:        
Anti-dilutive potential common equivalent shares excluded from calculation of net (loss) income per share 9,203 9,539 10,507 9,110
Restricted stock units        
Denominator:        
Anti-dilutive potential common equivalent shares excluded from calculation of net (loss) income per share 1,298 1,482 1,247 1,838