2.4.0.8131 - Disclosure - Summary of Changes in Convertible Debt Third Parties Net of Unamortized Discount (Detail)truefalsefalse1false
USDfalsefalse$eol_PE10315---1310-Q0011_STD_181_20130630_0http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false
USDfalsefalse$eol_PE10315---1310-Q0011_STD_3812_20130630_0http://www.sec.gov/CIK0001069308duration2003-01-23T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_LongTermDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel| 1truefalsefalse318658318658USD$falsetruefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount of long-term debt, net of unamortized discount or premium, including current and noncurrent amounts. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 7
Reference 2: 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.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20, 22
-Article 5
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16)
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
false2
3false
4us-gaap_ProceedsFromIssuanceOfDebtus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse550000550000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt.No definition available.false2
4false
4us-gaap_RepaymentsOfNotesPayableus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse-450000-450000USD$falsefalsefalse | 2truefalsefalse-761222-761222USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe cash outflow for a borrowing supported by a written promise to pay an obligation.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
false2
5false
4us-gaap_AmortizationOfDebtDiscountPremiumus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse-1382977-1382977USD$falsefalsefalse | 2truefalsefalse-8239707-8239707USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 45
-Paragraph 1A
-URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399
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
Reference 3: 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.8)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 8
-Article 5
false2
6false
4us-gaap_LongTermDebtus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel| 1truefalsefalse418701418701USD$falsefalsefalse | 2truefalsefalse418701418701USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryCarrying amount of long-term debt, net of unamortized discount or premium, including current and noncurrent amounts. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 7
Reference 2: 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.22)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-03.16)
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 16
-Article 9
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 20, 22
-Article 5
Reference 6: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 944
-SubTopic 210
-Section S99
-Paragraph 1
-Subparagraph (SX 210.7-03.16)
-URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910
false2
7false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3false
USDtruefalse$eol_PE10315---1310-Q0011_STD_0_20130630_0_708873x806044http://www.sec.gov/CIK0001069308instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseBeneficial Conversion Featureus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_BeneficialConversionFeatureMemberus-gaap_StatementScenarioAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
8true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
9false
4us-gaap_DebtInstrumentUnamortizedDiscountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse-120009-120009USD$falsefalsefalse | 2truefalsefalse-120009-120009USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 45
-Paragraph 1A
-URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 55
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400
false2
10false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 4false
USDtruefalse$eol_PE10315---1310-Q0011_STD_0_20130630_0_708873x715581http://www.sec.gov/CIK0001069308instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseWarrants Attached to Debtus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_WarrantMemberus-gaap_StatementScenarioAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
11true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
12false
4us-gaap_DebtInstrumentUnamortizedDiscountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse-165820-165820USD$falsefalsefalse | 2truefalsefalse-165820-165820USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 45
-Paragraph 1A
-URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 55
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=6584090&loc=d3e28878-108400
false2
13false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 5false
USDtruefalse$eol_PE10315---1310-Q0011_STD_181_20130630_0_708873x714242http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseConvertible debtus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ConvertibleDebtMemberus-gaap_StatementScenarioAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
14true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
15false
4us-gaap_AmortizationOfDebtDiscountPremiumus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse12858721285872USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryAmount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 45
-Paragraph 1A
-URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399
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
Reference 3: 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.8)
-URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 03
-Paragraph 8
-Article 5
false2
16false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 6false
USDtruefalse$eol_PE10315---1310-Q0011_STD_181_20130630_0_711461x835728http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseJanuary 2013 Notesus-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_JanuaryTwentyThirteenNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
17true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
18false
4us-gaap_DebtConversionOriginalDebtAmount1us-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse-100000-100000USD$falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of the original debt being converted 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
false2
19false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 7false
USDtruefalse$eol_PE10315---1310-Q0011_STD_181_20130630_0_711461x841315http://www.sec.gov/CIK0001069308duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseJuly 2012 Notesus-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiopxa_JulyTwentyTwelveNotesMemberus-gaap_DebtInstrumentAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
20true
3us-gaap_DebtInstrumentLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
21false
4us-gaap_DebtConversionOriginalDebtAmount1us-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel| 1truefalsefalse-900000-900000USD$falsetruefalse | 2falsefalsefalse00falsefalsefalse | xbrli:monetaryItemTypemonetaryThe amount of the original debt being converted 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
false2
falseSummary of Changes in Convertible Debt Third Parties Net of Unamortized Discount (Detail) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.opexatherapeutics.com/taxonomy/role/DisclosureSummaryOfChangesInConvertibleDebtThirdPartiesNetOfUnamortizedDiscount221