Annual report pursuant to Section 13 and 15(d)

Debt (Details Textual)

v2.4.0.8
Debt (Details Textual) (USD $)
12 Months Ended 0 Months Ended 1 Months Ended 12 Months Ended 12 Months Ended
Dec. 31, 2013
institution
Dec. 31, 2012
Dec. 31, 2011
Dec. 31, 2013
Farmadiet [Member]
Dec. 31, 2012
Farmadiet [Member]
Dec. 31, 2013
Minimum [Member]
Farmadiet [Member]
Dec. 31, 2013
Maximum [Member]
Farmadiet [Member]
Aug. 29, 2013
Notes [Member]
Notes Due February 1, 2033 [Member]
conversion_right
Jan. 30, 2013
Notes [Member]
Notes Due February 1, 2033 [Member]
Rate
Dec. 31, 2013
Notes [Member]
Notes Due February 1, 2033 [Member]
Rate
Dec. 31, 2012
Notes [Member]
Notes Due February 1, 2033 [Member]
Dec. 31, 2013
Notes [Member]
Notes Due February 1, 2033 [Member]
Minimum [Member]
Dec. 31, 2013
Notes [Member]
Notes Due February 1, 2033 [Member]
Maximum [Member]
Dec. 31, 2013
Notes [Member]
Notes Due February 1, 2033 [Member]
On or after February 1, 2017 and before February 1, 2019 [Member]
Dec. 31, 2013
Notes [Member]
Notes Due February 1, 2033 [Member]
On or after February 1, 2019 [Member]
Dec. 31, 2013
Line of Credit [Member]
Dec. 31, 2012
Line of Credit [Member]
Debt Instrument [Line Items]                                  
Debt face amount                 $ 175,000,000.0 $ 158,100,000              
Interest rate of notes payable 3.00%               3.00% 3.00% 3.00%            
Equivalent redemption price                   100.00%       100.00% 100.00%    
Convertible debt, conversion ratio               141.4827 141.4827 141.4827              
Convertible debt, principal amount for conversion               1,000                  
Convertible debt, conversion price                 $ 7.07 $ 7.07              
Convertible debt, conversion right triggered               1                  
Convertible debt, converted amount   0 0         16,900,000   20,839,000              
Convertible debt, stock issued from conversion               2,396,145                  
Loss on conversion of 3.00% convertible senior notes (8,688,000) 0 0         8,700,000                  
Convertible debt, threshold percentage of stock price trigger                   130.00%              
Number of trading days applicable conversion price                       20 days          
Number of consecutive trading days applicable conversion price                         30 days        
Gain (loss) on embedded derivative $ 43,100,000                                
Number of financial institutions 16                                
Weighted average interest rate       3.90% 4.50%                     7.70% 6.50%
Variable interest rates           2.70% 6.30%