2.4.0.8138 - Disclosure - Components of Accumulated Other Comprehensive Loss Included in Stockholders' Equity (Detail)truefalseIn Thousands, unless otherwise specifiedfalse1false USDfalsefalse$PAsOn06_30_2013http://www.sec.gov/CIK0000731653instant2013-06-30T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$PAsOn12_31_2012http://www.sec.gov/CIK0000731653instant2012-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 3ubcp_OtherComprehensiveIncomeLossLineItemsubcp_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4ubcp_AccumulatedOtherComprehensiveIncomeLossUnrealizedGainsLossesOnAvailableForSaleSecuritiesBeforeTaxubcp_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse-226000-226USD$falsetruefalse2truefalsefalse524000524USD$falsetruefalsexbrli:monetaryItemTypemonetaryAccumulated Other Comprehensive Income (Loss), Unrealized Gains (Losses) on Available for sale Securities, Before TaxNo definition available.false23false 4ubcp_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPlanNetTransitionAssetsObligationBeforeTaxubcp_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse-2169000-2169falsefalsefalse2truefalsefalse-2169000-2169falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated Other Comprehensive Income (Loss), Defined Benefit Plan Net Transition Assets Obligation, Before TaxNo definition available.false24false 4ubcp_AccumulatedOtherComprehensiveIncomeLossBeforeTaxesubcp_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-2395000-2395falsefalsefalse2truefalsefalse-1645000-1645falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated Other Comprehensive Income (Loss), Before TaxesNo definition available.true25false 4ubcp_AccumulatedOtherComprehensiveIncomeLossTaxubcp_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsetruenegatedLabel1truefalsefalse814000814falsefalsefalse2truefalsefalse558000558falsefalsefalsexbrli:monetaryItemTypemonetaryAccumulated Other Comprehensive Income (Loss), TaxNo definition available.false26false 4us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalsetotalLabel1truefalsefalse-1581000-1581USD$falsetruefalse2truefalsefalse-1087000-1087USD$falsetruefalsexbrli:monetaryItemTypemonetaryAccumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14A -URI http://asc.fasb.org/extlink&oid=28358780&loc=SL7669686-108580 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e637-108580 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=28358780&loc=d3e681-108580 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 31 -Article 5 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Article 3 true2falseComponents of Accumulated Other Comprehensive Loss Included in Stockholders' Equity (Detail) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.unitedbancorp.com/role/ComponentsOfAccumulatedOtherComprehensiveLossIncludedInStockholdersEquityDetail26