XML 48 R37.htm IDEA: XBRL DOCUMENT v3.8.0.1
THE COMPANY AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Basic and diluted earnings per share) (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Organization, Consolidation and Presentation of Financial Statements [Abstract]        
Net income (loss) $ 3,403 $ 12,037 $ (16,832) $ 9,523
Basic and diluted shares:        
Weighted average ordinary shares (in shares) 50,587 48,385 49,999 47,883
Dilutive effect of employee share options and restricted stock units (RSUs) (in shares) 988 1,109 0 1,349
Shares used to compute diluted net income (loss) per share (in shares) 51,575 49,494 49,999 49,232
Net income (loss) per share - basic (in USD per share) $ 0.07 $ 0.25 $ (0.34) $ 0.20
Net income (loss) per share - diluted (in USD per share) $ 0.07 $ 0.24 $ (0.34) $ 0.19
Share options and restricted stock units        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share 1,800 600 5,100 700