XML 25 R9.htm IDEA: XBRL DOCUMENT  v2.3.0.11
Net Income (Loss) Per Share
6 Months Ended
Jun. 30, 2011
Net Income (Loss) Per Share [Abstract]  
Net Income (Loss) Per Share
3. Net Income (Loss) Per Share
          The Company calculates earnings per share (“EPS”) as required by Financial Accounting Standards Board (“FASB”) Accounting Standards Codification (“ASC”) Topic No. 260, Earnings Per Share. Basic EPS is calculated by dividing the net income available to common stockholders by the weighted average number of common shares outstanding for the period, excluding common stock equivalents. Diluted EPS is computed by dividing the net income available to common stockholders by the weighted average number of common shares outstanding for the period plus the weighted average number of dilutive common stock equivalents outstanding for the period determined using the treasury-stock method. For periods with a net loss, the dilutive common stock equivalents are excluded from the diluted EPS calculation. For purposes of this calculation, common stock subject to repurchase by the Company and options are considered to be common stock equivalents and are only included in the calculation of diluted earnings per share when their effect is dilutive.
                                 
    Three Months Ended June 30,     Six Months Ended June 30,  
    2011     2010     2011     2010  
    (unaudited, in thousands, except per share amounts)  
Numerator:
                               
Net income (loss) available to common stockholders
  $ (7,847 )   $ 1,885     $ (15,600 )   $ 3,477  
 
                       
 
                               
Denominator:
                               
Weighted average shares outstanding — basic
    35,775       34,264       35,520       33,999  
Potential common shares — options (treasury stock method)
          517             481  
 
                       
Weighted average shares outstanding — diluted
    35,775       34,781       35,520       34,480  
 
                       
 
                               
Shares excluded (anti-dilutive)
    209             348        
 
                       
 
                               
Shares excluded due to an exercise price greater than weighted average stock price for the period
    1,970       2,440       1,848       2,440  
 
                       
 
                               
Net income (loss) per common share:
                               
Basic
  $ (0.22 )   $ 0.06     $ (0.44 )   $ 0.10  
 
                       
Diluted
  $ (0.22 )   $ 0.05     $ (0.44 )   $ 0.10