2.4.0.82401405 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Fair Value Disclosure (Details)truefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$I2013Q2_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Memberhttp://www.sec.gov/CIK0001284807instant2013-06-29T00:00:000001-01-01T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$I2012Q4_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Memberhttp://www.sec.gov/CIK0001284807instant2012-12-31T00:00:000001-01-01T00:00:00usdStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse1falseUSDtruefalse$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$nanafalse02true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false4us-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
false24false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falseUSDtruefalse$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$nanafalse05true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse06false4us-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
false27false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse5falseUSDtruefalse$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$nanafalse08true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse09false4us-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
false210false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse7falseUSDtruefalse$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$nanafalse011true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse012false4us-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
false213false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse9falseUSDtruefalse$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$nanafalse014true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse015false4us-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
false216false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse11falseUSDtruefalse$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$nanafalse017true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse018false4us-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
false219false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse13falseUSDtruefalse$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$nanafalse020true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse021false4us-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
false222false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse15falseUSDtruefalse$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$nanafalse023true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse024false4us-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
false225false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse17falseUSDtruefalse$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$nanafalse026true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse027false4us-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
false228false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse19falseUSDtruefalse$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$nanafalse029true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse030false4us-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
false231false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse21falseUSDtruefalse$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$nanafalse032true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse033false4us-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
false234false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse23falseUSDtruefalse$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$nanafalse035true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse036false4us-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
false237false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse25falseUSDtruefalse$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$nanafalse038true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse039false4us-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
false240false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse27falseUSDtruefalse$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$nanafalse041true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse042false4us-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
false243false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse29falseUSDtruefalse$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$nanafalse044true3us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse045false4us-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