2.4.0.8106 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWStruefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$eol_PE7265----1310-Q0007_STD_181_20130630_0http://www.sec.gov/CIK0001048477duration2013-01-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$eol_PE7265----1310-Q0007_STD_182_20120630_0http://www.sec.gov/CIK0001048477duration2012-01-01T00:00:002012-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true4us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false5us-gaap_NetIncomeLossus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-61343000-61343USD$falsetruefalse2truefalsefalse-55978000-55978USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe portion of profit or loss for the period, net of income taxes, which is attributable to the parent.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 20
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Other Comprehensive Income
-URI http://asc.fasb.org/extlink&oid=6519514
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Net Income
-URI http://asc.fasb.org/extlink&oid=6518256
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.19)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.18)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 8: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-04.22)
-URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913
Reference 9: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 220
-SubTopic 10
-Section 45
-Paragraph 6
-URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e565-108580
Reference 10: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 19
-Article 5
false23true5us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse04false6us-gaap_DepreciationAndAmortizationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2450500024505falsefalsefalse2truefalsefalse2177100021771falsefalsefalsexbrli:monetaryItemTypemonetaryThe current period expense charged against earnings on long-lived, physical assets not used in production, and which are not intended for resale, to allocate or recognize the cost of such assets over their useful lives; or to record the reduction in book value of an intangible asset over the benefit period of such asset; or to reflect consumption during the period of an asset that is not used in production.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 360
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false25false6us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestmentsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse28290002829falsefalsefalse2truefalsefalse17380001738falsefalsefalsexbrli:monetaryItemTypemonetaryThe sum of the periodic adjustments of the differences between securities' face values and purchase prices that are charged against earnings. This is called accretion if the security was purchased at a discount and amortization if it was purchased at premium. As a noncash item, this element is an adjustment to net income when calculating cash provided by or used in operations using the indirect method.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false26false6us-gaap_IncomeLossFromEquityMethodInvestmentsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse564000564falsefalsefalse2truefalsefalse632000632falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the entity's proportionate share for the period of the net income (loss) of its investee (such as unconsolidated subsidiaries and joint ventures) to which the equity method of accounting is applied. This item includes income or expense related to stock-based compensation based on the investor's grant of stock to employees of an equity method investee.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 9
-Article 5
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 323
-SubTopic 10
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=16385135&loc=d3e33749-111570
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 225
-SubTopic 10
-Section S99
-Paragraph 2
-Subparagraph (SX 210.5-03.12)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 11
-Article 7
false27false6us-gaap_ShareBasedCompensationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse2584800025848falsefalsefalse2truefalsefalse2342400023424falsefalsefalsexbrli:monetaryItemTypemonetaryThe aggregate amount of noncash, equity-based employee remuneration. This may include the value of stock or unit options, amortization of restricted stock or units, and adjustment for officers' compensation. As noncash, this element is an add back when calculating net cash generated by operating activities using the indirect method.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false28false6us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwillus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse939000939falsefalsefalse2truefalsefalse67070006707falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of impairment loss resulting from write-down of assets, excluding financial assets and goodwill, lacking physical substance and having a projected indefinite period of benefit to fair value.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 350
-SubTopic 30
-Section 50
-Paragraph 3
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=26713463&loc=d3e16373-109275
false29false6us-gaap_DeferredIncomeTaxExpenseBenefitus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-9722000-9722falsefalsefalse2truefalsefalse143000143falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 740
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SAB TOPIC 6.I.7)
-URI http://asc.fasb.org/extlink&oid=34349781&loc=d3e330036-122817
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 235
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.4-08.(h))
-URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 08
-Paragraph h
-Article 4
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 6
-Section I
-Subsection 7
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Deferred Tax Expense (or Benefit)
-URI http://asc.fasb.org/extlink&oid=6510177
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 740
-SubTopic 10
-Section 50
-Paragraph 9
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32639-109319
false210false6us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivitiesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-453000-453falsefalsefalse2truefalsefalse-84000-84falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash outflow for realized tax benefit related to deductible compensation cost reported on the entity's tax return for equity instruments in excess of the compensation cost for those instruments recognized for financial reporting purposes.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 20
-Section 55
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=32706628&loc=d3e11374-113907
false211false6us-gaap_ForeignCurrencyTransactionGainLossUnrealizedus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-1397000-1397falsefalsefalse2truefalsefalse-2340000-2340falsefalsefalsexbrli:monetaryItemTypemonetaryAmount before tax of foreign currency transaction unrealized gain (loss) recognized in the income statement.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 830
-SubTopic 20
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6450189&loc=d3e30690-110894
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 830
-SubTopic 20
-Section 50
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6450222&loc=d3e30840-110895
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 830
-SubTopic 20
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6450189&loc=d3e30700-110894
false212false6us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1us-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse984000984falsefalsefalse2truefalsefalse-3942000-3942falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of (increase) decrease in the value of a contingent consideration liability, including, but not limited to, differences arising upon settlement.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 805
-SubTopic 30
-Section 50
-Paragraph 4
-Subparagraph (a)(1)
-URI http://asc.fasb.org/extlink&oid=7488404&loc=d3e7008-128479
false213false6us-gaap_InducedConversionOfConvertibleDebtExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse1042000010420falsefalsefalse2truefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryConsideration given by issuer of convertible debt to provide an incentive for debt holders to convert the debt to equity securities. The expense is equal to the fair value of all securities and other consideration transferred in the transaction in excess of the fair value of securities issuable pursuant to the original conversion terms.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=7656879&loc=d3e7290-112610
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 40
-Paragraph 16
-URI http://asc.fasb.org/extlink&oid=6928171&loc=d3e6835-112609
false214true6us-gaap_IncreaseDecreaseInOperatingCapitalAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse015false7us-gaap_IncreaseDecreaseInAccountsReceivableus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-5997000-5997falsefalsefalse2truefalsefalse40890004089falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false216false7us-gaap_IncreaseDecreaseInInventoriesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-13601000-13601falsefalsefalse2truefalsefalse99930009993falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false217false7us-gaap_IncreaseDecreaseInOtherCurrentAssetsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-6359000-6359falsefalsefalse2truefalsefalse-14176000-14176falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in other current operating assets not separately disclosed in the statement of cash flows.No definition available.false218false7us-gaap_IncreaseDecreaseInOtherNoncurrentAssetsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-385000-385falsefalsefalse2truefalsefalse-6235000-6235falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in other noncurrent operating assets not separately disclosed in the statement of cash flows.No definition available.false219false7us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-7695000-7695falsefalsefalse2truefalsefalse14320001432falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in the amounts payable to vendors for goods and services received and the amount of obligations and expenses incurred but not paid.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false220false7us-gaap_IncreaseDecreaseInOtherOperatingLiabilitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse20170002017falsefalsefalse2truefalsefalse42350004235falsefalsefalsexbrli:monetaryItemTypemonetaryThe increase (decrease) during the reporting period in other liabilities used in operating activities not separately disclosed in the statement of cash flows. May include changes in other current liabilities, other noncurrent liabilities, or a combination of other current and noncurrent liabilities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
false221false5us-gaap_NetCashProvidedByUsedInOperatingActivitiesus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-38846000-38846falsefalsefalse2truefalsefalse-8591000-8591falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 28
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 25
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3536-108585
true222true4us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse023false5us-gaap_PaymentsToAcquirePropertyPlantAndEquipmentus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-22238000-22238falsefalsefalse2truefalsefalse-15663000-15663falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 13
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585
false224false5us-gaap_ProceedsFromSaleMaturityAndCollectionsOfInvestmentsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse155099000155099falsefalsefalse2truefalsefalse107047000107047falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow associated with the sale, maturity and collection of all investments such as debt, security and so forth during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 12
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3179-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
false225false5us-gaap_PaymentsToAcquireInvestmentsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-118181000-118181falsefalsefalse2truefalsefalse-212471000-212471falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow associated with the purchase of all investments (debt, security, other) during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 13
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585
false226false5us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquiredus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-9875000-9875falsefalsefalse2truefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Investing Activities
-URI http://asc.fasb.org/extlink&oid=6516133
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 13
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585
false227false5us-gaap_PaymentsToAcquireInterestInJointVentureus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-485000-485falsefalsefalse2truefalsefalse-1258000-1258falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow associated with the investment in or advances to an entity in which the reporting entity shares control of the entity with another party or group.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 13
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3213-108585
false228false5us-gaap_NetCashProvidedByUsedInInvestingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse43200004320falsefalsefalse2truefalsefalse-122345000-122345falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 26
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585
true229true4us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse030false5us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptionsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3979500039795falsefalsefalse2truefalsefalse2728600027286falsefalsefalsexbrli:monetaryItemTypemonetaryThe total cash inflow associated with the amount received from holders to acquire the entity's shares under incentive and share awards, including stock option exercises. This item inherently excludes any excess tax benefit, which the entity may have realized and reported separately.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 14
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585
false231false5us-gaap_ProceedsFromIssuanceOfCommonStockus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00falsefalsefalse2truefalsefalse235444000235444falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash inflow from the additional capital contribution to the entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 14
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585
false232false5us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse453000453falsefalsefalse2truefalsefalse8400084falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow from realized tax benefit related to deductible compensation cost reported on the entity's tax return for equity instruments in excess of the compensation cost for those instruments recognized for financial reporting purposes.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 20
-Section 55
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=32706628&loc=d3e11374-113907
false233false5us-gaap_RepaymentsOfConvertibleDebtus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-10420000-10420falsefalsefalse2truefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow from the repayment of a long-term debt instrument which can be exchanged for a specified amount of another security, typically the entity's common stock, at the option of the issuer or the holder.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 15
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3291-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
false234false5us-gaap_MaturitiesOfSubordinatedDebtus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-98000-98falsefalsefalse2truefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow for a long-term borrowing where lender is placed in a lien position behind debt having a higher priority of repayment (senior) in case of liquidation of the entity's assets as it matures.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 15
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3291-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Financing Activities
-URI http://asc.fasb.org/extlink&oid=6513228
false235false5us-gaap_RepaymentsOfLongTermCapitalLeaseObligationsus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-286000-286falsefalsefalse2truefalsefalse-393000-393falsefalsefalsexbrli:monetaryItemTypemonetaryThe cash outflow for the obligation for a lease meeting the criteria for capitalization (with maturities exceeding one year or beyond the operating cycle of the entity, if longer).Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 15
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3291-108585
false236false5us-gaap_NetCashProvidedByUsedInFinancingActivitiesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse2944400029444falsefalsefalse2truefalsefalse262421000262421falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 26
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3574-108585
true237false4us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-5082000-5082falsefalsefalse2truefalsefalse131485000131485falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of increase (decrease) in cash and cash equivalents. Cash and cash equivalents are the amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Includes effect from exchange rate changes.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 24
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3521-108585
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 830
-SubTopic 230
-Section 45
-Paragraph 1
-URI http://asc.fasb.org/extlink&oid=6450594&loc=d3e33268-110906
true238true4us-gaap_CashAndCashEquivalentsAtCarryingValueAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse039false5us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse180527000180527[1]falsefalsefalse2truefalsefalse4627200046272falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.1)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3044-108585
false240false5us-gaap_CashAndCashEquivalentsAtCarryingValueus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse175445000175445falsefalsefalse2truefalsefalse177757000177757falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash
-URI http://asc.fasb.org/extlink&oid=6506951
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Cash Equivalents
-URI http://asc.fasb.org/extlink&oid=6507016
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 1
-Article 5
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.5-02.1)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 10
-Section 45
-Paragraph 1
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=28358313&loc=d3e6676-107765
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3044-108585
false241true4us-gaap_SupplementalCashFlowInformationAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse042false5us-gaap_InterestPaidNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse30330003033falsefalsefalse2truefalsefalse33670003367falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of cash paid for interest during the period net of cash paid for interest that is capitalized.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4297-108586
false243false5us-gaap_IncomeTaxesPaidus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1138800011388falsefalsefalse2truefalsefalse49140004914falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4297-108586
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 45
-Paragraph 25
-Subparagraph (f)
-URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3536-108585
false244false5bmrn_StockbasedCompensationCapitalizedbmrn_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse23900002390falsefalsefalse2truefalsefalse18610001861falsefalsefalsexbrli:monetaryItemTypemonetaryStock-based Compensation CapitalizedNo definition available.false245false5bmrn_DepreciationExpenseCapitalizedIntoInventorybmrn_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse53910005391falsefalsefalse2truefalsefalse22750002275falsefalsefalsexbrli:monetaryItemTypemonetaryDepreciation expense capitalized into inventory during the reporting period.No definition available.false246true4us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse047false5bmrn_SupplementalAccountsPayableAndAccruedLiabilitiesbmrn_falsecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-7125000-7125falsefalsefalse2truefalsefalse-1170000-1170falsefalsefalsexbrli:monetaryItemTypemonetarySupplemental Accounts Payable and Accrued LiabilitiesNo definition available.false248false5us-gaap_DebtConversionConvertedInstrumentAmount1us-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse238304000238304falsefalsefalse2truefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe value of the financial instrument(s) that the original debt is being converted into in a noncash (or part noncash) transaction. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 3
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586
false249false5us-gaap_DebtIssuanceCostsIncurredDuringNoncashOrPartialNoncashTransactionus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse23150002315USD$falsetruefalse2truefalsefalse00USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe amount of debt issuance costs that were incurred during a noncash or partial noncash transaction.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 5
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 4
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4313-108586
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 230
-SubTopic 10
-Section 50
-Paragraph 3
-URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586
false21December 31, 2012 balances were derived from the audited Consolidated Financial Statements included in the Company's Annual Report on Form 10-K for the year ended December 31, 2012, filed with the Securities and Exchange Commission (the SEC) on February 26, 2013.falseCONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.biomarinpharm.com/taxonomy/role/StatementOfCashFlowsIndirect249