| Summary of changes in shareholders' equity | 
        
 |  
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
   | 
Three Months Ended March 31, 2013  | 
 
   | 
(In thousands)  | 
 
   | 
 Number of 
Shares 
 | 
   | 
 Common 
Stock 
 | 
   | 
 Additional 
Paid-In 
Capital 
 | 
   | 
 Retained 
Earnings 
 | 
   | 
 Treasury 
Stock 
 | 
   | 
Total  | 
 
Balance at December 31, 2012  | 
35,613  | 
 
  | 
   | 
$  | 
356  | 
 
  | 
   | 
$  | 
390,249  | 
 
  | 
   | 
$  | 
303,605  | 
 
  | 
   | 
$  | 
—  | 
 
  | 
   | 
$  | 
694,210  | 
 
  | 
 
Net earnings  | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
12,041  | 
 
  | 
   | 
—  | 
 
  | 
   | 
12,041  | 
 
  | 
 
Exercise of stock options  | 
122  | 
 
  | 
   | 
1  | 
 
  | 
   | 
3,077  | 
 
  | 
   | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
3,078  | 
 
  | 
 
Tax valuation adjustment related to stock compensation expense  | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
464  | 
 
  | 
   | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
464  | 
 
  | 
 
Equity award compensation expense  | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
1,844  | 
 
  | 
   | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
1,844  | 
 
  | 
 
Issuance of restricted stock  | 
275  | 
 
  | 
   | 
3  | 
 
  | 
   | 
(3  | 
)  | 
   | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
—  | 
 
  | 
 
Balance at March 31, 2013  | 
36,010  | 
 
  | 
   | 
$  | 
360  | 
 
  | 
   | 
$  | 
395,631  | 
 
  | 
   | 
$  | 
315,646  | 
 
  | 
   | 
$  | 
—  | 
 
  | 
   | 
$  | 
711,637  | 
 
  | 
 
  
 
 |  
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 
   | 
Three Months Ended March 31, 2012  | 
 
   | 
(In thousands)  | 
 
   | 
 Number of 
Shares 
 | 
   | 
 Common 
Stock 
 | 
   | 
 Additional 
Paid-In 
Capital 
 | 
   | 
 Retained 
Earnings 
 | 
   | 
 Treasury 
Stock 
 | 
   | 
Total  | 
 
Balance at December 31, 2011  | 
40,377  | 
 
  | 
   | 
$  | 
404  | 
 
  | 
   | 
$  | 
478,839  | 
 
  | 
   | 
$  | 
198,442  | 
 
  | 
   | 
$  | 
(188,773  | 
)  | 
   | 
$  | 
488,912  | 
 
  | 
 
Net loss  | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
(4,754  | 
)  | 
   | 
—  | 
 
  | 
   | 
(4,754  | 
)  | 
 
Exercise of stock options  | 
69  | 
 
  | 
   | 
1  | 
 
  | 
   | 
1,054  | 
 
  | 
   | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
1,055  | 
 
  | 
 
Equity award compensation expense  | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
1,653  | 
 
  | 
   | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
1,653  | 
 
  | 
 
Issuance of restricted stock  | 
194  | 
 
  | 
   | 
1  | 
 
  | 
   | 
(1  | 
)  | 
   | 
—  | 
 
  | 
   | 
—  | 
 
  | 
   | 
—  | 
 
  | 
 
Balance at March 31, 2012  | 
40,640  | 
 
  | 
   | 
$  | 
406  | 
 
  | 
   | 
$  | 
481,545  | 
 
  | 
   | 
$  | 
193,688  | 
 
  | 
   | 
$  | 
(188,773  | 
)  | 
   | 
$  | 
486,866  | 
 
  | 
 
  
 
 
 |