2.4.0.80030 - Disclosure - Notes Payable (Details Narrative)truefalsefalse1falseUSDfalsefalse$From2012-10-01to2012-12-31http://www.sec.gov/CIK0000820608duration2012-10-01T00:00:002012-12-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0PercentStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$From2012-04-01to2012-06-30http://www.sec.gov/CIK0000820608duration2012-04-01T00:00:002012-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$From2011-04-01to2011-06-30http://www.sec.gov/CIK0000820608duration2011-04-01T00:00:002011-06-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0PercentStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4falseUSDfalsefalse$From2013-01-01to2013-06-30http://www.sec.gov/CIK0000820608duration2013-01-01T00:00:002013-06-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5falseUSDfalsefalse$AsOf2011-12-31http://www.sec.gov/CIK0000820608instant2011-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$6falseUSDfalsefalse$AsOf2011-06-01http://www.sec.gov/CIK0000820608instant2011-06-01T00:00:000001-01-01T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false4us-gaap_NotesIssued1us-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse3500035000USD$falsetruefalse2falsefalsefalse00falsefalsefalse3truefalsefalse105000105000USD$falsetruefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe fair value of notes issued in noncash investing and financing activities.Reference 1: 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 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
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 95
-Paragraph 32
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 4: 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
false22false4us-gaap_DebtInstrumentInterestRateDuringPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truetruefalse0.030.03falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe average effective interest rate during the reporting period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 835
-SubTopic 30
-Section 45
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-108399
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
Reference 3: 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(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false03false4QTXB_NotesAccruedInterestAtRateQTXB_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truetruefalse0.060.06falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:percentItemTypepureCustom Element.No definition available.false04false4us-gaap_DepositLiabilitiesAccruedInterestus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse13731373USD$falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of accrued but unpaid interest on deposit liabilities.Reference 1: 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.15(5))
-URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher OTS
-Name Federal Regulation (FR)
-Number Title 12
-Section 563c.102
-Paragraph 14
-Subparagraph d
-Chapter V
-Subsection I
-LegacyDoc This is a non-GAAP reference that was included in the 2009 taxonomy. It will be removed from future versions of this taxonomy.
false25false4QTXB_SurrenderAndCancelWarrantsQTXB_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse20690002069000falsefalsefalsexbrli:sharesItemTypesharesCustom Element.No definition available.false16false4us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecuritiesus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse125000125000falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse20690002069000falsefalsefalse4truefalsefalse200000200000falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesAdditional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of convertible debt securities using the if-converted method.Reference 1: 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 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 260
-SubTopic 10
-Section 45
-Paragraph 40
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1930-109256
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 128
-Paragraph 26, 27, 28
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false17false4us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecuritiesus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse6207062070USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe gross value of stock issued during the period upon the conversion of convertible securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher AICPA
-Name Accounting Principles Board Opinion (APB)
-Number 12
-Paragraph 10
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=6959260&loc=d3e187085-122770
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 129
-Paragraph 4, 5
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 6: 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.29-31)
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
Reference 7: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30, 31
-Article 5
false28false4QTXB_WarrantsAssignedToHoldersQTXB_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse269004269004falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNo authoritative reference available.No definition available.false19false4QTXB_DebtInstrumentUnamortizedDiscount1QTXB_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse10626111062611USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCustom Element.No definition available.false210false4us-gaap_DebtInstrumentConvertibleBeneficialConversionFeatureus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse2899828998USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAmount of a favorable spread to a debt holder between the amount of debt being converted and the value of the securities received upon conversion. This is an embedded conversion feature of convertible debt issued that is in-the-money at the commitment date.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Glossary Beneficial Conversion Feature
-URI http://asc.fasb.org/extlink&oid=6505963
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Statement of Financial Accounting Standard (FAS)
-Number 129
-Paragraph 4
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 8
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21538-112644
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 98-5
-Paragraph 7
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
Reference 5: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 00-27
-Paragraph 56
-LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.
false211false4QTXB_DebtDiscountAndBeneficialConversionFeatureInterestExpenseQTXB_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse2190521905USD$falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryNo authoritative reference available.No definition available.false212false4QTXB_InterestExpenseWarrantsQTXB_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse00USD$falsefalsefalse5truefalsefalse37773777USD$falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryNo authoritative reference available.No definition available.false213false4QTXB_ExpenseRelatedToBeneficialConversionFeatureQTXB_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse24072407USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryNo authoritative reference available.No definition available.false214false4us-gaap_LongTermNotesPayableus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse4400044000USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse4400044000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.Reference 1: 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 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false215false4us-gaap_InterestExpenseLongTermDebtus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2truefalsefalse553553USD$falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse11141114USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryAggregate amount of interest paid or due on all long-term debt.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Paragraph 8
-Article 9
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher OTS
-Name Federal Regulation (FR)
-Number Title 12
-Section 563c.102
-Paragraph 8
-Chapter V
-Subsection I
-LegacyDoc This is a non-GAAP reference that was included in the 2009 taxonomy. It will be removed from future versions of this taxonomy.
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 942
-SubTopic 225
-Section S99
-Paragraph 1
-Subparagraph (SX 210.9-04.8)
-URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882
false216false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falseUSDtruefalse$AsOf2013-06-30_custom_Note10KMemberhttp://www.sec.gov/CIK0000820608instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseNote 10K [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiQTXB_Note10KMemberus-gaap_DebtInstrumentAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0PercentStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse017false4us-gaap_LongTermNotesPayableus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse1000010000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.Reference 1: 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 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false218false4us-gaap_LongTermDebtPercentageBearingFixedInterestRateus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truetruefalse0.060.06falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe interest rate applicable to the portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a set, unchanging rate.Reference 1: 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(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false019false4us-gaap_OwnshareLendingArrangementSharesIssuedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse84968496falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares issued in connection with an own-share lending arrangement entered into by the entity, in contemplation of a convertible debt offering or other financing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 50
-Paragraph 2A
-Subparagraph (b)(1)
-URI http://asc.fasb.org/extlink&oid=7656903&loc=SL6757479-112611
false120false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse8falseUSDtruefalse$AsOf2013-06-30_custom_Note25KMemberhttp://www.sec.gov/CIK0000820608instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseNote 25K [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiQTXB_Note25KMemberus-gaap_DebtInstrumentAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0PercentStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse021false4us-gaap_LongTermNotesPayableus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse250000250000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.Reference 1: 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 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false222false4us-gaap_LongTermDebtPercentageBearingFixedInterestRateus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truetruefalse0.060.06falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe interest rate applicable to the portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a set, unchanging rate.Reference 1: 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(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false023false4us-gaap_OwnshareLendingArrangementSharesIssuedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse200000200000falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares issued in connection with an own-share lending arrangement entered into by the entity, in contemplation of a convertible debt offering or other financing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 50
-Paragraph 2A
-Subparagraph (b)(1)
-URI http://asc.fasb.org/extlink&oid=7656903&loc=SL6757479-112611
false124false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse9falseUSDtruefalse$AsOf2013-06-30_custom_Note15KMemberhttp://www.sec.gov/CIK0000820608instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseNote 15K [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiQTXB_Note15KMemberus-gaap_DebtInstrumentAxisexplicitMemberPercentStandardhttp://www.xbrl.org/2003/instancepurexbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse025false4us-gaap_LongTermNotesPayableus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse150000150000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.Reference 1: 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 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false226false4us-gaap_LongTermDebtPercentageBearingFixedInterestRateus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truetruefalse0.060.06falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe interest rate applicable to the portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a set, unchanging rate.Reference 1: 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(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false027false4us-gaap_OwnshareLendingArrangementSharesIssuedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse200000200000falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares issued in connection with an own-share lending arrangement entered into by the entity, in contemplation of a convertible debt offering or other financing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 50
-Paragraph 2A
-Subparagraph (b)(1)
-URI http://asc.fasb.org/extlink&oid=7656903&loc=SL6757479-112611
false128false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse10falseUSDtruefalse$AsOf2013-06-30_custom_Note17KMemberhttp://www.sec.gov/CIK0000820608instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseNote 17K [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiQTXB_Note17KMemberus-gaap_DebtInstrumentAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0PercentStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse029false4us-gaap_LongTermNotesPayableus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse1700017000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.Reference 1: 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 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false230false4us-gaap_LongTermDebtPercentageBearingFixedInterestRateus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truetruefalse0.060.06falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe interest rate applicable to the portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a set, unchanging rate.Reference 1: 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(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false031false4us-gaap_OwnshareLendingArrangementSharesIssuedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse6400064000falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares issued in connection with an own-share lending arrangement entered into by the entity, in contemplation of a convertible debt offering or other financing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 50
-Paragraph 2A
-Subparagraph (b)(1)
-URI http://asc.fasb.org/extlink&oid=7656903&loc=SL6757479-112611
false132false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse11falseUSDtruefalse$AsOf2013-06-30_custom_Note2KMemberhttp://www.sec.gov/CIK0000820608instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseNote 2K [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiQTXB_Note2KMemberus-gaap_DebtInstrumentAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0PercentStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse033false4us-gaap_LongTermNotesPayableus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse2000020000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.Reference 1: 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 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false234false4us-gaap_LongTermDebtPercentageBearingFixedInterestRateus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truetruefalse0.060.06falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe interest rate applicable to the portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a set, unchanging rate.Reference 1: 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(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false035false4us-gaap_OwnshareLendingArrangementSharesIssuedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse640000640000falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares issued in connection with an own-share lending arrangement entered into by the entity, in contemplation of a convertible debt offering or other financing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 50
-Paragraph 2A
-Subparagraph (b)(1)
-URI http://asc.fasb.org/extlink&oid=7656903&loc=SL6757479-112611
false136false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse12falseUSDtruefalse$AsOf2013-06-30_custom_Note25K2Memberhttp://www.sec.gov/CIK0000820608instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseNote 25K 2 [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldiQTXB_Note25K2Memberus-gaap_DebtInstrumentAxisexplicitMemberPercentStandardhttp://www.xbrl.org/2003/instancepurexbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse037false4us-gaap_LongTermNotesPayableus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse2500025000USD$falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.Reference 1: 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 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false238false4us-gaap_LongTermDebtPercentageBearingFixedInterestRateus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truetruefalse0.060.06falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe interest rate applicable to the portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a set, unchanging rate.Reference 1: 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(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false039false4us-gaap_OwnshareLendingArrangementSharesIssuedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse640000640000falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares issued in connection with an own-share lending arrangement entered into by the entity, in contemplation of a convertible debt offering or other financing.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 470
-SubTopic 20
-Section 50
-Paragraph 2A
-Subparagraph (b)(1)
-URI http://asc.fasb.org/extlink&oid=7656903&loc=SL6757479-112611
false140false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse13falseUSDtruefalse$AsOf2013-06-30_us-gaap_LoansMemberhttp://www.sec.gov/CIK0000820608instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseLoans [Member]us-gaap_DebtInstrumentAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_LoansMemberus-gaap_DebtInstrumentAxisexplicitMemberPercentStandardhttp://www.xbrl.org/2003/instancepurexbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse041false4us-gaap_LongTermNotesPayableus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse4400044000USD$falsetruefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryCarrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion.Reference 1: 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 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 22
-Article 5
false242false4us-gaap_LongTermDebtPercentageBearingFixedInterestRateus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truetruefalse0.050.05falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe interest rate applicable to the portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a set, unchanging rate.Reference 1: 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(a)(1))
-URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682
false0falseNotes Payable (Details Narrative) (USD $)NoRoundingNoRoundingUnKnownUnKnowntruefalsefalseNoteshttp://qtxb.com/role/NotesPayableDetailsNarrative642