var ColorArray = new Array(
["Abalone","Abalone","Abalone","Velvety-smooth neutral texture with yellow undertones and small particles in white and tan","C","corian","Abalone"],
["Acorn","Acorn","Acorn","Warm rich yet neutral sandstone color base with large light sparsely dispersed particles, that is a natural complement to a wide range of woods in the yellow to red family.","C","corian","Acorn"],
["Adobe","Adobe","Adobe","Full-bodied red-brown clay color with subtle texture created by small lo-contrast particles","C","corian","Adobe"],
["AloeVera","Aloe Vera","Aloe Vera","Neutral glass tone with ultra fine darker and lighter particles.","D","corian","AloeVera"],
["Antarctica","Antarctica","Antarctica","Soft white textured with large stark white particles","C","corian","Antarctica"],
["Anthracite","Anthracite","Anthracite","Deep rich charcoal with a subtle texture created by tiny, reflective particles","D","corian","Anthracite"],
["ArcticIce","Arctic Ice","Arctic Ice","Translucent cloud white with small milky white particulates","E","corian","ArcticIce"],
["ArcticBlueberry","Arctic Blueberry","Arctic Blueberry","Soft lavender with small milky white particulates that deepens to evening sky blue and pewter gray","E","corian","ArcticBlueberry"],
["ArcticLime","Arctic Lime","Arctic Lime","Golden chartreuse with small milky white particulates that brightens to fresh avocado when lit","E","corian","ArcticLime"],
["ArcticMint","Arctic Mint","Arctic Mint","Pale aqua with small milky white particulates that turns turquoise when lit","E","corian","ArcticMint"],
["ArcticStrawberry","Arctic Strawberry","Arctic Strawberry","Petal pink with dewy white particulates that turns to blushing rose when lit","E","corian","ArcticStrawberry"],
["Aruba","Aruba","Aruba","Has a neutral mid gray base with a melange of small black, blue and brown particles and large white particles","C","corian","Aruba"],
["Atlantis","Atlantis","Atlantis","Richly pigmented blue base in combination with widely dispersed contrasting large light particles creates this texture","C","corian","Atlantis"],
["Aurora","Aurora","Aurora","Warm beige yellow-based neutral, densely textured with small white and brown particles","C","corian","Aurora"],
["AztecGold","Aztec Gold","Aztec Gold","A rich golden yellow base, with ochre veins and a mingling of a wide size range of tone-on-tone and translucent particles that create a natural effect.","E","corian","AztecGold"],
["BeachGlass","Beach Glass","Beach Glass","An up-to-date, light and fresh green solid","B","corian","BeachGlass"],
["BeigeFieldstone","Beige Fieldstone","Beige Fieldstone","A warm beige yellow-based neutral smooth, low contrast texture with sparsely distributed, large particles of whites, warm wood tones and cool sages","C","corian","BeigeFieldstone"],
["Bethany","Bethany","Bethany","Warm yellow-based neutral with a variety of light and small scattered black particles.","C","corian","Bethany"],
["Bisque","Bisque","Bisque","Smooth, soft, warm creamy shade with just a touch of yellow. A classic companion to many natural materials","B","corian","Bisque"],
["BlackberryIce","Blackberry Ice","Blackberry Ice","Deep rich complex black pigmented with purple with a subtle texture created by tiny, reflective particles","D","corian","BlackberryIce"],
["BlackQuartz","Black Quartz","Black Quartz","Solid pure black base with small widely dispersed light particles","B","corian","BlackQuartz"],
["BlueberryIce","Blueberry Ice","Blueberry Ice","A light touch of lavender that strengthens to berry blue when lit","E","corian","BlueberryIce"],
["BluePebble","Blue Pebble","Blue Pebble","Neutral base with a shadow of bluestone coloring with large light sparsely dispersed particles, that complements a wide range of cool slate tones","D","corian","BluePebble"],
["Bone","Bone","Bone","Smooth warm neutral that is deeper than both bisque and vanilla","B","corian","Bone"],
["BronzePatina","Bronze Patina","Bronze Patina","Deep rich complex black pigmented with yellow-green with a subtle texture created by tiny, reflective particles","D","corian","BronzePatina"],
["BurledBeach","Burled Beach","Burled Beach","A light neutral golden base, with veining of varying shades of antique brass and a mingling of a wide size range of tone-on-tone and translucent particles that create a natural earthy and rustic effect.","E","corian","BurledBeach"],
["BurntAmber","Burnt Amber","Burnt Amber","Deep neutral texture with black, white and brown small particles","B","corian","BurntAmber"],
["Camel","Camel","Camel","Fluid tone-on-tone visual texture in two tones of deep warm beige tone","E","corian","Camel"],
["CameoWhite","Cameo White","Cameo White","Soft, chalky, natural comfortable solid white, most compatible of all whites with its interior surroundings","B","corian","CameoWhite"],
["Canvas","Canvas","Canvas","Monochromatic yellow-based neutral, much like the color of unprocessed fibers in a smooth matrix with randomly spaced translucent particles and small tone-on-tone particles","C","corian","Canvas"],
["Canyon","Canyon","Canyon","Complex texture with a rich brown base with mid-size particles of equal amounts of warm and cool particles that neutralize the base","D","corian","Canyon"],
["Caribbean","Caribbean","Caribbean","Neutral-natural green texture that evokes the out-of-doors with large white and slightly darker green large particles","C","corian","Caribbean"],
["Chamois","Chamois","Chamois","A warm light golden base with lighter sand veins that diffuse into a mix of tonal and small dark particles","E","corian","Chamois"],
["Cinnabar","Cinnabar","Cinnabar","A natural brick color base, with deep umber veining and a mingling of dark to light, and translucent particles, that range in size from small to large for a complex, earthy, rustic effect.","E","corian","Cinnabar"],
["CirrusWhite","Cirrus White","Cirrus White","Tight, fluid, random veins in a mixture of whites.","E","corian","CirrusWhite"],
["ClamShell","Clam Shell","Clamshell","A bisque base, with soft nickel and antique brass veins and traces of \"barely there\" mix of translucent particles that create a soft and entirely natural effect.","E","corian","ClamShell"],
["Cobalt","Cobalt","Cobalt","Deep blue base densely packed with dark and light contrasting particles that create an overall neutral effect","B","corian","Cobalt"],
["CocoaBrown","Cocoa Brown","Cocoa Brown","Warm, rich chocolate brown with large particles in white, brown and black","D","corian","CocoaBrown"],
["Concrete","Concrete","Concrete","","D","corian","Concrete"],
["DeltaSand","Delta Sand","Delta Sand","Beige with just a touch of warm iron oxide and a natural depth created by a range of translucent and tone-on-tone particles","D","corian","DeltaSand"],
["DesertSprings","Desert Springs","Desert Springs","The color of butter cream with small dark particles","B","corian","DesertSprings"],
["Doeskin","Doeskin","Doeskin","Neutral organic mid-brown taupe tone base with large light sparsely dispersed particles that enhances the warmth in stainless steel","D","corian","Doeskin"],
["Dove","Dove","Dove","Mid-tone gray with a hint of warmth with randomly spaced translucent particles of various sizes","D","corian","Dove"],
["Dusk","Dusk","Dusk","Light neutral gray base texture with small particles in a neutral tonal range from white to black","B","corian","Dusk"],
["Earth","Earth","Earth","an umber brown base with beige veins and small uniform particles that create a smooth and flowing effect.","E","corian","Earth"],
["Eclipse","Eclipse","Eclipse","Light neutral bisque base texture with a variety of small brown particles","B","corian","Eclipse"],
["Ecru","Ecru","Ecru","Tight, fluid, random veins in light neutrals with yellow undertones.","E","corian","Ecru"],
["EgyptianCopper","Egyptian Copper","Egyptian Copper","A rich color of a new coin, with aged copper veins and a mingling of medium translucent and small dark particles create a natural effect.","E","corian","EgyptianCopper"],
["Elderberry","Elderberry","Elderberry","White clouds with gold speckles, swirling in a dark blue universe.","E","corian","Elderberry"],
["Everest","Everest","Everest","Slightly grayed white textured with small black and white particles","C","corian","Everest"],
["Fawn","Fawn","Fawn","A warm taupe base in a smooth matrix with randomly spaced tonal and small darker particles.","D","corian","Fawn"],
["Festival","Festival","Festival","Vanilla background with bright primary chips of red yellow blue and green designed to be compatible with the bights","D","corian","Festival"],
["Flint","Flint","Flint","Deep, rich organic neutral with blue under- tones and a subtle pebble-like texture with a range of small, low-contrast neutral particles","B","corian","Flint"],
["Fossil","Fossil","Fossil","Warm beige background with large particles in white, gray and beige","C","corian","Fossil"],
["GlacierIce","Glacier Ice","Glacier Ice","Elegant traslucency with pale, pure white","E","corian","GlacierIce"],
["GlacierWhite","Glacier White","Glacier White","The purest crisp, stark white in the product line solid and as pure as freshly fallen snow","A","corian","GlacierWhite"],
["Gobi","Gobi","Gobi","Medium sandy tan, with ultra fine darker and lighter particles.","D","corian","Gobi"],
["Granola","Granola","Granola","A richly textured, mid-toned, golden/yellow neutral with a dense mixture of neutral particles that range from off-white to contrasting dark brown","D","corian","Granola"],
["GraphicBlue","Graphic Blue","Graphic Blue","Solid strong graphic blue.","D","corian","GraphicBlue"],
["Gravel","Gravel","Gravel","Deep charcoal base with an open texture with a wide size range of warm yellow, cool sage and neutral particles. (Large particles most evident)","D","corian","Gravel"],
["GrayFieldstone","Gray Fieldstone","Gray Fieldstone","Mid-tone neutral gray base with smooth, low-contrast texture of sparsely distributed, large particles of warm and cool neutrals and smaller dark particles","D","corian","GrayFieldstone"],
["Jasmine","Jasmine","Jasmine","Pale green and light gray veins swirl through a light translucent base with a range of light particles.","E","corian","Jasmine"],
["Juniper","Juniper","Juniper","Light red veins and blue particles embedded in a warm tone gray/blue background.","E","corian","Juniper"],
["LavaRock","Lava Rock","Lava Rock","A deep warm gray base, with umber and golden veining with a mingling of dark to light, medium to small particles for a complex, earthy, rustic effect.","E","corian","LavaRock"],
["Lilac","Lilac","Lilac"," ","D","corian","Lilac"],
["LimeIce","Lime Ice","Lime Ice","A delicate citrus hue that deepens to chartreuse when lit","E","corian","LimeIce"],
["Linen","Linen","Linen","Natural neutral textured with soft small white and light brown particles, compatible with natural stones","C","corian","Linen"],
["Macadam","Macadam","Macadam","Mid-tone neutral gray base texture of sparsely distributed, large particles of warm and cool neutrals and dense mid-size dark particles that create sharp contrast","C","corian","Macadam"],
["Mandarin","Mandarin","Mandarin","Solid strong graphic orange.","D","corian","Mandarin"],
["MardiGras","Mardi Gras","Mardi Gras","Black base texture with a wide range of medium size particles in a range of strong colors (red, orange, green, yellow and gray)","C","corian","MardiGras"],
["Matterhorn","Matterhorn","Matterhorn","Densely textured neutral with small and medium particles, in creams, beiges and contrasting dark brown","D","corian","Matterhorn"],
["Maui","Maui","Maui","Has a rich brown base with a melange of dark, light and beige particles of varied sizes","C","corian","Maui"],
["Medea","Medea","Medea","A dark, warm gray, with ultra fine darker warm and lighter particles.","D","corian","Medea"],
["Mediterranean","Mediterranean","Mediterranean","Mid-blue base dense with a mixture of large white, beige and deeper blue particles.","D","corian","Mediterranean"],
["Midnight","Midnight","Midnight","Neutral gray texture darkened by small densely packed particles in a range of neutrals from black to white","C","corian","Midnight"],
["MintIce","Mint Ice","Mint Ice","A cool hint of green that brightens to rich spearmint when lit","E","corian","MintIce"],
["Mojave","Mojave","Mojave","Warm sandstone color base with with small darker tone-on-tone particles - a natural complement to a wide range of woods in the yellow to red family","B","corian","Mojave"],
["MontBlanc","Mont Blanc","Mont Blanc","Light neutral gray base with dense texture of various sizes particles in a neutral tonal range from white to black ","C","corian","MontBlanc"],
["Moss","Moss","Moss","Deep, rich organic neutral with green earth undertones and a subtle pebble-like texture with a range of small neutral particles","B","corian","Moss"],
["NaturalGray","Natural Gray","Natural Gray","Fluid tone-on-tone visual texture in two tones of mid-neutral gray tones","E","corian","NaturalGray"],
["NightSky","Night Sky","Night Sky","Reminiscent of deep charcoal, achieves an interesting, natural, with translucent particles","D","corian","NightSky"],
["Nocturne","Nocturne","Nocturne","Solid pure black","D","corian","Nocturne"],
["Oat","Oat","Oat","A deep, warm and rich sandstone beige with a dense blend of large and small translucent, light neutral beige and brown particles","D","corian","Oat"],
["Oyster","Oyster","Oyster","Cool beige background with large particles in off-white, gray and blue","D","corian","Oyster"],
["PearlGray","Pearl Gray","Pearl Gray","Soft neutral shade of solid gray.","B","corian","PearlGray"],
["PepperIvory","Pepper Ivory","Pepper Ivory","Textured, true neutral, densely packed with sharply contrasting medium-sized brown, black and white particles","C","corian","PepperIvory"],
["Pine","Pine","Pine","A dark, deep and rich organic neutral with sage base, blended with light and small dark particles","D","corian","Pine"],
["Platinum","Platinum","Platinum","Light neutral gray base texture with predominantly large particles in a neutral tonal range from white to black","C","corian","Platinum"],
["PompeiiRed","Pompeii Red","Pompeii Red","Contemporary soft earthen red with subtle tone-on-tone particles and the added punch of coppery highlights","D","corian","PompeiiRed"],
["Prairie","Prairie","Prairie","Complex texture with a neutral, sage base with mid-size particles of equal amounts of warm and cool particles that further neutralize the base","D","corian","Prairie"],
["Raffia","Raffia","Raffia","Warm monochromatic yellow-based neutral reminiscent of straw in a smooth matrix with randomly spaced translucent particles and small tone-on-tone particles","D","corian","Raffia"],
["RainCloud","Rain Cloud","Rain Cloud","A neutral off-white base, with tender gray veining and traces of \"barely there\" large translucent and ultra fine dark particles that create a soft and entirely natural effect.","E","corian","RainCloud"],
["RawSilk","Raw Silk","Raw Silk","A cool golden yellow tone, with ultra fine darker and lighter particles.","D","corian","RawSilk"],
["RicePaper","Rice Paper","Rice Paper","Monochromatic yellow-based off-white that is the color of rich butter cream in a smooth matrix with randomly spaced translucent particles and small tone-on-tone particles","D","corian","RicePaper"],
["Riviera","Riviera","Riviera","Has a neutral sandy beige base with a mix of small and large white particles","C","corian","Riviera"],
["Rosemary","Rosemary","Rosemary","A mélange of copper and charcoal veins in a neutral base with large particles","E","corian","Rosemary"],
["Rye","Rye","Rye","A light, warm and taupe beige with a dense mixture of large and small white, beige, copper and brown particles","D","corian","Rye"],
["Saffron","Saffron","Saffron","Warm golden veins swirl through a light translucent base with a range of light particles","E","corian","Saffron"],
["Sagebrush","Sagebrush","Sagebrush","A warm sage gray base with bronze veins that diffuse into a range of variegated sage tones and large translucent particles","E","corian","Sagebrush"],
["Sahara","Sahara","Sahara","Textured yellow-based neutral with a range of particles, the large in off-whites and small in contrasting dark brown","D","corian","Sahara"],
["Sand","Sand","Sand","A solid light medium neutral warm beige, the color tone of sand","B","corian","Sand"],
["Sandalwood","Sandalwood","Sandalwood","Warm taupe veins swirl through a light translucent base with a range of light particles","E","corian","Sandalwood"],
["Sandstone","Sandstone","Sandstone","A pale warm taupe with dark particles","B","corian","Sandstone"],
["Savannah","Savannah","Savannah","Light natural neutral, densely textured with large particles in a range of whites and beiges, compatible with natural stones","C","corian","Savannah"],
["SereneSage","Serene Sage","Serene Sage","A deep neutral warmed sage matrix like natural patina bronze with randomly spaced tonal and translucent particles and small darker particles.","D","corian","SereneSage"],
["Shale","Shale","Shale","A rich, deep organic gray neutral texture with a warm bias and small light particles","D","corian","Shale"],
["Silt","Silt","Silt","A deep, rich organic brown neutral with a subtle pebble-like texture and a variety of small particles from slightly lighter to darker than the base","B","corian","Silt"],
["SilverBirch","Silver Birch","Silver Birch","A monochromatic, off-white with a range of grey particles from light to mid-tone","D","corian","SilverBirch"],
["Slate","Slate","Slate","A deep organic neutral sage base with darker veins blended with tonal and translucent particles.","E","corian","Slate"],
["Sonora","Sonora","Sonora","A coffee latte color base, with espresso bean veins with a mingling of dark to light, medium to small particles for a complex, earthy, rustic effect.","E","corian","Sonora"],
["StoneHarbor","Stone Harbor","Stone Harbor","A dark blue gray, with black veins and a mingling of dark and light particles for a calm effect. ","D","corian","StoneHarbor"],
["StoneWashed","Stone Washed","Stone Washed","Light denim blue tone with small particles in brown and white","C","corian","StoneWashed"],
["StrawberryIce","Strawberry Ice","Strawberry Ice","A pale suggestion of pink that turns candy bright when lit","E","corian","StrawberryIce"],
["Suede","Suede","Suede","A deep warm brown of old copper in a smooth opaque matrix with a fine sprinkling of tone-on-tone particles","C","corian","Suede"],
["Sun","Sun","Sun","Solid strong graphic yellow.","D","corian","Sun"],
["Tarragon","Tarragon","Tarragon","Neutral-natural green texture that evokes the out-of-doors with subtle lo-contrast particles","B","corian","Tarragon"],
["Terra","Terra","Terra","Light terra-cotta base with large contrasting black and light particles","C","corian","Terra"],
["Thyme","Thyme","Thyme","A mélange of copper and bronze veins in a neutral base with large particles.","E","corian","Thyme"],
["Tranquil","Tranquil","Tranquil","Is the pale aqua color of glass in a smooth opaque matrix with a fine sprinkling of tone-on-tone particles","D","corian","Tranquil"],
["TumbledGlass","Tumbled Glass","Tumbled Glass","Light natural neutral open texture with a wide size range of warm yellow and cool sage particles","D","corian","TumbledGlass"],
["Tumbleweed","Tumbleweed","Tumbleweed","A warm beige base with brown veins that diffuse into a range of variegated beige tones and large translucent particles","E","corian","Tumbleweed"],
["Vanilla","Vanilla","Vanilla","Smooth white with slightly more yellow tones than Bisque","B","corian","Vanilla"],
["VenaroWhite","Venaro White","Venaro White","White on white smooth. Pure white and soft white marbleized","D","corian","VenaroWhite"],
["Verde","Verde","Verde","Mid neutral green with light pale green veins hat diffuse into a mix of tonal and small dark particles.","E","corian","Verde"],
["Whisper","Whisper","Whisper","White with a hint of warmth in a smooth opaque matrix with a fine sprinkling of tone-on-tone particles","D","corian","Whisper"],
["Whitecap","Whitecap","Whitecap","Cool, starch white with predominately pale blue particles creating subtle contrasts","D","corian","Whitecap"],
["WhiteJasmine","White Jasmine","White Jasmine","Monochromatic chalky white in a smooth matrix with randomly spaced translucent particles and small tone-on-tone particles","D","corian","WhiteJasmine"],
["Willow","Willow","Willow","Cool neutral with a light hint of green slate and the warm undertones of iron oxide","C","corian","Willow"],
["WinterWheat","Winter Wheat","Winter Wheat","A light beige with large translucent particles and a light scattering of slightly darker particles, creating a soft tone-on-tone effect","D","corian","WinterWheat"],
["WitchHazel","Witch Hazel","Witch Hazel","Light neutral tonal veins swirl through a light translucent base with a range of light particles","E","corian","WitchHazel"],
["AbyssBlack","Abyss Black","Abyss Black","Blackened yellow-green with large black particles highlighted by reflective particles","B","zodiaq","AbyssBlack"],
["AlphaBrown","Alpha Brown","Alpha Brown","Warm mid-range reddish brown with large light and copper particles and a smattering of small black particles","D","zodiaq","AlphaBrown"],
["AntiquePearl","Antique Pearl","Antique Pearl","Light neutral taupe monochromatic tone-on-tone texture (Most neutral of beiges)","B","zodiaq","AntiquePearl"],
["ArgoGreen","Argo Green","Argo Green","Blackened green with black and green particles highlighted by reflective particles","A","zodiaq","ArgoGreen"],
["AstralPearl","Astral Pearl","Astral Pearl","Light warm taupe monochromatic tone-on-tone texture highlighted by reflective particles (Deeper, more yellow than Antique Pearl)","C","zodiaq","AstralPearl"],
["AutumnLight","Autumn Light","Autumn Light","Rich medium gold tone with large brown particles and a smattering of small black particles","D","zodiaq","AutumnLight"],
["BiancoCarrara","Bianco Carrara","Bianco Carrara","A white stone, with gray veining","D","zodiaq","BiancoCarrara"],
["BlackForest","Black Forest","Black Forest","A melange of black and gold, with bronze undertones.","D","zodiaq","BlackForest"],
["BorealisBlue","Borealis Blue","Borealis Blue","Dark gray with a hint of blue, large translucent particles highlighted by reflective particles","C","zodiaq","BorealisBlue"],
["CalmSprings","Calm Springs","Calm Springs","Medium gray color with a hint of blue and a deeply layered  effect created by clear recycled glass particles","E","zodiaq","CalmSprings"],
["Cappuccino","Cappuccino","Cappuccino","Light warm reddish brown with large translucent and copper particles ","C","zodiaq","Cappuccino"],
["CaroliRed","Caroli Red","Caroli Red","Rich deep copper red base with translucent and copper reflective particles","D","zodiaq","CaroliRed"],
["CelestialBlue","Celestial Blue","Celestial Blue","Rich primary blue with translucent particles and highlighted by reflective particles","D","zodiaq","CelestialBlue"],
["Chestnut","Chestnut","Chestnut","Deep rich warm tone-on-tone Chestnut brown with reflective particles","D","zodiaq","Chestnut"],["CinnamonSpice","Cinnamon Spice","Cinnamon Spice","Rich deep russet brown with brown, black and translucent particles with a hint of reflective particles","B","zodiaq","CinnamonSpice"],
["CloudWhite","Cloud White","Cloud White","Pure white base with uniform translucent particles that create depth","D","zodiaq","CloudWhite"],
["CopperSunset","Copper Sunset","Copper Sunset","Rich copper-colored base with reddish-brown crystals","B","zodiaq","CopperSunset"],
["Coriander","Coriander","Coriander","A mixed stream of brown and clear 25% post consumer recycled glass, with a hint of green, combined within a light tan base.","E","zodiaq","Coriander"],
["CoronaBrown","Corona Brown","Corona Brown","Mixed coffee and cream base with densely packed large translucent quartz particles accented with loosely scattered small black particles","D","zodiaq","CoronaBrown"],
["CremaBotticino","Crema Botticino","Crema Botticino","A neutral ivory tone, with subtle tonal veining","D","zodiaq","CremaBotticino"],
["CremaMarfil","Crema Marfil","Crema Marfil","A light warm creme tone, with deeper tonal veining","D","zodiaq","CremaMarfil"],["CygnusPearl","Cygnus Pearl","Cygnus Pearl","Monochromatic creamy light beige base (warm yellow tone) with uniform translucent and tone-on tone particles that create depth","C","zodiaq","CygnusPearl"],
["EclipseBlue","Eclipse Blue","Eclipse Blue","Dark and milky white particles in a blackened blue base highlighted by reflective particles","A","zodiaq","EclipseBlue"],
["Flax","Flax","Flax","Mixed particles of 25% post consumer recycled glass, brown, clear and a scattering of green, imbedded within a light, almost white background.","E","zodiaq","Flax"],
["GalaxyBlack","Galaxy Black","Galaxy Black","Achromatic black base with large milky white particles highlighted by reflective shimmer","C","zodiaq","GalaxyBlack"],
["GialloMichelangelo","Giallo Michelangelo","Giallo Michelangelo","A light yellow-base neutral, with brown tonal veining","D","zodiaq","GialloMichelangelo"],
["IndusRed","Indus Red","Indus Red","Primary red base with large translucent particles highlighted by reflective particles","D","zodiaq","IndusRed"],
["Licorice","Licorice","Licorice","A mixed stream of 25% post consumer recycled glass combined with a dark, almost black quartz base.","E","zodiaq","Licorice"],
["LunarPearl","Lunar Pearl","Lunar Pearl","Neutral taupe base with deeper tone-on-tone particles highlighted by crisp black particle","B","zodiaq","LunarPearl"],
["MagellanGreen","Magellan Green","Magellan Green","Slightly faded slate gray-green, textured with large, light crystals","D","zodiaq","MagellanGreen"],
["MarroneAmbrato","Marrone Ambrato","Marrone Ambrato","A warm medium tan, with charcoal veining","D","zodiaq","MarroneAmbrato"],
["MarroneEmperador","Marrone Emperador","Marrone Emperador","A deep warm chestnut brown with darker tonal veining","D","zodiaq","MarroneEmperador"],
["MeteorGrey","Meteor Grey","Meteor Grey","Granular, neutral gray, with particles ranging from clear white to dense charcoal","C","zodiaq","MeteorGrey"],
["MineraPearl","Minera Pearl","Minera Pearl","Warm solid neutral sand-colored base with a mix of medium-sized black, brown, white and translucent quartz particles","C","zodiaq","MineraPearl"],
["MoroccanMorning","Moroccan Morning","Moroccan Morning","Warm golden sandstone color with a subtle texture created by clear recycled glass particles","E","zodiaq","MoroccanMorning"],
["MossyGreen","Mossy Green","Mossy Green","Light neutral sage color warmed by brown recycled glass particles in a subtle texture","E","zodiaq","MossyGreen"],
["MysticBlack","Mystic Black","Mystic Black","Monochromatic solid black with depth created by small translucent particles with a reflective shimmer ","D","zodiaq","MysticBlack"],
["Nutmeg","Nutmeg","Nutmeg","A combination of 3 types of colored stone, sourced from around the world, embedded in a medium brown, background.  Flecks of reflective mica add sparkle.","E","zodiaq","Nutmeg"],
["OceanBlue","Ocean Blue","Ocean Blue","A deep lapis lazuli blue, with darker tonal veining","D","zodiaq","OceanBlue"],
["Papyrus","Papyrus","Papyrus","A finely grained near white sandy tone that coordinates with bisque fixtures","D","zodiaq","Papyrus"],
["RossoVerona","Rosso Verona","Rosso Verona","A rich terra cotta, with deep brick veining","D","zodiaq","RossoVerona"],
["RoyalBrown","Royal Brown","Royal Brown","A neutral umber brown, with black veining","D","zodiaq","RoyalBrown"],
["SaddleBrown","Saddle Brown","Saddle Brown","A melange of warm copper and contrasting brown particles","D","zodiaq","SaddleBrown"],
["SandBeige","Sand Beige","Sand Beige","Pale neutral golden-yellow with a finely grained texture and sparse tone-on-tone particles","D","zodiaq","SandBeige"],
["Savory","Savory","Savory","A mixture of colored and translucent stones, within a mocha base, provide extraordinary richness and three dimensionality. Flecks of reflective mica sparkle to catch the eye.","E","zodiaq","Savory"],
["SmokeyTopaz","Smokey Topaz","Smokey Topaz","Multi-tonal earth-brown with both warm and cool particles with the depth of a natural stone","C","zodiaq","SmokeyTopaz"],
["SnowWhite","Snow White","Snow White","A pure white, with a pleasant level of translucency","D","zodiaq","SnowWhite"],
["SpaceBlack","Space Black","Space Black","Black base highlighted by large yellow ochre and translucent particles with a hint of reflective shimmer","D","zodiaq","SpaceBlack"],
["StormGrey","Storm Grey","Storm Grey","Deep slate-colored achromatic gray, textured with lighter and darker particles","D","zodiaq","StormGrey"],
["ToastedAlmond","Toasted Almond","Toasted Almond","Rich creamy and golden mixed base with large translucent quartz and light brown particles, accented with loosely scattered small black particles","D","zodiaq","ToastedAlmond"],
["VelaBrown","Vela Brown","Vela Brown","Deep warm chocolate brown base reddened by terra cotta particles","C","zodiaq","VelaBrown"],
["WarmTaupe","Warm Taupe","Warm Taupe","Deep warm mocha brown color with a subtle texture created by brown recycled glass particles","E","zodiaq","WarmTaupe"],
["Wintergreen","Wintergreen","Wintergreen","Mixed particles of 25% post consumer recycled glass, three dimensionally suspended in a light green quartz foundation.","E","zodiaq","Wintergreen"],
["WoodlandGrey","Woodland Grey","Woodland Grey","A melange of light sage and contrasting charcoal particles","D","zodiaq","WoodlandGrey"]);

var Beiges = new Array("Savannah","TumbledGlass","BeigeFieldstone","Fossil","Aurora","Canvas","Sahara","Raffia","Sand","Riviera","WinterWheat","RawSilk","DeltaSand","Mojave");
var Blues = new Array("BluePebble","StoneWashed","Atlantis","Mediterranean","Cobalt","Flint","StoneHarbor");
var Brights = new Array("Sun","Mandarin","Hot","Lilac","GraphicBlue");
var ExtraDarks = new Array("Midnight","BlackQuartz","NightSky","Nocturne","MardiGras","BlackberryIce","Gravel","BronzePatina","Anthracite","Acorn","Suede","Canyon","CocoaBrown","Shale");
var ExtraLights = new Array("GlacierWhite","WhiteJasmine","Antarctica","Everest","Whitecap","VenaroWhite","CameoWhite","RicePaper","Bisque","Linen","Bone","Vanilla","Festival","DesertSprings","Abalone");
var Grays = new Array("PearlGray","Dusk","Dove","Platinum","Aruba","MontBlanc","Macadam","GrayFieldstone","SilverBirch","Medea","Eclipse");
var Greens = new Array("Tranquil","BeachGlass","Abalone","AloeVera");
var Naturals = new Array("PepperIvory","Oyster","Bethany","Acorn","Sandstone","Matterhorn","Doeskin","Concrete","Fawn","SereneSage","Silt","Maui","BurntAmber","Granola","Oat","Gobi");
var IlluminationSeries = new Array("BlueberryIce","StrawberryIce","GlacierIce","LimeIce","MintIce","ArcticIce", "ArcticBlueberry", "ArcticStrawberry", "ArcticMint", "ArcticLime");
var HealingColors = new Array("StoneWashed","Cobalt","Atlantis","GraphicBlue","Whitecap","Tranquil","BeachGlass","BluePebble","Sun","AztecGold","EgyptianCopper","Adobe","PompeiiRed","Mojave","Chamois","Terra","Mandarin","Hot","ClamShell","Raffia","BurledBeach","RawSilk","Camel","Rye","SereneSage","Sonora","Suede","Cinnabar","CocoaBrown","Shale","Sagebrush","Prairie","Slate","Pine","Moss","Willow","Caribbean","Tarragon","Verde","Birch","PearlGray","Dove","NaturalGray","GrayFieldstone","StoneHarbor","Medea","LavaRock","BronzePatina","Earth","NightSky","Nocturne","GlacierWhite","WhiteJasmine","VenaroWhite","Antarctica","Everest","RainCloud","GlacierIce","CirrusWhite","CameoWhite","RicePaper","Whisper","Eclipse");
var CorianTerraCollection = new Array("WhiteJasmine","SilverBirch","RicePaper","GrayFieldstone","Dove","Rye","WinterWheat","Fawn","TumbledGlass","Tranquil","Canvas","Raffia","Willow","BluePebble","Whisper","SereneSage","Suede","Pine","Oat","Granola","Shale","Aruba","Platinum","Medea","Mediterranean","Acorn","Bethany","Moss","Oyster","Macadam","DeltaSand","Sahara","Gravel","Matterhorn","CocoaBrown");
var PrivateCollection = new Array("Tumbleweed","Sagebrush","CirrusWhite","Ecru","Chamois","Verde","Camel","NaturalGray","Slate","Earth","RainCloud","ClamShell","BurledBeach","LavaRock","EgyptianCopper","Sonora","AztecGold","Cinnabar","WitchHazel","Thyme","Rosemary","Saffron","Jasmine","Elderberry","Juniper","Sandalwood");
var Warms = new Array("Terra","Adobe","PompeiiRed","Whisper","NaturalPearl");
var YellowGreens = new Array("Tarragon","Caribbean","Willow","Prairie","Moss","Pine");
var Soothing = new Array("WhiteJasmine","RicePaper","Abalone","Sand","Vanilla","Savannah","Linen","Bisque","NaturalPearl","DesertSprings","Bone","Canvas","Riviera","Sahara","WinterWheat","Fossil","BeigeFieldstone","Raffia","Mojave","DeltaSand");
var Distinguished = new Array("GlacierWhite","Whitecap","Antarctica","Everest","VenaroWhite","PearlGray","Tranquil","SilverBirch");
var Fresh = new Array("Tarragon","Caribbean","Prairie","Moss","BeachGlass","AloeVera","Pine","Willow","StoneWashed","Mediterranean","Atlantis","BluePebble","StoneHarbor","Flint","Cobalt","Dove");
var Passionate = new Array("Acorn","Terra","PompeiiRed","Festival","TumbledGlass");
var Flamboyant = new Array("Sun","Mandarin","Adobe","Hot","Lilac","GraphicBlue");
var Mysterious = new Array("GrayFieldstone","Maui","Canyon","CocoaBrown","BronzePatina","Shale","Medea","BlackberryIce","Midnight","Anthracite","BlackQuartz","NightSky","Nocturne","Aruba","Platinum","MontBlanc","Dusk","Macadam","Gravel","MardiGras");
var Refined = new Array("Doeskin","Concrete","BurntAmber","Silt","Gobi","Bethany","Fawn","Oat","SereneSage","Suede","Rye","RawSilk","Oyster","Granola","Sandstone","PepperIvory","Eclipse","Whisper","Matterhorn","Aurora");
var CabinetsCherry = new Array("Dove","Linen","Matterhorn","Prairie","Concrete","Tumbleweed","Acorn","Mojave","Raffia","Tumbleweed","BeigeFieldstone","Moss","Acorn");
var CabinetsOakorAlder = new Array("Acorn","Tumbleweed","Matterhorn","Sagebrush","Linen","CocoaBrown","Mojave","Sandstone","Fawn","BeigeFieldstone","Acorn","Prairie","Suede","Mojave");
var CabinetsNaturalMaple = new Array("Fawn","Maui","Whisper","Canyon","Shale");
var CabinetsOffWhite = new Array("Canyon","Suede","Doeskin","Matterhorn","Prairie","Moss","Sagebrush","Concrete","Tumbleweed");
var CabinetsWhite = new Array("Linen","Raffia","Matterhorn","Canyon","Acorn","Maui","StoneWashed","Doeskin","Everest");
var CabinetsBlackEnamel = new Array("SereneSage","GrayFieldstone","Sandstone","Everest");
var OkiteCollection = new Array("MarroneEmperador","GialloMichelangelo","RossoVerona","BiancoCarrara","CremaMarfil","OceanBlue","CremaBotticino","MarroneAmbrato","RoyalBrown");
var ZodiaqTerraCollection = new Array("CalmSprings","WarmTaupe","MossyGreen","MoroccanMorning","Licorice","Wintergreen","Coriander","Flax");
var ZodiaqPrivateCollection = new Array("Nutmeg","Savory");
var EmotionSerene = new Array("CloudWhite","Papyrus","CygnusPearl","SandBeige","Cappuccino","AntiquePearl","LunarPearl","SnowWhite");
var EmotionSensual = new Array("SaddleBrown","VelaBrown","StormGrey","MysticBlack","GalaxyBlack","SpaceBlack");
var EmotionMischieveous = new Array("IndusRed","CaroliRed","CinnamonSpice","CelestialBlue","MagellanGreen","ArgoGreen","AbyssBlack","EclipseBlue","BorealisBlue");
var EmotionWild = new Array("CoronaBrown","MineraPearl","ToastedAlmond","AstralPearl","AutumnLight","AlphaBrown","CopperSunset","Chestnut","MeteorGrey","SmokeyTopaz","WoodlandGrey","BlackForest");


if(!Array.indexOf){
	Array.prototype.indexOf = function(obj){
		for(var i=0; i<this.length; i++){
	  		if(this[i]==obj){
	        	return i;
	      	}
	 	}
	  	return -1;
	}
}

function testIsValidObject(objToTest) {
		if (null == objToTest) {
			return 0;
		}
		if ("undefined" == typeof(objToTest) ) {
			return 0;
		}
		return 1;

	}



function ColorIndexFinder(colorname){
	for(var i = 0; i < ColorArray.length; i++){
		if(colorname == ColorArray[i][0]){
			return i;
		}
		if(i == ColorArray.length - 1){	
			return 0;
		}
	}
}


function ColorDetail(color){
	var color_index = ColorIndexFinder(color);
	var next_step_content;
	if(ColorArray[color_index][5] == "corian"){
		next_step_content = 'For information on sheet width, thickness and length availability,<br> <a href="javascript:redirectMainWindow(\'http://www2.dupont.com/Surfaces_Commercial/en_US/products/corian/sheet_information.html\');">click here.</a>';
	}
	else{
		next_step_content = 'For information on slab thickness availability,<a href="javascript:redirectMainWindow(\'http://www2.dupont.com/Surfaces_Commercial/en_US/products/zodiaq/slab_information.html\');">click here.</a>';
	}
	var page_content = 
		'<HTML>\n' +
		'<HEAD>\n' +
		'<TITLE>' + ColorArray[color_index][1] + '</TITLE>\n' +
		'<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">\n' +
		'<link rel="stylesheet" type="text/css" media="all" href="http://www2.dupont.com/globalassets/v3/style/consumer/surfaces.css" />\n' +
		'<link rel="stylesheet" type="text/css" media="all" href="http://www2.dupont.com/globalassets/v3/style/dupont_master.css" />\n' +
		'<link rel="stylesheet" type="text/css" media="print" href="http://www2.dupont.com/globalassets/v3/style/dupont_print.css" />\n' +
		'<link rel="stylesheet" type="text/css" media="all" href="http://www2.dupont.com/Surfaces/en_US/assets/js/surfaces_colors.css " />\n' +
		'<script language="javascript" type="text/javascript">var lang_country="en_US";</script>\n' +
		'<script type="text/javascript" src="http://www2.dupont.com/globalassets/v3/js/global.js"></script>\n' +
		'<script language="javascript">\n' +
		'function redirectMainWindow(link)\n' +
		'{\n' +
		'	opener.location.href=link\n' +
		'	window.close()\n' +
		'}\n' +
		'function sendMainWindowTo(mylink, closeme, closeonly)\n' +
		'{\n' +
		'	if (! (window.focus && window.opener))return true;\n' +
		'	window.opener.focus();\n' +
		'	if (! closeonly)window.opener.location.href=mylink.href;\n' +
		'	if (closeme)window.close();\n' +
		'	return false;\n' +
		'}\n' +
		'</script>\n' +
		'</HEAD>\n' +
		'<BODY BGCOLOR=#FFFFFF LEFTMARGIN=2 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>\n' +
		'<TABLE WIDTH=532 BORDER=0 CELLPADDING=0 CELLSPACING=0>\n' +
		'	<TR>\n' +
		'		<TD colspan="2" align="center" valign="middle"><IMG SRC="http://www2.dupont.com/Surfaces/en_US/assets/images/spacer.gif" WIDTH=1 HEIGHT=20 ALT=""></TD>\n' +
		'	</TR>\n' +
		'	<TR>\n' +
		'		<TD ROWSPAN=7 align="center" valign="middle"><IMG SRC="http://www2.dupont.com/Surfaces/en_US/assets/images/spacer.gif" WIDTH=15 HEIGHT=8 ALT=""></TD>\n' +
		'		<TD ROWSPAN=7 align="center" valign="middle"><img src="http://www2.dupont.com/Surfaces/en_US/assets/images/colorchips/' + ColorArray[color_index][5] + '/large/' + ColorArray[color_index][0] + '.jpg" width=293 height=293 alt="" class="image"></TD>\n' +
		'		<TD ROWSPAN=7 align="center" valign="middle"><IMG SRC="http://www2.dupont.com/Surfaces/en_US/assets/images/spacer.gif" WIDTH=15 HEIGHT=8 ALT=""></TD>\n' +
		'		<TD>\n' +
		'			<p><span class="c_pageheader">' + ColorArray[color_index][1] + '</span></p>\n' +		
		'			</TD>\n' +
		'	</TR>\n' +
		'	<TR>\n' +
		'	  <TD><p style="width:200px">' + ColorArray[color_index][3] + '</p></TD>\n' +
		'  </TR>\n' +
		'	<TR>\n' +
		'		<TD>\n' +
		'			<IMG SRC="http://www2.dupont.com/globalassets/v3/images/consumer/dottedLine.gif" WIDTH=200 HEIGHT=1 ALT=""><br><br><p>Price Group: ' + ColorArray[color_index][4] + '<p></TD>\n' +
		'	</TR>\n' +
		'	<TR>\n' +
		'		<TD>\n' +
		'			<br><p><span class="c_pageheader" style="font-size:16px">Next Steps:</span></p>\n' +
		'		</TD>\n' +
		'	</TR>\n' +
		'	<TR>\n' +
		'	  <TD><span padding-left: 15px"><span class="moreChev">&raquo;</span>&nbsp;' + next_step_content + '</span><br><span class="moreChev">&raquo;</span>&nbsp;Right click on the tile to download the color image.</p></TD>\n' +
		'  </TR>\n' +
		'	<TR>\n' +
		'		<TD width="200" align="right" valign="bottom"><IMG SRC="http://www2.dupont.com/Surfaces/en_US/assets/images/spacer.gif" WIDTH=1 HEIGHT=55 ALT=""> </TD>\n' +
		'	</TR>\n' +
		'	<TR>\n' +
		'	  <TD align="right" valign="bottom" width="200"><a href="javascript:window.close()"><IMG SRC="http://www2.dupont.com/Surfaces/en_US/assets/images/closewin.jpg" WIDTH=100 HEIGHT=28 BORDER="0" ALT=""></a></TD>\n' +
		'  </TR>\n' +
		'	<TR>\n' +
		'		<TD colspan="4" align="left" valign="middle" style="padding:15px 0px 2px 15px; font-size:9px;">Note: Colors shown may vary from the actual product. Please refer to product sample for true color representation.</TD>\n' +
		'	</TR>\n' +
		'</TABLE>\n' +
		'</BODY>\n' +
		'</HTML>';

	var NewWindow;
	var winTop = (screen.height / 2) - 500;
	var winLeft = (screen.width / 2) - 350;
	var windowFeatures = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=585,height=375,alwaysRaised=yes,left=" + winLeft + ",top=" + winTop;
	newWindow = window.open('','',windowFeatures);
	newWindow.document.write(page_content);
    newWindow.document.close();
}


function ColorDetail_Z(color){
	var color_index = ColorIndexFinder(color);
	var next_step_content;
	if(ColorArray[color_index][5] == "corian"){
		next_step_content = 'For information on sheet width, thickness and length availability,<br> <a href="javascript:redirectMainWindow(\'http://www2.dupont.com/Surfaces_Commercial/en_US/products/corian/sheet_information.html\');">click here.</a>';
	}
	else{
		next_step_content = 'For information on slab thickness availability,<a href="javascript:redirectMainWindow(\'http://www2.dupont.com/Surfaces_Commercial/en_US/products/zodiaq/slab_information.html\');">click here.</a>';
	}
	var page_content = 
		'<HTML>\n' +
		'<HEAD>\n' +
		'<TITLE>' + ColorArray[color_index][1] + '</TITLE>\n' +
		'<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">\n' +
		'<link rel="stylesheet" type="text/css" media="all" href="http://www2.dupont.com/globalassets/v3/style/consumer/surfaces.css" />\n' +
		'<link rel="stylesheet" type="text/css" media="all" href="http://www2.dupont.com/globalassets/v3/style/dupont_master.css" />\n' +
		'<link rel="stylesheet" type="text/css" media="print" href="http://www2.dupont.com/globalassets/v3/style/dupont_print.css" />\n' +
		'<link rel="stylesheet" type="text/css" media="all" href="http://www2.dupont.com/Surfaces/en_US/assets/js/surfaces_colors.css " />\n' +
		'<script language="javascript" type="text/javascript">var lang_country="en_US";</script>\n' +
		'<script type="text/javascript" src="http://www2.dupont.com/globalassets/v3/js/global.js"></script>\n' +
		'<script type="text/javascript" src="http://www2.dupont.com/Surfaces_Commercial/en_US/assets/includes/js/commercial_colors.js"></script>\n' +
		'<script language="javascript">\n' +
		'function redirectMainWindow(link)\n' +
		'{\n' +
		'	opener.location.href=link\n' +
		'	window.close()\n' +
		'}\n' +
		'function sendMainWindowTo(mylink, closeme, closeonly)\n' +
		'{\n' +
		'	if (! (window.focus && window.opener))return true;\n' +
		'	window.opener.focus();\n' +
		'	if (! closeonly)window.opener.location.href=mylink.href;\n' +
		'	if (closeme)window.close();\n' +
		'	return false;\n' +
		'}\n' +
		'</script>\n' +
		'</HEAD>\n' +
		'<BODY BGCOLOR=#FFFFFF LEFTMARGIN=2 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>\n' +
		'<TABLE WIDTH=532 BORDER=0 CELLPADDING=0 CELLSPACING=0>\n' +
		'	<TR>\n' +
		'		<TD colspan="2" align="center" valign="middle"><IMG SRC="http://www2.dupont.com/Surfaces/en_US/assets/images/spacer.gif" WIDTH=1 HEIGHT=20 ALT=""></TD>\n' +
		'	</TR>\n' +
		'	<TR>\n' +
		'		<TD ROWSPAN=7 align="center" valign="middle"><IMG SRC="http://www2.dupont.com/Surfaces/en_US/assets/images/spacer.gif" WIDTH=15 HEIGHT=8 ALT=""></TD>\n' +
		'		<TD ROWSPAN=7 align="center" valign="middle"><a href="javascript:CountertopZoom(\'' +ColorArray[color_index][0] + '\');" alt="View a detailed closeup of a countertop in this color" ><img src="http://www2.dupont.com/Surfaces/en_US/assets/images/colorchips/' + ColorArray[color_index][5] + '/large/' + ColorArray[color_index][0] + '.jpg" width=293 height=293 alt="" class="image"></a></TD>\n' +
		'		<TD ROWSPAN=7 align="center" valign="middle"><IMG SRC="http://www2.dupont.com/Surfaces/en_US/assets/images/spacer.gif" WIDTH=15 HEIGHT=8 ALT=""></TD>\n' +
		'		<TD>\n' +
		'			<p><span class="c_pageheader">' + ColorArray[color_index][1] + '</span></p>\n' +		
		'			</TD>\n' +
		'	</TR>\n' +
		'	<TR>\n' +
		'	  <TD><p style="width:200px">' + ColorArray[color_index][3] + '</p></TD>\n' +
		'  </TR>\n' +
		'	<TR>\n' +
		'		<TD>\n' +
		'			<IMG SRC="http://www2.dupont.com/globalassets/v3/images/consumer/dottedLine.gif" WIDTH=200 HEIGHT=1 ALT=""><br><br><p>Price Group: ' + ColorArray[color_index][4] + '<p></TD>\n' +
		'	</TR>\n' +
		'	<TR>\n' +
		'		<TD>\n' +
		'			<br><p><span class="c_pageheader" style="font-size:16px">Next Steps:</span></p>\n' +
		'		</TD>\n' +
		'	</TR>\n' +
		'	<TR>\n' +
		'	  <TD><span padding-left: 15px"><span class="moreChev">&raquo;</span>&nbsp;' + next_step_content + '</span><br><span class="moreChev">&raquo;</span>&nbsp;Right click on the tile to download the color image.</p><br /><p><span class="moreChev">&raquo;</span>&nbsp;<a href="javascript:CountertopZoom(\'' +ColorArray[color_index][0] + '\');" alt="View a detailed closeup of a countertop in this color" >Click here</a> to view a detailed closeup of a countertop in this color.</p>\n' +

		'  </TR>\n' +
		'	<TR>\n' +
		'		<TD width="200" align="right" valign="bottom"><IMG SRC="http://www2.dupont.com/Surfaces/en_US/assets/images/spacer.gif" WIDTH=1 HEIGHT=5 ALT=""> </TD>\n' +
		'	</TR>\n' +
		'	<TR>\n' +
		'	  <TD align="right" valign="bottom" width="200"><a href="javascript:window.close()"><IMG SRC="http://www2.dupont.com/Surfaces/en_US/assets/images/closewin.jpg" WIDTH=100 HEIGHT=28 BORDER="0" ALT=""></a></TD>\n' +
		'  </TR>\n' +
		'	<TR>\n' +
		'		<TD colspan="4" align="left" valign="middle" style="padding:15px 0px 2px 15px; font-size:9px;">Note: Colors shown may vary from the actual product. Please refer to product sample for true color representation.</TD>\n' +
		'	</TR>\n' +
		'</TABLE>\n' +
		'</BODY>\n' +
		'</HTML>';

	var NewWindow;
	var winTop = (screen.height / 2) - 500;
	var winLeft = (screen.width / 2) - 350;
	var windowFeatures = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=585,height=400,alwaysRaised=yes,left=" + winLeft + ",top=" + winTop;
	newWindow = window.open('','',windowFeatures);
	newWindow.document.write(page_content);
    newWindow.document.close();
}

function CountertopZoom(color){
	var color_index = ColorIndexFinder(color);
	var page_content ='<HTML>\n' +
'<HEAD>\n' +
'<TITLE>' + ColorArray[color_index][1] + '</TITLE>\n' +
'<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">\n' +
'<link rel="stylesheet" type="text/css" media="all" href="http://www2.dupont.com/Surfaces/en_US/assets/js/mojozoom.css" />\n' +
'<link rel="stylesheet" type="text/css" media="all" href="http://www2.dupont.com/globalassets/v3/style/consumer/surfaces.css" />\n' +
'<link rel="stylesheet" type="text/css" media="all" href="http://www2.dupont.com/globalassets/v3/style/dupont_master.css" />\n' +
'<link rel="stylesheet" type="text/css" media="print" href="http://www2.dupont.com/globalassets/v3/style/dupont_print.css" />\n' +
'<link rel="stylesheet" type="text/css" media="all" href="http://www2.dupont.com/Surfaces/en_US/assets/js/surfaces_colors.css " />\n' +
'<script language="javascript" type="text/javascript">var lang_country="en_US";</script>\n' +
'<script type="text/javascript" src="http://www2.dupont.com/globalassets/v3/js/global.js"></script>\n' +
'<script type="text/javascript" src="http://www2.dupont.com/Surfaces/en_US/assets/js/mojozoom.js"></script>\n' +
'<script type="text/javascript" src="http://www2.dupont.com/Surfaces_Commercial/en_US/assets/includes/js/commercial_colors.js">\n' +
'</script>\n' +
'<script language="javascript">\n' +
'</script>\n' +
'</HEAD>\n' +

'<body onload="javascript:opener.close();">\n' +
'<div style="width:700px; height:400px; padding-top:15px; padding-left:15px;">\n' +
'    <table width="675">\n' +
'        <tr>\n' +
'            <td width="25%" align="left"><span class="c_pageheader">' + ColorArray[color_index][1] + '</span></td>\n' +
'            <td width="75%" align="right" style="padding-left:"></td>\n' +
'        </tr>\n' +
'    </table>\n' +
'    <div align="left" style="width:690px; height:312px; background-image:url(http://www2.dupont.com/Surfaces/en_US/assets/images/zoom_background.jpg)">\n' +
'        <img src="http://www2.dupont.com/Surfaces/en_US/assets/images/colorchips/' + ColorArray[color_index][5] + '/zoom/small/' + ColorArray[color_index][0] + '.jpg" \n' +
'        data-zoomsrc="http://www2.dupont.com/Surfaces/en_US/assets/images/colorchips/' + ColorArray[color_index][5] + '/zoom/large/' + ColorArray[color_index][0] + '.jpg" \n' +
'        id="myimage" style="border-color:#666666; border-width:thin; border-style:solid;"/> \n' +
'    </div>\n' +
'    <table width="675">\n' +
'        <tr>\n' +
'            <TD width="75%" align="left" valign="middle" style="font-size:9px;">\n' +
'            	Note: Colors shown may vary from the actual product. Please refer to product sample for true color representation.\n' +
'          	</TD>\n' +
'            <td width="25%" align="right">\n' +
'            	<a href="javascript:window.close()">\n' +
'            	<IMG SRC="http://www2.dupont.com/Surfaces/en_US/assets/images/closewin.jpg" WIDTH=100 HEIGHT=28 BORDER="0" ALT="">\n' +
'                </a>\n' +
'         	</td>\n' +
'        </tr>\n' +
'    </table>\n' +
'</div>\n' +
'</body>\n' +
'</html>\n';


	var NewWindow;
	var winTop = (screen.height / 2) - 500;
	var winLeft = (screen.width / 2) - 350;
	var windowFeatures = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=750,height=400,alwaysRaised=yes,left=" + winLeft + ",top=" + winTop;
	newWindow = window.open('','',windowFeatures);
	newWindow.document.write(page_content);
    newWindow.document.close();
}



// JavaScript Document
function PartOfFamily(color_name, family_name){
	switch(family_name){
		case "EL":
			var pof = ExtraLights.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "B":
			var pof = Beiges.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "N":
			var pof = Naturals.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "W":
			var pof = Warms.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "YG":
			var pof = YellowGreens.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "GN":
			var pof = Greens.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "BL":
			var pof = Blues.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "GY":
			var pof = Grays.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "ED":
			var pof = ExtraDarks.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "BR":
			var pof = Brights.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "PC":
			var pof = PrivateCollection.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "ILL":
			var pof = IlluminationSeries.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "HEA":
			var pof = HealingColors.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "TER":
			var pof = CorianTerraCollection.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "OKI":
			var pof = OkiteCollection.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "ZTC":
			var pof = ZodiaqTerraCollection.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "ZPC":
			var pof = ZodiaqPrivateCollection.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "ESER":
			var pof = EmotionSerene.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "ESEN":
			var pof = EmotionSensual.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "EMIS":
			var pof = EmotionMischieveous.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "EWIL":
			var pof = EmotionWild.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "CH":
			var pof = CabinetsCherry.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "OA":
			var pof = CabinetsOakorAlder.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "NM":
			var pof = CabinetsNaturalMaple.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "OW":
			var pof = CabinetsOffWhite.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "WH":
			var pof = CabinetsWhite.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;
		case "EN":
			var pof = CabinetsBlackEnamel.indexOf(color_name);
			if(pof != -1){
				return 1;
			}
			break;	
		default:
			return 0;
	}
}

function MemberOfPriceGroup(color_array_id, price_group){
	if(ColorArray[color_array_id][4] == price_group){
		return 1;
	}
	else{
		return 0;
	}
}

function MemberOfSelectSeries(color_name){
	if ((PartOfFamily(color_name,'PC') == 1) || (PartOfFamily(color_name,'ILL') == 1) || (PartOfFamily(color_name,'OKI') == 1)){
		return 1;
	}
	else{
		return 0;
	}																			  	
}

function SelectGroup(FamilyID, prod) {
	var all = document.getElementById("boxes");
	var tiles = all.getElementsByTagName("li");
	if( FamilyID == ""){}
	else if( FamilyID == "All" ){
		for( var i = 0; i < tiles.length; i++){
			var tile_ID = tiles[i].id;
			var title_array = tile_ID.split("_");
			var member_of_select_series = "false";

			var color_id = title_array[0];
			if(color_id == "CBN"){
				member_of_select_series = "true";
			}
			else if(MemberOfSelectSeries(color_id) == 1){
				member_of_select_series = "true";

			}
			else{
				member_of_select_series = "false";
			}
	
			
			if(member_of_select_series == "false"){
				tiles[i].style.display = "inline";
			}
			else{
				tiles[i].style.display = "none";
			}
		}
		SelectHeader("All", prod);
	}
	else if( FamilyID == "All_Name" ){
		for( var i = 0; i < tiles.length; i++){
			var tile_ID = tiles[i].id;
			var title_array = tile_ID.split("_");
			var sort_by_name = "false";
			if(title_array[0] == "CBN"){
				sort_by_name = "true";
			}
			if(sort_by_name == "true"){
				tiles[i].style.display = "inline";
			}
			else{
				tiles[i].style.display = "none";
			}
		}
		SelectHeader("All", prod);
	}
	else if( (FamilyID == "pg_A") || (FamilyID == "pg_B") || (FamilyID == "pg_C") || (FamilyID == "pg_D") || (FamilyID == "pg_E") || (FamilyID == "pg_F") || (FamilyID == "pg_G") ){
		var temp  = FamilyID;
		var temp_array = temp.split("_");
		var the_price_group = temp_array[1];
		for(var k = 0; k < ColorArray.length; k++){
			if(ColorArray[k][5] == prod){
				var current_color = ColorArray[k][0];
				var temp_color = document.getElementById(current_color);
				if (MemberOfPriceGroup(k, the_price_group) == 1){
					temp_color.style.display = "inline";
				}
				else{
					temp_color.style.display = "none";
				}
			}
		}
		SelectHeader("All", prod);
	}
	else{
		for (var i = 0; i < tiles.length; i++) {
			var tile_ID = tiles[i].id;
			var part_of_family = "false";
			if (PartOfFamily(tile_ID, FamilyID) == 1){
				part_of_family = "true";
			}
			else{
				part_of_family = "false";
			}
						
			if(part_of_family == "true"){
				tiles[i].style.display = "inline";
			}
			else{
				tiles[i].style.display = "none";
			}
		}
		SelectHeader(FamilyID, prod);
	}
}

function SelectHeader(family_id, product){
	hideDescriptions(product);
		var ActiveText = document.getElementById(family_id + "_Header");
		var ActiveText_text = document.getElementById(family_id + "_Header_text");
		ActiveText.style.display = "inline";
		ActiveText_text.style.display = "inline";

}


function hideDescriptions(p){
	if( p == "corian"){
	// These conditions only apply to Corian		
		var EL = document.getElementById("EL_Header");
		var EL_text = document.getElementById("EL_Header_text");
		EL.style.display = "none";
		EL_text.style.display = "none";
		
		var B = document.getElementById("B_Header");
		var B_text = document.getElementById("B_Header_text");
		B.style.display = "none";
		B_text.style.display = "none";
		
		var N = document.getElementById("N_Header");
		var N_text = document.getElementById("N_Header_text");
		N.style.display = "none";
		N_text.style.display = "none";
		
		var W = document.getElementById("W_Header");
		var W_text = document.getElementById("W_Header_text");
		W.style.display = "none";
		W_text.style.display = "none";
		
		var YG = document.getElementById("YG_Header");
		var YG_text = document.getElementById("YG_Header_text");
		YG.style.display = "none";
		YG_text.style.display = "none";
		
		var GN = document.getElementById("GN_Header");
		var GN_text = document.getElementById("GN_Header_text");
		GN.style.display = "none";
		GN_text.style.display = "none";
		
		var BL = document.getElementById("BL_Header");
		var BL_text = document.getElementById("BL_Header_text");
		BL.style.display = "none";
		BL_text.style.display = "none";
		
		var GY = document.getElementById("GY_Header");
		var GY_text = document.getElementById("GY_Header_text");
		GY.style.display = "none";
		GY_text.style.display = "none";
		
		var ED = document.getElementById("ED_Header");
		var ED_text = document.getElementById("ED_Header_text");
		ED.style.display = "none";
		ED_text.style.display = "none";
		
		var BR = document.getElementById("BR_Header");
		var BR_text = document.getElementById("BR_Header_text");
		BR.style.display = "none";
		BR_text.style.display = "none";		
		
		var PC = document.getElementById("PC_Header");
		var PC_text = document.getElementById("PC_Header_text");
		PC.style.display = "none";
		PC_text.style.display = "none";
		
		var ILL = document.getElementById("ILL_Header");
		var ILL_text = document.getElementById("ILL_Header_text");
		ILL.style.display = "none";
		ILL_text.style.display = "none";	
		
		var HEA = document.getElementById("HEA_Header");
		var HEA_text = document.getElementById("HEA_Header_text");
		HEA.style.display = "none";
		HEA_text.style.display = "none";
		
		var TER = document.getElementById("TER_Header");
		var TER_text = document.getElementById("TER_Header_text");
		TER.style.display = "none";
		TER_text.style.display = "none";
	}
	else if( p == "zodiaq"){
	// These conditions only apply to Zodiaq
		var OKI = document.getElementById("OKI_Header");
		var OKI_text = document.getElementById("OKI_Header_text");
		OKI.style.display = "none";
		OKI_text.style.display = "none";
		
		var ZTC = document.getElementById("ZTC_Header");
		var ZTC_text = document.getElementById("ZTC_Header_text");
		ZTC.style.display = "none";
		ZTC_text.style.display = "none";
		
		var ZPC = document.getElementById("ZPC_Header");
		var ZPC_text = document.getElementById("ZPC_Header_text");
		ZPC.style.display = "none";
		ZPC_text.style.display = "none";
	}
	var All = document.getElementById("All_Header");
	var All_text = document.getElementById("All_Header_text");
	All.style.display = "none";
	All_text.style.display = "none";
	
	if(testIsValidObject(document.getElementById("ESER_Header")) == 1){
		var ESER = document.getElementById("ESER_Header");
		var ESER_text = document.getElementById("ESER_Header_text");
		ESER.style.display = "none";
		ESER_text.style.display = "none";	
	}		

	if(testIsValidObject(document.getElementById("ESEN_Header")) == 1){
		var ESEN = document.getElementById("ESEN_Header");
		var ESEN_text = document.getElementById("ESEN_Header_text");
		ESEN.style.display = "none";
		ESEN_text.style.display = "none";	
	}
	
	if(testIsValidObject(document.getElementById("EMIS_Header")) == 1){
		var EMIS = document.getElementById("EMIS_Header");
		var EMIS_text = document.getElementById("EMIS_Header_text");
		EMIS.style.display = "none";
		EMIS_text.style.display = "none";	
	}
	
	if(testIsValidObject(document.getElementById("EWIL_Header")) == 1){
		var EWIL = document.getElementById("EWIL_Header");
		var EWIL_text = document.getElementById("EWIL_Header_text");
		EWIL.style.display = "none";
		EWIL_text.style.display = "none";	
	}
	
	if(testIsValidObject(document.getElementById("CH_Header")) == 1){
		var CH = document.getElementById("CH_Header");
		var CH_text = document.getElementById("CH_Header_text");
		CH.style.display = "none";
		CH_text.style.display = "none";	
	}
	
	if(testIsValidObject(document.getElementById("OA_Header")) == 1){
		var OA = document.getElementById("OA_Header");
		var OA_text = document.getElementById("OA_Header_text");
		OA.style.display = "none";
		OA_text.style.display = "none";	
	}
	
	if(testIsValidObject(document.getElementById("NM_Header")) == 1){
		var NM = document.getElementById("NM_Header");
		var NM_text = document.getElementById("NM_Header_text");
		NM.style.display = "none";
		NM_text.style.display = "none";	
	}
	
	if(testIsValidObject(document.getElementById("OW_Header")) == 1){
		var OW = document.getElementById("OW_Header");
		var OW_text = document.getElementById("OW_Header_text");
		OW.style.display = "none";
		OW_text.style.display = "none";	
	}
	
	if(testIsValidObject(document.getElementById("WH_Header")) == 1){
		var WH = document.getElementById("WH_Header");
		var WH_text = document.getElementById("WH_Header_text");
		WH.style.display = "none";
		WH_text.style.display = "none";	
	}
	
	if(testIsValidObject(document.getElementById("EN_Header")) == 1){
		var EN = document.getElementById("EN_Header");
		var EN_text = document.getElementById("EN_Header_text");
		EN.style.display = "none";
		EN_text.style.display = "none";	
	}
}