for (i = 0; i <= 4; i++) mattingType[i] = new Array();
mattingType[0] = "White Core";
mattingType[1] = "Cream Core";
mattingType[2] = "Cream Core - Metallic";
mattingType[3] = "Cream Core - Patterns";
mattingType[4] = "Black Core";
for (i = 0; i <= 4; i++) {
	mattingColor[i] = new Array();
	matColorPreview[i] = new Array();
	matPrice[i] = new Array();
	matColorID[i] = new Array();
}
mattingColor[1][0] = "Alpine";
mattingColor[1][1] = "Blossom";
mattingColor[1][2] = "Champagne Parchment";
mattingColor[1][3] = "Charcoal";
mattingColor[1][4] = "Chestnut";
mattingColor[1][5] = "Claret";
mattingColor[1][6] = "Crystal Linen";
mattingColor[1][7] = "Dark Roast";
mattingColor[1][8] = "Flaxen";
mattingColor[1][9] = "French Vanilla";
mattingColor[1][10] = "Glow";
mattingColor[1][11] = "Granite";
mattingColor[1][12] = "Grape";
mattingColor[1][13] = "Harbor";
mattingColor[1][14] = "Hay";
mattingColor[1][15] = "Herbal";
mattingColor[1][16] = "Heron";
mattingColor[1][17] = "Hollyhock";
mattingColor[1][18] = "Lemon Ice";
mattingColor[1][19] = "Lilac";
mattingColor[1][20] = "Limestone";
mattingColor[1][21] = "Mauve";
mattingColor[1][22] = "Midnight Blue";
mattingColor[1][23] = "Military Blue";
mattingColor[1][24] = "Moss";
mattingColor[1][25] = "Nordic Gray";
mattingColor[1][26] = "Pale Sky";
mattingColor[1][27] = "Petal";
mattingColor[1][28] = "Pistachio";
mattingColor[1][29] = "Plum";
mattingColor[1][30] = "Powder Blue";
mattingColor[1][31] = "Raspberry";
mattingColor[1][32] = "Sage";
mattingColor[1][33] = "Sea Green";
mattingColor[1][34] = "Seafoam";
mattingColor[1][35] = "Smooth Black";
mattingColor[1][36] = "Smooth White";
mattingColor[1][37] = "Snow";
mattingColor[1][38] = "Soft Blue";
mattingColor[1][39] = "Soft Pink";
mattingColor[1][40] = "Splash";
mattingColor[1][41] = "Spring";
mattingColor[1][42] = "Steel";
mattingColor[1][43] = "Stone";
mattingColor[1][44] = "Teal";
mattingColor[1][45] = "Vanilla Linen";
mattingColor[1][46] = "Vapor";
mattingColor[1][47] = "White Linen";
mattingColor[1][48] = "Willow Green";
mattingColor[1][49] = "Wisteria";
mattingColor[1][50] = "Yellow Ochre";
mattingColor[1][51] = "Yorktown Blue";
mattingColor[4][0] = "Polar White";
mattingColor[4][1] = "Smooth Black";
mattingColor[0][0] = "Antique White";
mattingColor[0][1] = "Bamboo";
mattingColor[0][2] = "Bottle Blue";
mattingColor[0][3] = "Cappuccino";
mattingColor[0][4] = "Cream Linen";
mattingColor[0][5] = "Crystal Marble";
mattingColor[0][6] = "Deep Red";
mattingColor[0][7] = "Dill";
mattingColor[0][8] = "Dove White";
mattingColor[0][9] = "Forest Green";
mattingColor[0][10] = "Forest Shadow";
mattingColor[0][11] = "Herbal";
mattingColor[0][12] = "Khaki";
mattingColor[0][13] = "Loam";
mattingColor[0][14] = "Maroon";
mattingColor[0][15] = "Navy Blue";
mattingColor[0][16] = "Putty";
mattingColor[0][17] = "Silver";
mattingColor[0][18] = "Smooth Black";
mattingColor[0][19] = "Smooth White";
mattingColor[0][20] = "Umber";
mattingColor[2][0] = "Burnished Gold";
mattingColor[2][1] = "Burnished Pewter";
mattingColor[2][2] = "Burnished Silver";
mattingColor[2][3] = "Frosted Gold";
mattingColor[2][4] = "Renaissance - Silver";
mattingColor[3][0] = "Acanthus - Blue";
mattingColor[3][1] = "Belgique - Antwerpen";
mattingColor[3][2] = "Burlap - Tan";
mattingColor[3][3] = "Grandiflora - Crimson";
mattingColor[3][4] = "Leather - Brown";
matColorPreview[1][0] = "alpine.jpg";
matColorPreview[1][1] = "blossom.jpg";
matColorPreview[1][2] = "champagne_parchment.jpg";
matColorPreview[1][3] = "charcoal.jpg";
matColorPreview[1][4] = "chesnut.jpg";
matColorPreview[1][5] = "claret.jpg";
matColorPreview[1][6] = "crystal_linen.jpg";
matColorPreview[1][7] = "dark_roast.jpg";
matColorPreview[1][8] = "flaxen.jpg";
matColorPreview[1][9] = "french_vanilla.jpg";
matColorPreview[1][10] = "glow.jpg";
matColorPreview[1][11] = "granite.jpg";
matColorPreview[1][12] = "grape.jpg";
matColorPreview[1][13] = "harbor.jpg";
matColorPreview[1][14] = "hay.jpg";
matColorPreview[1][15] = "herbal.jpg";
matColorPreview[1][16] = "heron.jpg";
matColorPreview[1][17] = "holly_hock.jpg";
matColorPreview[1][18] = "lemon_ice.jpg";
matColorPreview[1][19] = "lilac.jpg";
matColorPreview[1][20] = "limestone.jpg";
matColorPreview[1][21] = "mauve.jpg";
matColorPreview[1][22] = "midnight_blue.jpg";
matColorPreview[1][23] = "military_blue.jpg";
matColorPreview[1][24] = "moss.jpg";
matColorPreview[1][25] = "nordic_gray.jpg";
matColorPreview[1][26] = "pale_sky.jpg";
matColorPreview[1][27] = "petal.jpg";
matColorPreview[1][28] = "pistachio.jpg";
matColorPreview[1][29] = "plum.jpg";
matColorPreview[1][30] = "powder_blue.jpg";
matColorPreview[1][31] = "raspberry.jpg";
matColorPreview[1][32] = "sage.jpg";
matColorPreview[1][33] = "sea_green.jpg";
matColorPreview[1][34] = "seafoam.jpg";
matColorPreview[1][35] = "smooth_black.jpg";
matColorPreview[1][36] = "smooth_white.jpg";
matColorPreview[1][37] = "snow.jpg";
matColorPreview[1][38] = "soft_blue.jpg";
matColorPreview[1][39] = "soft_pink.jpg";
matColorPreview[1][40] = "splash.jpg";
matColorPreview[1][41] = "spring.jpg";
matColorPreview[1][42] = "steel.jpg";
matColorPreview[1][43] = "stone.jpg";
matColorPreview[1][44] = "teal.jpg";
matColorPreview[1][45] = "vanilla_linen.jpg";
matColorPreview[1][46] = "vapor.jpg";
matColorPreview[1][47] = "white_linen.jpg";
matColorPreview[1][48] = "willow_green.jpg";
matColorPreview[1][49] = "wisteria.jpg";
matColorPreview[1][50] = "yellow_ochre.jpg";
matColorPreview[1][51] = "yorktown_blue.jpg";
matColorPreview[4][0] = "polar_white.jpg";
matColorPreview[4][1] = "smooth_black.jpg";
matColorPreview[0][0] = "antique_white.jpg";
matColorPreview[0][1] = "bamboo.jpg";
matColorPreview[0][2] = "bottle_blue.jpg";
matColorPreview[0][3] = "cappucino.jpg";
matColorPreview[0][4] = "cream_linen.jpg";
matColorPreview[0][5] = "crystal_marble.jpg";
matColorPreview[0][6] = "deep_red.jpg";
matColorPreview[0][7] = "dill.jpg";
matColorPreview[0][8] = "dove_white.jpg";
matColorPreview[0][9] = "forest_green.jpg";
matColorPreview[0][10] = "forest_shadow.jpg";
matColorPreview[0][11] = "herbal.jpg";
matColorPreview[0][12] = "khaki.jpg";
matColorPreview[0][13] = "loam.jpg";
matColorPreview[0][14] = "maroon.jpg";
matColorPreview[0][15] = "navy_blue.jpg";
matColorPreview[0][16] = "putty.jpg";
matColorPreview[0][17] = "silver.jpg";
matColorPreview[0][18] = "smooth_black.jpg";
matColorPreview[0][19] = "smooth_white.jpg";
matColorPreview[0][20] = "umber.jpg";
matColorPreview[2][0] = "burnished_gold.jpg";
matColorPreview[2][1] = "burnished_pewter.jpg";
matColorPreview[2][2] = "burnished_silver.jpg";
matColorPreview[2][3] = "frosted_gold.jpg";
matColorPreview[2][4] = "renaissance_silver.jpg";
matColorPreview[3][0] = "acanthus_blue.jpg";
matColorPreview[3][1] = "belgique_antwerpen.jpg";
matColorPreview[3][2] = "burlap_tan.jpg";
matColorPreview[3][3] = "grandiflora_crimson.jpg";
matColorPreview[3][4] = "leather_brown.jpg";
matPrice[1][0] = "1.38";
matPrice[1][1] = "1.38";
matPrice[1][2] = "1.38";
matPrice[1][3] = "1.38";
matPrice[1][4] = "1.38";
matPrice[1][5] = "1.38";
matPrice[1][6] = "1.38";
matPrice[1][7] = "1.38";
matPrice[1][8] = "1.38";
matPrice[1][9] = "1.38";
matPrice[1][10] = "1.38";
matPrice[1][11] = "1.38";
matPrice[1][12] = "1.38";
matPrice[1][13] = "1.38";
matPrice[1][14] = "1.38";
matPrice[1][15] = "1.38";
matPrice[1][16] = "1.38";
matPrice[1][17] = "1.38";
matPrice[1][18] = "1.38";
matPrice[1][19] = "1.38";
matPrice[1][20] = "1.38";
matPrice[1][21] = "1.38";
matPrice[1][22] = "1.38";
matPrice[1][23] = "1.38";
matPrice[1][24] = "1.38";
matPrice[1][25] = "1.38";
matPrice[1][26] = "1.38";
matPrice[1][27] = "1.38";
matPrice[1][28] = "1.38";
matPrice[1][29] = "1.38";
matPrice[1][30] = "1.38";
matPrice[1][31] = "1.38";
matPrice[1][32] = "1.38";
matPrice[1][33] = "1.38";
matPrice[1][34] = "1.38";
matPrice[1][35] = "1.38";
matPrice[1][36] = "1.38";
matPrice[1][37] = "1.38";
matPrice[1][38] = "1.38";
matPrice[1][39] = "1.38";
matPrice[1][40] = "1.38";
matPrice[1][41] = "1.38";
matPrice[1][42] = "1.38";
matPrice[1][43] = "1.38";
matPrice[1][44] = "1.38";
matPrice[1][45] = "1.38";
matPrice[1][46] = "1.38";
matPrice[1][47] = "1.38";
matPrice[1][48] = "1.38";
matPrice[1][49] = "1.38";
matPrice[1][50] = "1.38";
matPrice[1][51] = "1.38";
matPrice[4][0] = "2.15";
matPrice[4][1] = "2.15";
matPrice[0][0] = "1.83";
matPrice[0][1] = "1.83";
matPrice[0][2] = "1.83";
matPrice[0][3] = "1.83";
matPrice[0][4] = "1.83";
matPrice[0][5] = "1.83";
matPrice[0][6] = "1.83";
matPrice[0][7] = "1.83";
matPrice[0][8] = "1.83";
matPrice[0][9] = "1.83";
matPrice[0][10] = "1.83";
matPrice[0][11] = "1.83";
matPrice[0][12] = "1.83";
matPrice[0][13] = "1.83";
matPrice[0][14] = "1.83";
matPrice[0][15] = "1.83";
matPrice[0][16] = "1.83";
matPrice[0][17] = "2.23";
matPrice[0][18] = "1.83";
matPrice[0][19] = "1.69";
matPrice[0][20] = "1.83";
matPrice[2][0] = "2.09";
matPrice[2][1] = "3.79";
matPrice[2][2] = "2.09";
matPrice[2][3] = "2.14";
matPrice[2][4] = "3.79";
matPrice[3][0] = "3.09";
matPrice[3][1] = "3.09";
matPrice[3][2] = "3.09";
matPrice[3][3] = "3.09";
matPrice[3][4] = "3.09";
matColorID[1][0] = "1";
matColorID[1][1] = "2";
matColorID[1][2] = "83";
matColorID[1][3] = "3";
matColorID[1][4] = "4";
matColorID[1][5] = "5";
matColorID[1][6] = "6";
matColorID[1][7] = "7";
matColorID[1][8] = "8";
matColorID[1][9] = "9";
matColorID[1][10] = "10";
matColorID[1][11] = "11";
matColorID[1][12] = "12";
matColorID[1][13] = "13";
matColorID[1][14] = "14";
matColorID[1][15] = "15";
matColorID[1][16] = "16";
matColorID[1][17] = "17";
matColorID[1][18] = "18";
matColorID[1][19] = "19";
matColorID[1][20] = "20";
matColorID[1][21] = "21";
matColorID[1][22] = "22";
matColorID[1][23] = "23";
matColorID[1][24] = "24";
matColorID[1][25] = "25";
matColorID[1][26] = "26";
matColorID[1][27] = "27";
matColorID[1][28] = "28";
matColorID[1][29] = "29";
matColorID[1][30] = "30";
matColorID[1][31] = "31";
matColorID[1][32] = "32";
matColorID[1][33] = "33";
matColorID[1][34] = "34";
matColorID[1][35] = "35";
matColorID[1][36] = "36";
matColorID[1][37] = "37";
matColorID[1][38] = "38";
matColorID[1][39] = "39";
matColorID[1][40] = "40";
matColorID[1][41] = "41";
matColorID[1][42] = "42";
matColorID[1][43] = "43";
matColorID[1][44] = "44";
matColorID[1][45] = "45";
matColorID[1][46] = "46";
matColorID[1][47] = "47";
matColorID[1][48] = "48";
matColorID[1][49] = "49";
matColorID[1][50] = "50";
matColorID[1][51] = "51";
matColorID[4][0] = "52";
matColorID[4][1] = "53";
matColorID[0][0] = "54";
matColorID[0][1] = "55";
matColorID[0][2] = "56";
matColorID[0][3] = "57";
matColorID[0][4] = "58";
matColorID[0][5] = "59";
matColorID[0][6] = "60";
matColorID[0][7] = "61";
matColorID[0][8] = "62";
matColorID[0][9] = "63";
matColorID[0][10] = "64";
matColorID[0][11] = "65";
matColorID[0][12] = "66";
matColorID[0][13] = "67";
matColorID[0][14] = "68";
matColorID[0][15] = "69";
matColorID[0][16] = "70";
matColorID[0][17] = "71";
matColorID[0][18] = "72";
matColorID[0][19] = "73";
matColorID[0][20] = "74";
matColorID[2][0] = "75";
matColorID[2][1] = "76";
matColorID[2][2] = "77";
matColorID[2][3] = "78";
matColorID[2][4] = "79";
matColorID[3][0] = "80";
matColorID[3][1] = "81";
matColorID[3][2] = "82";
matColorID[3][3] = "84";
matColorID[3][4] = "85";
outsideDimensions[0] = "5 x 7";
outsideDimensions[1] = "8 x 10";
outsideDimensions[2] = "9 x 12";
outsideDimensions[3] = "11 x 14";
outsideDimensions[4] = "12 x 16";
outsideDimensions[5] = "14 x 18";
outsideDimensions[6] = "16 x 20";
outsideDimensions[7] = "18 x 24";
outsideDimensions[8] = "20 x 24";
outsideDimensions[9] = "20 x 30";
outsideDimensions[10] = "22 x 28";
outsideDimensions[11] = "24 x 30";
outsideDimensions[12] = "30 x 40";
outsideDimensions[13] = "32 x 40";
for (i = 0; i <= 13; i++) insideDimensions[i] = new Array();
insideDimensions[0][0] = "3.5 x 5 (3 x 4.5)";
insideDimensions[0][1] = "4 x 6 (3.5 x 5.5)";
insideDimensions[0][2] = "Blank - No Opening";
insideDimensions[1][0] = "4 x 6 (3.5 x 5.5)";
insideDimensions[1][1] = "4 x 7 (3.5 x 6.5)";
insideDimensions[1][2] = "5 x 7 (4.5 x 6.5)";
insideDimensions[1][3] = "Blank - No Opening";
insideDimensions[2][0] = "6 x 9 (5.5 x 8.5)";
insideDimensions[2][1] = "Blank - No Opening";
insideDimensions[3][0] = "7 x 10 (6.5 x 9.5)";
insideDimensions[3][1] = "8 x 10 (7.5 x 9.5)";
insideDimensions[3][2] = "8 x 12 (7.5 x 11.5)";
insideDimensions[3][3] = "8.5 x 11 (8 x 10.5)";
insideDimensions[3][4] = "Blank - No Opening";
insideDimensions[4][0] = "8 x 10 (7.5 x 9.5)";
insideDimensions[4][1] = "8.5 x 11 (8 x 10.5)";
insideDimensions[4][2] = "9 x 12 (8.5 x 11.5)";
insideDimensions[4][3] = "Blank - No Opening";
insideDimensions[5][0] = "9 x 12 (8.5 x 11.5)";
insideDimensions[5][1] = "11 x 14 (10.5 x 13.5)";
insideDimensions[5][2] = "Blank - No Opening";
insideDimensions[6][0] = "8.5 x 11 (8 x 10.5)";
insideDimensions[6][1] = "10 x 15 (9.5 x 14.5)";
insideDimensions[6][2] = "11 x 14 (10.5 x 13.5)";
insideDimensions[6][3] = "12 x 16 (11.5 x 15.5)";
insideDimensions[6][4] = "Blank - No Opening";
insideDimensions[7][0] = "11 x 17 (10.5 x 16.5)";
insideDimensions[7][1] = "12 x 18 (11.5 x 17.5)";
insideDimensions[7][2] = "13 x 19 (12.5 x 18.5)";
insideDimensions[7][3] = "Blank - No Opening";
insideDimensions[8][0] = "16 x 20 (15.5 x 19.5)";
insideDimensions[8][1] = "Blank - No Opening";
insideDimensions[9][0] = "14 x 22 (13.5 x 21.5)";
insideDimensions[9][1] = "Blank - No Opening";
insideDimensions[10][0] = "14 x 22 (13.5 x 21.5)";
insideDimensions[10][1] = "16 x 20 (15.5 x 19.5)";
insideDimensions[10][2] = "18 x 24 (17.5 x 23.5)";
insideDimensions[10][3] = "Blank - No Opening";
insideDimensions[11][0] = "14 x 22 (13.5 x 21.5)";
insideDimensions[11][1] = "16 x 20 (15.5 x 19.5)";
insideDimensions[11][2] = "18 x 24 (17.5 x 23.5)";
insideDimensions[11][3] = "20 x 24 (19.5 x 23.5)";
insideDimensions[11][4] = "Blank - No Opening";
insideDimensions[12][0] = "20 x 30 (19.5 x 29.5)";
insideDimensions[12][1] = "Blank - No Opening";
insideDimensions[13][0] = "24 x 32 (23.5 x 31.5)";
insideDimensions[13][1] = "Blank - No Opening";
