| 
           Stockholders' Equity and Stock Based Compensation (Details) 
         | 
        12 Months Ended | 12 Months Ended | 0 Months Ended | 1 Months Ended | 12 Months Ended | 1 Months Ended | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 
           Dec. 31, 2012
 
          1995 Plan 
         | 
        
           May 07, 1998
 
          1995 Plan 
         | 
        
           Dec. 31, 2012
 
          1995 Director Plan 
         | 
        
           May 07, 1998
 
          1995 Director Plan 
         | 
        
           Mar. 01, 2002
 
          1995 Plan and 1995 Director Plan 
         | 
        
           Dec. 31, 2012
 
          2006 Plan 
         | 
        
           Jun. 14, 2006
 
          2006 Plan 
         | 
        
           Aug. 31, 2006
 
          2006 Plan
 
          Restricted stock
 
          Installment 
         | 
        
           Dec. 31, 2012
 
          2006 Plan
 
          Restricted stock
 
          Installment 
         | 
        
           Dec. 31, 2011
 
          2006 Plan
 
          Restricted stock
 
          Customer 
         | 
        
           Dec. 31, 2010
 
          2006 Plan
 
          Restricted stock
 
          Installment 
         | 
        
           Dec. 31, 2009
 
          2006 Plan
 
          Restricted stock
 
          Installment 
         | 
        
           Dec. 31, 2008
 
          2006 Plan
 
          Restricted stock
 
          Installment 
         | 
        
           Dec. 31, 2007
 
          2006 Plan
 
          Restricted stock
 
          Installment 
         | 
        
           Aug. 31, 2006
 
          2006 Plan
 
          Restricted stock
 
          CEO
 
          Installment 
         | 
        
           Dec. 31, 2012
 
          2012 Plan 
         | 
        
           Jun. 06, 2012
 
          2012 Plan 
         | 
      |
| Stock-based compensation | |||||||||||||||||
| Number of shares of common stock initially available for award | 1,137,500 | 187,500 | 800,000 | 600,000 | |||||||||||||
| Expiration period | 10 years | 10 years | |||||||||||||||
| Vesting period | 5 years | ||||||||||||||||
| Percentage of award vesting upon expiration of one year from the date of grant | 20.00% | ||||||||||||||||
| Period from grant date after which awards begin to vest | 1 year | ||||||||||||||||
| Percentage of award vesting per quarter after one year from the grant date | 5.00% | ||||||||||||||||
| Options surrendered (in shares) | 303,550 | ||||||||||||||||
| Number of shares of Common Stock initially available for award | 33,775 | 600,000 | |||||||||||||||
| Granted (in shares) | 315,000 | 92,000 | 15,000 | 150,500 | 140,000 | 57,500 | 30,000 | 200,000 | |||||||||
| Number of equal quarterly installments for vesting of awards | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 40 | |||||||||
| Forfeited (in shares) | 3,525 | 8,375 | 5,875 | 3,500 | 12,500 | ||||||||||||