2.4.0.82401405 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Fair Value Disclosure (Details)truefalseIn Thousands, unless otherwise specifiedfalse1false USDfalsefalse$I2013Q2_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$I2012Q4_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Memberhttp://www.sec.gov/CIK0001284807instant2012-12-31T00:00:000001-01-01T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse1false USDtruefalse$I2013Q2_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseQuoted Prices in Active Markets (Level 1) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse02true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse908550000908550USD$falsetruefalse2truefalsefalse10776000001077600USD$falsetruefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false24false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3false USDtruefalse$I2013Q2_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_LongtermDebtTypeAxis_pgem_NinePointThreeSevenFiveSeniorUnsecuredNotesDue2017Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseQuoted Prices in Active Markets (Level 1) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseSenior Notes-9.375% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldipgem_NinePointThreeSevenFiveSeniorUnsecuredNotesDue2017Memberus-gaap_LongtermDebtTypeAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse05true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse06false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse101520000101520USD$falsefalsefalse2truefalsefalse170400000170400USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false27false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse5false USDtruefalse$I2013Q2_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_LongtermDebtTypeAxis_pgem_EightPointTwoFiveSeniorSecuredNotesDue2018Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseQuoted Prices in Active Markets (Level 1) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel1Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseSenior Secured Notes-8.25% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldipgem_EightPointTwoFiveSeniorSecuredNotesDue2018Memberus-gaap_LongtermDebtTypeAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse08true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse09false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse807030000807030USD$falsefalsefalse2truefalsefalse907200000907200USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false210false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse7false USDtruefalse$I2013Q2_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel2Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse011true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse012false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false213false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse9false USDtruefalse$I2013Q2_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel2Member_us-gaap_LongtermDebtTypeAxis_pgem_NinePointThreeSevenFiveSeniorUnsecuredNotesDue2017Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseSenior Notes-9.375% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldipgem_NinePointThreeSevenFiveSeniorUnsecuredNotesDue2017Memberus-gaap_LongtermDebtTypeAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse014true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse015false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false216false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse11false USDtruefalse$I2013Q2_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel2Member_us-gaap_LongtermDebtTypeAxis_pgem_EightPointTwoFiveSeniorSecuredNotesDue2018Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseSignificant Other Observable Inputs (Level 2) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel2Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseSenior Secured Notes-8.25% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldipgem_EightPointTwoFiveSeniorSecuredNotesDue2018Memberus-gaap_LongtermDebtTypeAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse017true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false219false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse13false USDtruefalse$I2013Q2_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse020true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse021false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false222false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse15false USDtruefalse$I2013Q2_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_LongtermDebtTypeAxis_pgem_NinePointThreeSevenFiveSeniorUnsecuredNotesDue2017Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseSenior Notes-9.375% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldipgem_NinePointThreeSevenFiveSeniorUnsecuredNotesDue2017Memberus-gaap_LongtermDebtTypeAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse023true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse024false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false225false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse17false USDtruefalse$I2013Q2_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_LongtermDebtTypeAxis_pgem_EightPointTwoFiveSeniorSecuredNotesDue2018Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseSignificant Unobservable Inputs (Level 3) [Member]us-gaap_FairValueByFairValueHierarchyLevelAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_FairValueInputsLevel3Memberus-gaap_FairValueByFairValueHierarchyLevelAxisexplicitMemberfalsefalseSenior Secured Notes-8.25% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldipgem_EightPointTwoFiveSeniorSecuredNotesDue2018Memberus-gaap_LongtermDebtTypeAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse026true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse027false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false228false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse19false USDtruefalse$I2013Q2_us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_us-gaap_CarryingReportedAmountFairValueDisclosureMemberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseCarrying Value [Member]us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CarryingReportedAmountFairValueDisclosureMemberus-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse029true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse030false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse852000000852000USD$falsefalsefalse2truefalsefalse10000000001000000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false231false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse21false USDtruefalse$I2013Q2_us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_us-gaap_CarryingReportedAmountFairValueDisclosureMember_us-gaap_LongtermDebtTypeAxis_pgem_NinePointThreeSevenFiveSeniorUnsecuredNotesDue2017Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseCarrying Value [Member]us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CarryingReportedAmountFairValueDisclosureMemberus-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisexplicitMemberfalsefalseSenior Notes-9.375% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldipgem_NinePointThreeSevenFiveSeniorUnsecuredNotesDue2017Memberus-gaap_LongtermDebtTypeAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse032true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse033false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse9600000096000USD$falsefalsefalse2truefalsefalse160000000160000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false234false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse23false USDtruefalse$I2013Q2_us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_us-gaap_CarryingReportedAmountFairValueDisclosureMember_us-gaap_LongtermDebtTypeAxis_pgem_EightPointTwoFiveSeniorSecuredNotesDue2018Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseCarrying Value [Member]us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CarryingReportedAmountFairValueDisclosureMemberus-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisexplicitMemberfalsefalseSenior Secured Notes-8.25% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldipgem_EightPointTwoFiveSeniorSecuredNotesDue2018Memberus-gaap_LongtermDebtTypeAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse035true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse036false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse756000000756000USD$falsefalsefalse2truefalsefalse840000000840000USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false237false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse25false USDtruefalse$I2013Q2_us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_us-gaap_PortionAtFairValueFairValueDisclosureMemberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseFair Value Total [Member]us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_PortionAtFairValueFairValueDisclosureMemberus-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse038true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse039false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse908550000908550USD$falsefalsefalse2truefalsefalse10776000001077600USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false240false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse27false USDtruefalse$I2013Q2_us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_us-gaap_PortionAtFairValueFairValueDisclosureMember_us-gaap_LongtermDebtTypeAxis_pgem_NinePointThreeSevenFiveSeniorUnsecuredNotesDue2017Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseFair Value Total [Member]us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_PortionAtFairValueFairValueDisclosureMemberus-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisexplicitMemberfalsefalseSenior Notes-9.375% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldipgem_NinePointThreeSevenFiveSeniorUnsecuredNotesDue2017Memberus-gaap_LongtermDebtTypeAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse041true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse042false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse101520000101520USD$falsefalsefalse2truefalsefalse170400000170400USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false243false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse29false USDtruefalse$I2013Q2_us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxis_us-gaap_PortionAtFairValueFairValueDisclosureMember_us-gaap_LongtermDebtTypeAxis_pgem_EightPointTwoFiveSeniorSecuredNotesDue2018Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00falsefalseFair Value Total [Member]us-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_PortionAtFairValueFairValueDisclosureMemberus-gaap_FairValueByBalanceSheetGroupingDisclosureItemAmountsAxisexplicitMemberfalsefalseSenior Secured Notes-8.25% [Member]us-gaap_LongtermDebtTypeAxisxbrldihttp://xbrl.org/2006/xbrldipgem_EightPointTwoFiveSeniorSecuredNotesDue2018Memberus-gaap_LongtermDebtTypeAxisexplicitMemberusdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse044true 3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse045false 4us-gaap_DebtInstrumentFairValueus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse807030000807030USD$falsetruefalse2truefalsefalse907200000907200USD$falsetruefalsexbrli:monetaryItemTypemonetaryThis element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=7491637&loc=d3e13476-108611 false2falseSUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Fair Value Disclosure (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.plygem.com/role/SummaryOfSignificantAccountingPoliciesFairValueDisclosureDetails245