2.4.0.80040 - Disclosure - Stockholders Equity (Details)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/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$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/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 2us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForwardus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 3us-gaap_PreferredStockSharesOutstandingus-gaap_truenainstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1falsefalsefalse00falsefalsefalse2truefalsefalse129062129062falsefalsefalsexbrli:sharesItemTypesharesAggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased.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.28) -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 29 -Article 5 false13false 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsForfeituresus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  falsefalsefalse2falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesNumber of shares under non-option equity instrument agreements that were cancelled as a result of occurrence of a terminating event.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)(3) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false14false 3OCLG_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityConvertedInPeriod1OCLG_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00  falsefalsefalse2falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesShares ConvertedNo definition available.false15false 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherShareIncreaseDecreaseus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse5856458564falsefalsefalse2falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesOther than shares newly issued, the number of additional shares issued (for example, a stock split) or canceled (for example, to correct a share issuance), during the period under the plan.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 false16true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAdditionalDisclosuresAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse07false 4us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStockus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse5862853158628531falsefalsefalse2truefalsefalse6453164531falsefalsefalsexbrli:sharesItemTypesharesAdditional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of convertible preferred stock 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 false18false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00  falsefalsefalse2falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesThe number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.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)(3) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false19false 4us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSharesApprovedForIssuanceus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00  falsefalsefalse2falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesThe maximum number of shares (or other type of equity) that have been approved for issuance in the equity-based payment transaction.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 50 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6406099&loc=d3e25284-112666 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false110false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse5856400058564000falsefalsefalse2falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesThe number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target 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)(2)(iii)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false111false 4us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStockus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse5862853158628531falsefalsefalse2truefalsefalse6453164531falsefalsefalsexbrli:sharesItemTypesharesAdditional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of convertible preferred stock 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 false112true 4us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptionsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse013false 5us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestus-gaap_truecreditinstantfalsefalsefalsefalsefalsetruefalsefalseperiodStartLabel1truefalsefalse2581225812USD$falsetruefalse2truefalsefalse2581225812USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=7656940&loc=SL4568447-111683 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=7656940&loc=SL4568740-111683 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 55 -Paragraph 4I -URI http://asc.fasb.org/extlink&oid=31814832&loc=SL4590271-111686 false214false 5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesThe number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to 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)(iv)(3) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false115false 5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00  falsefalsefalse2falsefalsefalse00  falsefalsefalsexbrli:sharesItemTypesharesNet number of share options (or share units) granted during the period.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)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false116false 5us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsetruefalseperiodEndLabel1truefalsefalse2581225812USD$falsetruefalse2truefalsefalse2581225812USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=7656940&loc=SL4568447-111683 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=7656940&loc=SL4568740-111683 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 55 -Paragraph 4I -URI http://asc.fasb.org/extlink&oid=31814832&loc=SL4590271-111686 false217true 5us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePriceAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false 6OCLG_PreferredStockRedemptionPricePerShare1OCLG_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse0.400.40USD$falsetruefalse2truefalsefalse0.400.40USD$falsetruefalsenum:perShareItemTypedecimalShares Outstanding, beginning balanceNo definition available.false319false 6us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePriceus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00  falsefalsefalse2falsefalsefalse00  falsefalsefalsenum:perShareItemTypedecimalWeighted average price of options that were either forfeited or expired.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)(3)-(4) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false320false 6us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePriceus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1falsefalsefalse00  falsefalsefalse2truefalsefalse0.400.40USD$falsetruefalsenum:perShareItemTypedecimalWeighted average price at which option holders acquired shares when converting their stock options into shares.No definition available.false321false 6us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePriceus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse80.2580.25USD$falsetruefalse2falsefalsefalse00  falsefalsefalsenum:perShareItemTypedecimalWeighted average per share amount at which grantees can acquire shares of common stock by exercise of options.No definition available.false322false 6OCLG_PreferredStockRedemptionPricePerShare2OCLG_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse25.1925.19USD$falsetruefalse2truefalsefalse0.400.40USD$falsetruefalsenum:perShareItemTypedecimalPreferred Stock Redemption Price Per Share 2No definition available.false3falseStockholders Equity (Details) (USD $)NoRoundingNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://cik0000799694/role/StockholdersEquityDetails222