2.4.0.80044 - Disclosure - Stockholders Equity (Details 4)truefalsefalse1false USDfalsefalse$From2012-09-01to2013-05-31http://www.sec.gov/CIK0000799694duration2012-09-01T00:00:002013-05-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$2false USDfalsefalse$From2011-09-01to2012-08-31http://www.sec.gov/CIK0000799694duration2011-09-01T00:00:002012-08-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$1true 2us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberus-gaap_truenainstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse297085297085falsefalsefalse2truefalsefalse297085297085falsefalsefalsexbrli:sharesItemTypesharesNumber of options outstanding, including both vested and non-vested options.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i)-(ii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false13false 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGrossus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  falsefalsefalse2falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesGross number of share options (or share units) granted during the period.No definition available.false14false 3us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercisedus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  falsefalsefalse2falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesNumber of share options (or share units) exercised during the current period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 Reference 2: 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 3: 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=27012166&loc=d3e187085-122770 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.28,29) -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 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(2) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 29, 30 -Article 5 false15false 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse-55000-55000falsefalsefalse2falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesNumber of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(4) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false16false 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberus-gaap_truenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse242085242085falsefalsefalse2truefalsefalse297085297085falsefalsefalsexbrli:sharesItemTypesharesNumber of options outstanding, including both vested and non-vested options.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i)-(ii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false17false 3OCLG_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingLowWeightedAverageExercisePriceOCLG_falsenainstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse0.120.12USD$falsetruefalse2truefalsefalse0.120.12USD$falsetruefalsenum:perShareItemTypedecimalShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingLowWeightedAverageExercisePriceNo definition available.false38false 3OCLG_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingHighWeightedAverageExercisePriceOCLG_falsenainstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse5.165.16USD$falsetruefalse2truefalsefalse5.165.16USD$falsetruefalsenum:perShareItemTypedecimalShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingHighWeightedAverageExercisePriceNo definition available.false39false 3OCLG_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsLowWeightedAverageExercisePriceOCLG_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  falsefalsefalse2falsefalsefalse00  falsefalsefalsenum:perShareItemTypedecimalShares Granted, Lower rangeNo definition available.false310false 3OCLG_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsHighWeightedAverageExercisePriceOCLG_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  falsefalsefalse2falsefalsefalse00  falsefalsefalsenum:perShareItemTypedecimalShares Granted, Upper rangeNo definition available.false311false 3OCLG_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableLowWeightedAverageExercisePriceOCLG_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  falsefalsefalse2falsefalsefalse00  falsefalsefalsenum:perShareItemTypedecimalShares Exercised, Lower rangeNo definition available.false312false 3OCLG_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableHighWeightedAverageExercisePriceOCLG_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  falsefalsefalse2falsefalsefalse00  falsefalsefalsenum:perShareItemTypedecimalShares Exercised, Upper rangeNo definition available.false313false 3OCLG_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresLowWeightedAverageExercisePriceOCLG_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse1.601.60USD$falsetruefalse2falsefalsefalse00  falsefalsefalsenum:perShareItemTypedecimalShares Cancelled, Lower rangeNo definition available.false314false 3OCLG_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresHighWeightedAverageExercisePriceOCLG_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse5.165.16USD$falsetruefalse2falsefalsefalse00  falsefalsefalsenum:perShareItemTypedecimalShares Cancelled, Upper rangeNo definition available.false315false 3OCLG_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingLowWeightedAverageExercisePriceOCLG_falsenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse0.120.12USD$falsetruefalse2truefalsefalse0.120.12USD$falsetruefalsenum:perShareItemTypedecimalShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingLowWeightedAverageExercisePriceNo definition available.false316false 3OCLG_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingHighWeightedAverageExercisePriceOCLG_falsenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse2.002.00USD$falsetruefalse2truefalsefalse5.165.16USD$falsetruefalsenum:perShareItemTypedecimalShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingHighWeightedAverageExercisePriceNo definition available.false317true 2us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePriceAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse1.431.43USD$falsetruefalse2truefalsefalse1.431.43USD$falsetruefalsenum:perShareItemTypedecimalWeighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false319false 3us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePriceus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse2.792.79USD$falsetruefalse2falsefalsefalse00  falsefalsefalsenum:perShareItemTypedecimalWeighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated.No definition available.false320false 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceus-gaap_truenainstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse1.121.12USD$falsetruefalse2truefalsefalse1.431.43USD$falsetruefalsenum:perShareItemTypedecimalWeighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false3falseStockholders Equity (Details 4) (USD $)UnKnownNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://cik0000799694/role/StockholdersEquityDetails4220